浏览代码

样品交接单

lxf 2 年之前
父节点
当前提交
218392be47
共有 1 个文件被更改,包括 4 次插入4 次删除
  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) => {