From 62691f7fd5a5a495c38f4f17befa053bf61192b1 Mon Sep 17 00:00:00 2001
From: 86134 <aa>
Date: 星期四, 09 十一月 2023 09:52:41 +0800
Subject: [PATCH] 11

---
 src/views/plan/customerorder/index.vue |   29 ++++++++++++++---------------
 1 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index dbee1f0..99c593c 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -40,8 +40,7 @@
               <el-dropdown-item
                 :command="item.command"
                 v-for="item in documentTagArr"
-                :disabled="item.disabled"
-              >
+                :disabled="item.disabled">
                 {{ item.label }}
               </el-dropdown-item>
             </el-dropdown-menu>
@@ -835,9 +834,9 @@
     ...mapGetters(['permissions'])
   },
   watch: {
-    exportDialogVisible(newVal){
-      if(!newVal){
-        this.$refs['exportForm'].resetFields()
+    exportDialogVisible(newVal) {
+      if (!newVal) {
+        this.$refs.exportForm.resetFields()
       }
     },
     coState: {
@@ -920,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({
@@ -954,7 +953,7 @@
       queryParam.push(
         Object.assign({
           prop: 'coState',
-          searchInfoType: 'select',
+          searchInfoType: 'select'
           // propVal: '01partUnCheck'
           // propVal: '02technologyUnCheck'
         })
@@ -1092,7 +1091,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