소스 검색

委托单

zhuwei 1 년 전
부모
커밋
2f6a08be68

+ 1 - 1
src/api/modules/tentative/material/testSample.js

@@ -38,7 +38,7 @@ export default {
         return HcApi({
             url: '/api/blade-business/detection/self/getSamplePdfUrl',
             method: 'post',
-            data: form,
+            params: form,
         }, false)
     },
 }

+ 1 - 1
src/views/tentative/material/modules/testSample/dispose.vue

@@ -117,7 +117,7 @@ const tableColumn = ref([
     { key: 'entrustTime', name: '委托上报时间', align: 'center' },
     { key: 'carryTime', name: '入库时间', align: 'center' },
     { key: 'createTime', name: '创建试验时间', align: 'center' },
-    { key: 'no-key', name: '是否留样', align: 'center' },
+    { key: 'isSample', name: '是否留样', align: 'center' },
     { key: 'resamTime', name: '留样时间', align: 'center' },
     { key: 'repealTime', name: '废除时间', align: 'center' },
     { key: 'repealReason', name: '废除原因', align: 'center' },

+ 2 - 1
src/views/tentative/material/modules/testSample/leave.vue

@@ -133,7 +133,7 @@ const tableColumn = ref([
     { key: 'specificationModel', name: '规格型号', align: 'center' },
     { key: 'materialCount', name: '试样数量', align: 'center' },
     { key: 'expCount', name: '试验数量', align: 'center' },
-    { key: 'no-key', name: '留样数量', align: 'center' },
+    { key: 'sxCount', name: '留样数量', align: 'center' },
     { key: 'calculationUnit', name: '计算单位', align: 'center' },
     { key: 'proposedPosition', name: '拟用部位' },
     { key: 'representativeCount', name: '代表数量', align: 'center' },
@@ -251,6 +251,7 @@ const rowView = async ({ testId }) => {
         contractId: searchForm.value.contractId,
         testId: testId,
     })
+
     if (!error && code === 200 && !isNullES(data)) {
         toPdfPage(data)
     } else {