From 30c8d72f0d75126a729e89aaeb1e194f63a75c9f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 19 二月 2025 16:57:59 +0800
Subject: [PATCH] 原材料报检联调

---
 src/views/business/materialOrder/customsInspection.vue |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue
index 6623b90..4f9902b 100644
--- a/src/views/business/materialOrder/customsInspection.vue
+++ b/src/views/business/materialOrder/customsInspection.vue
@@ -388,7 +388,7 @@
       width="32%">
       <span>{{ dialogMessage }}</span>
       <span slot="footer" class="dialog-footer">
-        <el-button type="primary" @click="this.goBack()">纭� 瀹�</el-button>
+        <el-button type="primary" @click="goBack()">纭� 瀹�</el-button>
       </span>
     </el-dialog>
     <el-dialog
@@ -431,7 +431,6 @@
 </template>
 
 <script>
-import ValueTable from "@/components/Table/value-table.vue";
 import {
   addInsOrder,
   addRawMaterOrderTemplate, delRawMaterOrderTemplate,
@@ -444,9 +443,7 @@
 export default {
   name: "CustomsInspection",
   dicts: ['check_type', 'urgency_level'],
-  components: {
-    ValueTable,
-  },
+  components: {},
   props: {
     currentId: {
       type: Number,
@@ -765,12 +762,10 @@
             this.selectTree = str.join(' - ')
             this.addListInfo(this.codeLevel, res.data) // 鍘熸潗鏂欐牱鍝佹槸鍥哄畾鐨勶紝灏遍粯璁よ祴鍊间竴鏉℃暟鎹紝鍙媶鍒�
             this.selectInsOrderTemplate() // 鍘熸潗鏂欐ā鏉垮垪琛ㄦ煡璇�
-          } else {
-            this.dialogVisible = true
-            this.dialogMessage = res.message
           }
         }).catch(err => {
-          console.log('err---', err)
+          this.dialogVisible = true
+          this.dialogMessage = err.message
         })
       }
     },

--
Gitblit v1.9.3