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 | 31 +++++++++++++++---------------- 1 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index cc8afa1..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> @@ -190,7 +189,7 @@ <span slot="footer" class="dialog-footer"> </span> </el-dialog> <!-- 瀵煎嚭 --> - <el-dialog title="瀵煎嚭" :visible.sync="exportDialogVisible" width="30%"> + <el-dialog title="瀵煎嚭鍙拌处" :visible.sync="exportDialogVisible" width="20%"> <div style="display: flex;justify-content: center"> <el-form :model="dataForm" :inline="true" :rules="dataRule" ref="exportForm" class="l-mes"> <el-form-item label="鏃ユ湡" prop="exportTime"> @@ -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