From 5676e658cf19f371ca059104889c33685a6416b9 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 16 十一月 2023 20:22:10 +0800
Subject: [PATCH] 	modified:   src/views/plan/customerorder/customerorder-form.vue 	modified:   src/views/plan/masterproductionschedule/index.vue

---
 src/views/plan/masterproductionschedule/index.vue   |   58 ++++++++++++++--------------
 src/views/plan/customerorder/customerorder-form.vue |   34 +++++++++++++---
 2 files changed, 56 insertions(+), 36 deletions(-)

diff --git a/src/views/plan/customerorder/customerorder-form.vue b/src/views/plan/customerorder/customerorder-form.vue
index 3beeaf4..97c47e0 100644
--- a/src/views/plan/customerorder/customerorder-form.vue
+++ b/src/views/plan/customerorder/customerorder-form.vue
@@ -71,9 +71,9 @@
           </el-row>
           <el-row>
             <el-col :span="6">
-              <el-form-item label="瀹㈡埛璁㈠崟鐘舵��" prop="returnStatus">
+              <el-form-item label="瀹㈡埛璁㈠崟鐘舵��" prop="coState">
                 <el-input
-                v-model="dataForm.returnStatus"
+                v-model="dataForm.coState"
                   placeholder=""
                   filterable
                   style="width: 100%"
@@ -909,6 +909,13 @@
                 )
               }
             }
+            let val=""
+            this.coStates.forEach(item=>{
+              if(item.value==this.dataForm.coState){
+                val=item.label
+              }
+            })
+            this.dataForm.coState=val
           })
         } else {
           this.title = '鏂板'
@@ -916,6 +923,7 @@
         }
       })
     },
+    
     getFileList() {
       this.fileList = []
       const queryParam = { orderNumber: this.dataForm.contractNo }
@@ -1095,10 +1103,23 @@
       this.getConfigFiles()
     },
     delProcessConfigFile(row) {
-      if (row.lineNumber !== this.dataForm.otcLineNo) {
-        this.$message.error('涓婁紶鏂囦欢琛屽彿涓庡綋鍓嶉攢鍞鍗曡鍙蜂笉涓�鑷达紝涓嶅厑璁稿垹闄�')
-      } else {
-        this.$confirm('鏄惁鍒犻櫎宸ヨ壓閰嶇疆鏂囦欢', '鎻愮ず', {
+      // if (row.lineNumber !== this.dataForm.otcLineNo) {
+      //   this.$message.error('涓婁紶鏂囦欢琛屽彿涓庡綋鍓嶉攢鍞鍗曡鍙蜂笉涓�鑷达紝涓嶅厑璁稿垹闄�')
+      // } else {
+      //   this.$confirm('鏄惁鍒犻櫎宸ヨ壓閰嶇疆鏂囦欢', '鎻愮ず', {
+      //     confirmButtonText: '纭畾',
+      //     cancelButtonText: '鍙栨秷',
+      //     type: 'warning',
+      //     closeOnClickModal: false
+      //   })
+      //     .then(function() {
+      //       return deleteProcessConfigFile(row.id)
+      //     })
+      //     .then((data) => {
+      //       this.getConfigFiles()
+      //     })
+      // }
+      this.$confirm('鏄惁鍒犻櫎宸ヨ壓閰嶇疆鏂囦欢', '鎻愮ず', {
           confirmButtonText: '纭畾',
           cancelButtonText: '鍙栨秷',
           type: 'warning',
@@ -1110,7 +1131,6 @@
           .then((data) => {
             this.getConfigFiles()
           })
-      }
     },
     downloadProcessConfigFile(row) {
       downloadProcessConfigFile(
diff --git a/src/views/plan/masterproductionschedule/index.vue b/src/views/plan/masterproductionschedule/index.vue
index e46dfa5..ba3e9f6 100644
--- a/src/views/plan/masterproductionschedule/index.vue
+++ b/src/views/plan/masterproductionschedule/index.vue
@@ -62,12 +62,12 @@
             type="primary"
             style="margin-left:10px;"
             >SCM鐘舵�佸彉鏇�
-          </el-button>
+          </el-button> -->
           <el-button
             type="primary"
             style="margin-left:10px;"
             >鏂板閲囪喘璁″垝
-          </el-button> -->
+          </el-button>
         </template>
       </ttable>
 
@@ -486,33 +486,33 @@
             isSearch: true,
             searchInfoType: 'text'
           },
-          {
-            minWidth: '140',
-            prop: 'outerColor',
-            label: '澶栨姢棰滆壊',
-            sort: true,
-            isTrue: true,
-            isSearch: true,
-            searchInfoType: 'text'
-          },
-          {
-            minWidth: '140',
-            prop: 'lengthRequirement',
-            label: '鐩橀暱瑕佹眰',
-            sort: true,
-            isTrue: true,
-            isSearch: true,
-            searchInfoType: 'text'
-          },
-          {
-            minWidth: '140',
-            prop: 'printRequirement',
-            label: '鍗板瓧瑕佹眰',
-            sort: true,
-            isTrue: true,
-            isSearch: true,
-            searchInfoType: 'text'
-          },
+          // {
+          //   minWidth: '140',
+          //   prop: 'outerColor',
+          //   label: '澶栨姢棰滆壊',
+          //   sort: true,
+          //   isTrue: true,
+          //   isSearch: true,
+          //   searchInfoType: 'text'
+          // },
+          // {
+          //   minWidth: '140',
+          //   prop: 'lengthRequirement',
+          //   label: '鐩橀暱瑕佹眰',
+          //   sort: true,
+          //   isTrue: true,
+          //   isSearch: true,
+          //   searchInfoType: 'text'
+          // },
+          // {
+          //   minWidth: '140',
+          //   prop: 'printRequirement',
+          //   label: '鍗板瓧瑕佹眰',
+          //   sort: true,
+          //   isTrue: true,
+          //   isSearch: true,
+          //   searchInfoType: 'text'
+          // },
           {
             minWidth: '140',
             prop: 'orderRemark',

--
Gitblit v1.9.3