From 26bbf3648b29c0f855b53b3ee44c3d66b11818b2 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 10 十一月 2023 17:00:30 +0800
Subject: [PATCH] s

---
 src/views/plan/customerorder/index.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index cf9d74d..03bd22c 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -919,14 +919,14 @@
     //   })
     // }
     if (this.permissions.customerorder_submit_oa) {
-      // this.table.toolbar.push({
-      //   text: '鎻愪氦瀹℃牳',
-      //   type: 'primary',
-      //   fun: this.auditCustomerOrder,
-      //   disabled: false,
-      //   permitArr: [],
-      //   loading: false
-      // })
+      this.table.toolbar.push({
+        text: '鎻愪氦瀹℃牳',
+        type: 'primary',
+        fun: this.auditCustomerOrder,
+        disabled: false,
+        permitArr: [],
+        loading: false
+      })
     }
     if (this.permissions.customerorder_set_salesparts) {
       this.table.toolbar.push({
@@ -975,6 +975,7 @@
     // 鍒涘缓涓荤敓浜ц鍒�
     masterPlanHandle() {
       console.log(this.multipleSelection);
+
       if (this.multipleSelection && this.multipleSelection.length > 0) {
         if (this.judgeCoState(this.multipleSelection)) {
           // 鍒ゆ柇涓�涓嬪墿浣欐暟閲忔槸鍚﹀ぇ浜�0
@@ -1091,7 +1092,7 @@
           let flag = true
           const ids = []
           this.multipleSelection.forEach((item) => {
-            if (item.salesPartNo != null && item.salesPartNo !== '') {
+            if (item.partNo != null && item.partNo !== '') {
               ids.push(item.id)
             } else {
               flag = false

--
Gitblit v1.9.3