From 7b10179a35a079a098126a1cb3aea2e8d010704d Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 17 十一月 2023 16:37:37 +0800
Subject: [PATCH] 	modified:   src/const/crud/customerOrder/customerOrderForm.js 	modified:   src/views/common/document.vue 	modified:   src/views/common/ztt-table.vue 	modified:   src/views/plan/customerorder/sample-customerorder-form.vue 	modified:   src/views/plan/manfacturingorderstatement/index.vue 	modified:   src/views/plan/manufacturingorder/index.vue 	modified:   src/views/plan/masterproductionschedule/auto-manufacturingorder.vue 	modified:   src/views/plan/masterproductionschedule/index.vue 	modified:   src/views/plan/operationtask/index.vue 	modified:   src/views/plan/outsourcingorder/index.vue 	modified:   src/views/plan/outsourcingorder/outsourcingorder-form.vue 	modified:   src/views/warehouse/stock/index.vue

---
 src/views/plan/customerorder/customerorder-form.vue |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/src/views/plan/customerorder/customerorder-form.vue b/src/views/plan/customerorder/customerorder-form.vue
index f916048..3beeaf4 100644
--- a/src/views/plan/customerorder/customerorder-form.vue
+++ b/src/views/plan/customerorder/customerorder-form.vue
@@ -32,7 +32,7 @@
             <el-col :span="6">
               <el-form-item label="鍚屾鏁版嵁鏉ユ簮" prop="sourceId">
                 <el-input
-                  v-model="dataForm.sourceId == 0 ? '鍚屾' : '鎵嬪姩'"
+                  :value="dataForm.sourceId == 0 ? '澶栭儴' : '鍐呴儴'"
                   placeholder=""
                   disabled
                 ></el-input>
@@ -156,12 +156,12 @@
                   placeholder=""
                   disabled
                 >
-                  <el-button
+                  <!-- <el-button
                     slot="append"
                     icon="el-icon-search"
                     @click="openSalesPartDialog()"
                     v-show="dataForm.id"
-                  ></el-button>
+                  ></el-button> -->
                 </el-input>
               </el-form-item>
             </el-col>
@@ -972,25 +972,21 @@
       this.$refs.dataForm.validate((valid) => {
         if (valid) {
           if (this.dataForm.id) {
-            updateCustomerOrderById(this.dataForm)
-              .then((data) => {
+            updateCustomerOrderById(this.dataForm).then((data) => {
                 this.$message.success('淇敼鎴愬姛')
                 this.visible = false
                 this.buttonDisable = false
                 this.$emit('refreshDataList', 1)
-              })
-              .catch((error) => {
+              }).catch((error) => {
                 this.buttonDisable = false
               })
           } else {
-            addCustomerOrder(this.dataForm)
-              .then((data) => {
+            addCustomerOrder(this.dataForm).then((data) => {
                 this.$message.success('娣诲姞鎴愬姛')
                 this.visible = false
                 this.buttonDisable = false
                 this.$emit('refreshDataList', 1)
-              })
-              .catch((error) => {
+              }).catch((error) => {
                 this.buttonDisable = false
               })
           }

--
Gitblit v1.9.3