From 82a0439f46b893e008ce9156ab172fb3de7f1060 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期五, 12 四月 2024 14:15:39 +0800 Subject: [PATCH] 表单修改 --- src/views/plan/customerorder/index.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index a9f5500..70957f3 100644 --- a/src/views/plan/customerorder/index.vue +++ b/src/views/plan/customerorder/index.vue @@ -11,6 +11,7 @@ :toolbarMaxLength="4" :paramArr="type" ref="customerOrderTable" + :expandRowKeys="expandRowKeys" > <template #toolbar> <el-dropdown @@ -414,6 +415,7 @@ selectTime: null, exportTime: null, }, + expandRowKeys: [], dataRule: { exportTime: [ { required: true, message: '瀵煎嚭鏃ユ湡涓嶈兘涓虹┖', trigger: 'change' }, @@ -1011,6 +1013,7 @@ created() { // this.getManufactureAttrs() this.getTitles() + if (this.permissions.plan_customerorder_add) { this.table.toolbar.push({ text: '鏂板閿�鍞鍗�', type: 'primary', @@ -1018,6 +1021,7 @@ disabled: false, permitArr: [], }) + } if (this.permissions.customerorder_from_otc) { this.table.toolbar.push({ text: '鑾峰彇閿�鍞鍗�', @@ -1064,6 +1068,7 @@ fun: this.downloadProductionScheduling, }) } + if(this.permissions.plan_relevance_order){ this.table.toolbar.push({ text: '鍏宠仈璁㈠崟', disabled: false, @@ -1071,6 +1076,7 @@ fun: this.interrelatedOrderFun, permitArr: [], }) + } if (this.permissions.customerorder_create_masterplan) { this.table.toolbar.push({ text: '涓荤敓浜ц鍒�', @@ -1276,6 +1282,7 @@ this.$refs.addSampleForm.init(row ? row.contractNo : null) }) } + this.expandRowKeys=[row.id] }, // 鏂板鏍峰搧璁㈠崟 addSampleCustomerOrder() { -- Gitblit v1.9.3