From c9e862d84e0ea76fc5f954ae84b18a37b00210c6 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 24 三月 2025 09:50:01 +0800
Subject: [PATCH] 原材料下单修改

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

diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue
index 2404734..b409062 100644
--- a/src/views/business/materialOrder/customsInspection.vue
+++ b/src/views/business/materialOrder/customsInspection.vue
@@ -123,13 +123,13 @@
               </el-select>
             </el-form-item>
           </el-col>
-          <el-col :span="6">
+          <!-- <el-col :span="6">
             <el-form-item class="addObj-form-item" label="绾﹀畾鏃堕棿:" prop="appointed">
               <el-date-picker v-model="addObj.appointed" :disabled="active > 1" format="yyyy-MM-dd" placeholder="閫夋嫨鏃ユ湡"
                 size="small" style="width: 100%" type="date" value-format="yyyy-MM-dd">
               </el-date-picker>
             </el-form-item>
-          </el-col>
+          </el-col> -->
           <el-col :span="6">
             <el-form-item class="addObj-form-item" label="澶囨敞:">
               <el-input v-model="addObj.remark" :autosize="{ minRows: 2, maxRows: 2 }" :disabled="active > 1"
@@ -156,9 +156,6 @@
                 <el-option v-for="item in methods" :key="item.id" :label="item.code" :value="item.id">
                 </el-option>
               </el-select>
-            </el-form-item>
-            <el-form-item label="" style="margin-bottom: 6px;margin-top: 6px">
-              <el-button type="primary" size="small">杞﹂棿闄勪欢鏌ョ湅</el-button>
             </el-form-item>
           </el-form>
         </div>
@@ -613,11 +610,9 @@
     this.customsInspection = this.$route.query.customsInspection
     this.getInfo();
   },
-  getInfo() {
-    this.getUserNowList() // 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅
-    this.selectStandardMethods() // 鑾峰彇妫�楠屾爣鍑嗕笅鎷夋鏁版嵁
-    this.getInfo() // 鑾峰彇鏁版嵁
-  },
+  // getInfo() {
+  //   this.getInfo() // 鑾峰彇鏁版嵁
+  // },
   methods: {
     save1() {
       if (this.bsm1DiaList.length > 0) {
@@ -658,6 +653,8 @@
     },
     // 鑾峰彇鏁版嵁
     getInfo() {
+      this.getUserNowList() // 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅
+      this.selectStandardMethods() // 鑾峰彇妫�楠屾爣鍑嗕笅鎷夋鏁版嵁
       if (this.active == 2) {
         let orderId = ''
         if (!this.customsInspection.enterOrderId && this.customsInspection.quarterOrderId) {
@@ -738,8 +735,8 @@
             const str = res.data.treeName.split('-')
             this.selectTreeTem = str.join(' - ')
             this.selectTree = str.join(' - ')
-            this.addListInfo(this.codeLevel, res.data) // 鍘熸潗鏂欐牱鍝佹槸鍥哄畾鐨勶紝灏遍粯璁よ祴鍊间竴鏉℃暟鎹紝鍙媶鍒�
-            this.selectInsOrderTemplate() // 鍘熸潗鏂欐ā鏉垮垪琛ㄦ煡璇�
+            this.addListInfo(this.codeLevel, res.data) // 鍘熻緟鏂欐牱鍝佹槸鍥哄畾鐨勶紝灏遍粯璁よ祴鍊间竴鏉℃暟鎹紝鍙媶鍒�
+            this.selectInsOrderTemplate() // 鍘熻緟鏂欐ā鏉垮垪琛ㄦ煡璇�
           } else {
             this.dialogVisible = true
             this.dialogMessage = res.message
@@ -1859,4 +1856,8 @@
   background-color: #ffffff;
 
 }
+
+>>>.warning-row {
+  color: #1890FF;
+}
 </style>

--
Gitblit v1.9.3