From d1faa4f23135dabad9e2948842ba415eddfcc08b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 08 四月 2025 14:00:37 +0800
Subject: [PATCH] 修改检验对象

---
 src/views/business/materialOrder/customsInspection.vue                         |    5 +++--
 src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue
index d0506ed..99b267a 100644
--- a/src/views/business/materialOrder/customsInspection.vue
+++ b/src/views/business/materialOrder/customsInspection.vue
@@ -170,7 +170,7 @@
             <el-form-item label="闄勪欢鏌ョ湅:" style="margin-bottom: 6px;margin-top: 6px">
               <el-button type="text" @click="handleFileDialog">
                 <i class="el-icon-document"></i>
-                闄勪欢鏌ョ湅
+                杞﹂棿闄勪欢鏌ョ湅
               </el-button>
               <el-dialog :visible.sync="fileDialogVisible" title="闄勪欢鏌ョ湅" width="80%">
                 <fileList :currentNo="addObj.workShopId" v-if="fileDialogVisible" />
@@ -757,6 +757,8 @@
             this.$set(this.addObj, 'partDetail', this.customsInspection.partDesc)
             this.$set(this.addObj, 'workShopName', res.data.workShopName)
             this.$set(this.addObj, 'workShopId', res.data.workShopId)
+            this.$set(this.addObj, 'inspectionType', this.customsInspection.inspectionType)
+            console.log(111111, this.addObj)
             if (this.orderType == 1) {
               this.$set(this.addObj, 'orderType', 'Quarterly inspection')
             }
@@ -1470,7 +1472,6 @@
       this.sample.insulating = null
       this.sample.sheath = null
       this.sample.quantity = 1
-      console.log(2222, codeLevel, data)
       if (codeLevel === '[5]') {
         this.sample.model = this.addObj.sample
       } else if (codeLevel === '[4]') {
diff --git a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
index d5b0e31..e989c0c 100644
--- a/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
+++ b/src/views/structural/capabilityAndLaboratory/capabilityComponents/EditForm.vue
@@ -399,6 +399,7 @@
         val.children.forEach(a => {
           a.label = a.name
           a.value = a.id
+          a.labelName = a.name
           this.cascaderFieldData(a)
         })
       }

--
Gitblit v1.9.3