From a6a7b0bbf6f67fb1a2a1619296202c9e29915325 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期三, 15 十一月 2023 10:24:23 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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