| 
					
				 | 
			
			
				@@ -4676,7 +4676,7 @@ $(document).ready(function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 上传附件 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $('#upload-file-btn').click(function () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // if (curAuditor && curAuditor.aid !== cur_uid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // if (curAuditor && curAuditor.aid !== userID) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //     return toastr.error('当前操作没有权限!'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const node = SpreadJsObj.getSelectObject(ledgerSpread.getActiveSheet()); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -4737,7 +4737,7 @@ $(document).ready(function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           $('#show-att tr').eq(2).children('td').eq(1).text(att.in_time); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           $('#show-att tr').eq(3).children('td').text(att.remark); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // 附件uid等于当前用户id, 附件上传本人 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          if (parseInt(cur_uid) === att.uid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (parseInt(userID) === att.uid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               $('#btn-att').show(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               const showDel = tender.ledger_status === auditConst.status.checked ? Boolean(att.extra_upload) : true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               if (showDel) $('#btn-att a').eq(3).show(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5059,7 +5059,7 @@ function getNodeList(node) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   for(const att of attData) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (node === att.lid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           // html += '<tr><td><a href="javascript:void(0)" file-id="'+ att.id +'">'+ att.filename + att.fileext +'</a></td><td>'+ att.username +'</td></tr>'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          const delHtml = deleteFilePermission && parseInt(cur_uid) === att.uid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          const delHtml = deleteFilePermission && parseInt(userID) === att.uid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               ? `<a class="ml-1 text-danger" href="javascript:void(0)" name="att-delete" file-id="${att.id}"><i class="fa fa-close" title="删除"></i></a>` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               : ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           html += `<tr> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -5097,7 +5097,7 @@ function getAllList(currPageNum = 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   currPageFileData = currPageAttData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   let html = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   for(const att of currPageAttData) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      const delHtml = deleteFilePermission && parseInt(cur_uid) === att.uid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const delHtml = deleteFilePermission && parseInt(userID) === att.uid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ? `<a class="ml-1 text-danger" href="javascript:void(0)" name="att-delete" file-id="${att.id}"><i class="fa fa-close" title="删除"></i></a>` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           : ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       html += `<tr> 
			 |