| 
														
															@@ -148,16 +148,13 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <template #bodyCell="{ column, record, index, text }"> </template> 
														 | 
														
														 | 
														
															       <template #bodyCell="{ column, record, index, text }"> </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <template #signing="props"> 
														 | 
														
														 | 
														
															       <template #signing="props"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <a-upload name="file" :showUploadList="false" :action="uploadUrl" :headers="headers" @change="(value) => handleChange(value, props)"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <a>上传(upload)</a> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        </a-upload> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <a>/</a> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <a :href="baseUploadUrl + '/sys/common/static/' + props.record.signing">查看</a> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <a @click="viewFile(props)" >查看</a> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </template> 
														 | 
														
														 | 
														
															       </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </BasicTable> 
														 | 
														
														 | 
														
															     </BasicTable> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <!-- 表单区域 --> 
														 | 
														
														 | 
														
															     <!-- 表单区域 --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <salesOutFormModal @register="registerModal" @success="handleSuccess" /> 
														 | 
														
														 | 
														
															     <salesOutFormModal @register="registerModal" @success="handleSuccess" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <SetIsExport ref="setIsExportRef" @success="handleSuccess" /> 
														 | 
														
														 | 
														
															     <SetIsExport ref="setIsExportRef" @success="handleSuccess" /> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <ViewFileListModal ref="ViewFileListModalRef" @success="handleSuccess"></ViewFileListModal> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </div> 
														 | 
														
														 | 
														
															   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -168,6 +165,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import { useModal } from '/@/components/Modal'; 
														 | 
														
														 | 
														
															   import { useModal } from '/@/components/Modal'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import salesOutFormModal from './components/salesOutFormModal.vue'; 
														 | 
														
														 | 
														
															   import salesOutFormModal from './components/salesOutFormModal.vue'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import SetIsExport from './components/SetIsExport.vue'; 
														 | 
														
														 | 
														
															   import SetIsExport from './components/SetIsExport.vue'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  import ViewFileListModal from './components/ViewFileListModal.vue'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import { columns } from './salesOutboundForm.data'; 
														 | 
														
														 | 
														
															   import { columns } from './salesOutboundForm.data'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import { 
														 | 
														
														 | 
														
															   import { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     list, 
														 | 
														
														 | 
														
															     list, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -192,6 +190,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const baseUploadUrl = globSetting.uploadUrl; 
														 | 
														
														 | 
														
															   const baseUploadUrl = globSetting.uploadUrl; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const uploadUrl = `${baseUploadUrl}/sys/common/upload`; 
														 | 
														
														 | 
														
															   const uploadUrl = `${baseUploadUrl}/sys/common/upload`; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const headers = getHeaders(); 
														 | 
														
														 | 
														
															   const headers = getHeaders(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  var ViewFileListModalRef =ref<any>() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   var showField = ref('currency+name'); 
														 | 
														
														 | 
														
															   var showField = ref('currency+name'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const formRef = ref(); 
														 | 
														
														 | 
														
															   const formRef = ref(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const queryParam = reactive<any>({}); 
														 | 
														
														 | 
														
															   const queryParam = reactive<any>({}); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -351,26 +350,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       setIsExportRef.value.getTable(ids); 
														 | 
														
														 | 
														
															       setIsExportRef.value.getTable(ids); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  function handleChange(info, props) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    if (info.file.status !== 'uploading') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      // console.log(info.file, info.fileList); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    if (info.file.status === 'done') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      if (info.file.response.success) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        editSinging(info.file.response.message, props.record); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } else { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        message.error(`${info.file.name} ${info.file.response.message}.`); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } else if (info.file.status === 'error') { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      message.error(`文件上传失败: ${info.file.msg} `); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  function editSinging(fileName, record) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    var params = { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      id: record.id, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      signing: fileName, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    editSignSing(params, handleSuccess); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  function viewFile(prop){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    ViewFileListModalRef.value.getTable(prop.record); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   /* ----------------------以下为原生查询需要添加的-------------------------- */ 
														 | 
														
														 | 
														
															   /* ----------------------以下为原生查询需要添加的-------------------------- */ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   const toggleSearchStatus = ref<boolean>(false); 
														 | 
														
														 | 
														
															   const toggleSearchStatus = ref<boolean>(false); 
														 |