From 83be7ca0c138b64b3447cc207b63c7933690f6ec Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 25 二月 2025 09:08:58 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev

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

diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue
index 0135441..d303dc9 100644
--- a/src/views/business/materialOrder/customsInspection.vue
+++ b/src/views/business/materialOrder/customsInspection.vue
@@ -451,10 +451,6 @@
   dicts: ['check_type', 'urgency_level'],
   components: {},
   props: {
-    isReport: {
-      type: Number,
-      default: () => null
-    }
   },
   data() {
     return {
@@ -462,6 +458,7 @@
       orderType: '',
       active: 0,
       currentId: 0,
+      isReport: '',
       editTable:[], // 鍖洪棿鐗规畩鍊煎~鍐�
       template: null,
       saveLoad: false, // 淇濆瓨鎸夐挳loading
@@ -640,6 +637,7 @@
     this.active = this.$route.query.active
     this.orderType = this.$route.query.orderType
     this.currentId = this.$route.query.currentId
+    this.isReport = this.$route.query.isReport
     this.customsInspection = this.$route.query.customsInspection
     this.getUserNowList() // 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅
     this.selectStandardMethods() // 鑾峰彇妫�楠屾爣鍑嗕笅鎷夋鏁版嵁
@@ -698,7 +696,7 @@
           orderId = this.dataIndex === 0 ? this.customsInspection.enterOrderId : this.customsInspection.quarterOrderId
         } else if (!this.customsInspection.enterOrderId && !this.customsInspection.quarterOrderId) {
           this.isShowTab = false
-          orderId = this.isReport === 1 ? this.customsInspection.insOrderId : this.customsInspection.id
+          orderId = this.isReport == 1 ? this.customsInspection.insOrderId : this.customsInspection.id
         }
         // 鏌ョ湅
         // 璇锋眰鎺ュ彛锛屽洖鏄炬暟鎹�
@@ -756,7 +754,6 @@
           this.$set(this.addObj, 'buyUnitMeas', this.customsInspection.buyUnitMeas)
           this.$set(this.addObj, 'updateBatchNo', this.customsInspection.updateBatchNo)
           this.$set(this.addObj, 'partDetail', this.customsInspection.partDesc)
-          console.log('this.orderType----', this.orderType)
           if (this.orderType == 1) {
             this.$set(this.addObj, 'orderType', 'Quarterly inspection')
           }

--
Gitblit v1.9.3