From 45c4cefa786f8038d6bebdc2b7c35048542d0802 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 17 十一月 2023 13:31:42 +0800
Subject: [PATCH] 车间订单->客户订单修改

---
 src/views/plan/customerorder/index.vue |   24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index df9636f..3627cd5 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -67,20 +67,20 @@
               >
             </el-dropdown-menu>
           </el-dropdown>
-          <el-button
+          <!-- <el-button
             v-if="permissions.customerorder_ifs_line"
             style="margin-left:10px;"
             type="primary"
             @click="pullIfsLineNo"
             >鑾峰彇OTC琛屽彿</el-button
-          >
-          <el-button
+          > -->
+          <!-- <el-button
             v-if="permissions.customerorder_push_otc"
             style="margin-left:10px;"
             type="primary"
             @click="pushOtc"
             >鎺ㄩ�丱TC</el-button
-          >
+          > -->
           <!-- <el-button
             style="margin-left:10px;"
             type="primary"
@@ -93,13 +93,13 @@
             @click="exportStandBook"
             >瀵煎嚭鍙拌处</el-button
           > -->
-          <el-button
+          <!-- <el-button
             v-if="permissions.plan_customerorder_return"
             style="margin-left:10px;"
             type="primary"
             @click="returnOrder"
             >璁㈠崟閫�鍥�</el-button
-          >
+          > -->
         </template>
       </ttable>
 
@@ -345,11 +345,9 @@
       sourceIdList: [{
         label: '澶栭儴',
         value: '0',
-        type: 'success',
       },{
         label: '鍐呴儴',
         value: '1',
-        type: ''
       }],
       stateTagArr: [
         {
@@ -447,7 +445,7 @@
           {
             minWidth: '100',
             width: '100px',
-            prop: 'contractNo',
+            prop: 'customerOrderNo',
             label: '鍚堝悓缂栧彿',
             sort: true,
             isTrue: true,
@@ -817,7 +815,7 @@
         }
       },
       immediate: true
-    }
+    },
   },
   mounted() {
     this.initQueryParams()
@@ -886,7 +884,6 @@
           prop: 'coState',
           searchInfoType: 'select',
           // propVal: '01partUnCheck'
-          propVal: ''
         })
       )
       this.$refs.customerOrderTable.setQueryParam(queryParam)
@@ -930,6 +927,7 @@
             }
           }
           this.scheduleVisible = true
+          console.log(this.multipleSelection);
           this.$nextTick(() => {
             this.$refs.schedule.init(this.multipleSelection)
           })
@@ -1115,13 +1113,13 @@
     },
     // 浣滃簾
     cancelHandle(row) {
-      this.$confirm('鏄惁纭浣滃簾閿�鍞鍗曞彿涓�' + row.customerOrderNo + '鎻愮ず', {
+      this.$confirm('鏄惁纭浣滃簾閿�鍞鍗曞彿涓�' + row.id + '鎻愮ず', {
         confirmButtonText: '纭畾',
         cancelButtonText: '鍙栨秷',
         closeOnClickModal: false,
         type: 'warning'
       }).then(() => {
-        dropByContractNo(row.customerOrderNo).then((res) => {
+        dropByContractNo({id:row.id}).then((res) => {
           if (res.data.code === 0) {
             this.$message.success('浣滃簾鎴愬姛')
             this.getData()

--
Gitblit v1.9.3