From 5d53bf5f9241454dd28900e9b7e53e781025f7f1 Mon Sep 17 00:00:00 2001 From: 86134 <aa> Date: 星期三, 15 十一月 2023 10:18:04 +0800 Subject: [PATCH] 11 --- src/views/plan/customerorder/index.vue | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index dbee1f0..03bd22c 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' }) @@ -976,6 +975,7 @@ // 鍒涘缓涓荤敓浜ц鍒� masterPlanHandle() { console.log(this.multipleSelection); + if (this.multipleSelection && this.multipleSelection.length > 0) { if (this.judgeCoState(this.multipleSelection)) { // 鍒ゆ柇涓�涓嬪墿浣欐暟閲忔槸鍚﹀ぇ浜�0 @@ -1092,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