From d541cc1adf43277932f9367356c0fdba99e8b34a Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 12 十月 2023 15:22:35 +0800 Subject: [PATCH] modified: src/views/admin/productType/index.vue modified: src/views/plan/customerorder/sample-customerorder-form.vue modified: src/views/plan/manufacturingorder/index.vue --- src/views/plan/customerorder/index.vue | 103 ++++++++++++++++++++++++++------------------------- 1 files changed, 52 insertions(+), 51 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index e0d3b29..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" @@ -64,19 +64,19 @@ > </el-dropdown-menu> </el-dropdown> - <el-button + <!-- <el-button v-if="permissions.customerorder_push_otc" style="margin-left:10px;" type="primary" @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" @@ -1011,24 +1011,24 @@ ], toolbar: [], operator: [ - { - text: '璁㈠崟璇存槑', - type: 'text', - size: 'small', - fun: this.openCustomerOrder - }, - { - text: '鏌ョ湅搴撳瓨', - type: 'text', - size: 'small', - fun: this.stockHandle - }, - { - text: '绠辩爜淇℃伅瀵煎嚭', - type: 'text', - size: 'small', - fun: this.packageExportHandle - }, + // { + // text: '璁㈠崟璇存槑', + // type: 'text', + // size: 'small', + // fun: this.openCustomerOrder + // }, + // { + // text: '鏌ョ湅搴撳瓨', + // type: 'text', + // size: 'small', + // fun: this.stockHandle + // }, + // { + // text: '绠辩爜淇℃伅瀵煎嚭', + // type: 'text', + // size: 'small', + // fun: this.packageExportHandle + // }, { text: '浣滃簾', type: 'text', @@ -1227,25 +1227,25 @@ permitArr: [] }) } - if (this.permissions.customerorder_ifs_line) { - this.table.toolbar.push({ - text: '鑾峰彇ERP琛屽彿', - type: 'primary', - fun: this.pullIfsLineNo, - disabled: false, - permitArr: [], - loading: false - }) - } + // if (this.permissions.customerorder_ifs_line) { + // this.table.toolbar.push({ + // text: '鑾峰彇ERP琛屽彿', + // type: 'primary', + // fun: this.pullIfsLineNo, + // disabled: false, + // permitArr: [], + // loading: false + // }) + // } 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({ @@ -1274,7 +1274,7 @@ prop: 'coState', searchInfoType: 'select', // propVal: '01partUnCheck' - propVal: '02technologyUnCheck' + // propVal: '02technologyUnCheck' }) ) this.$refs.customerOrderTable.setQueryParam(queryParam) @@ -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