Browse Source

样品交接单

lxf 2 years ago
parent
commit
218392be47
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/EHSD/procurement/handoverSlipSampleEHSD/index.vue

+ 4 - 4
src/views/EHSD/procurement/handoverSlipSampleEHSD/index.vue

@@ -239,11 +239,11 @@ const checkTheTransferSlip = (item) => {
   rowData.value.fileList = [];
   rowData.value.packageFileList = [];
   openAllFile.value = true;
-  proxy.post("/fileInfo/getList", { businessIdList: [item.contractId], fileType: 1 }).then((fileObj) => {
-    rowData.value.fileList = fileObj[item.contractId] || [];
+  proxy.post("/fileInfo/getList", { businessIdList: [item.sampleId], fileType: 1 }).then((fileObj) => {
+    rowData.value.fileList = fileObj[item.sampleId] || [];
   });
-  proxy.post("/fileInfo/getList", { businessIdList: [item.contractId], fileType: 2 }).then((fileObj) => {
-    rowData.value.packageFileList = fileObj[item.contractId] || [];
+  proxy.post("/fileInfo/getList", { businessIdList: [item.sampleId], fileType: 2 }).then((fileObj) => {
+    rowData.value.packageFileList = fileObj[item.sampleId] || [];
   });
 };
 const openFile = (path) => {