From 4d051089b33582019716598e7d700f20cdca16d2 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 12 十月 2023 11:13:55 +0800 Subject: [PATCH] modified: src/views/plan/customerorder/index.vue modified: src/views/plan/customerorder/sample-customerorder-form.vue --- src/views/plan/customerorder/index.vue | 41 +++++++++++++++++++++-------------------- 1 files changed, 21 insertions(+), 20 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index c061cf7..24f2a0b 100644 --- a/src/views/plan/customerorder/index.vue +++ b/src/views/plan/customerorder/index.vue @@ -12,7 +12,7 @@ ref="customerOrderTable" > <template #toolbar> - <el-dropdown + <!-- <el-dropdown v-if="permissions.customerorder_state_change" @command="handleCommand" > @@ -27,7 +27,7 @@ {{ item.label }} </el-dropdown-item> </el-dropdown-menu> - </el-dropdown> + </el-dropdown> --> <el-dropdown v-if="permissions.customerorder_doc_relate" @command="documentHandle" @@ -71,12 +71,12 @@ @click="pushOtc" >鎺ㄩ�丒RP</el-button > --> - <el-button + <!-- <el-button style="margin-left:10px;" type="primary" @click="importOutPutBatch" >瀵煎叆浜у嚭鎵规</el-button - > + > --> <el-button style="margin-left:10px;" type="primary" @@ -1238,14 +1238,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({ @@ -1293,18 +1293,19 @@ }, // 鍒涘缓涓荤敓浜ц鍒� masterPlanHandle() { + console.log(this.multipleSelection); if (this.multipleSelection && this.multipleSelection.length > 0) { if (this.judgeCoState(this.multipleSelection)) { // 鍒ゆ柇涓�涓嬪墿浣欐暟閲忔槸鍚﹀ぇ浜�0 for (let i = 0, len = this.multipleSelection.length; i < len; i++) { - if ( - this.multipleSelection[i].buyQtyDue - - this.multipleSelection[i].requireNumber <= - 0 - ) { - this.$message.error('璇烽�夊簱瀛樻暟閲忓ぇ浜庡凡涓嬪彂鏁伴噺鐨勯攢鍞鍗�') - return - } + // if ( + // this.multipleSelection[i].buyQtyDue - + // this.multipleSelection[i].requireNumber <= + // 0 + // ) { + // this.$message.error('璇烽�夊簱瀛樻暟閲忓ぇ浜庡凡涓嬪彂鏁伴噺鐨勯攢鍞鍗�') + // return + // } if ( !( this.multipleSelection[i].isAudit != null && -- Gitblit v1.9.3