From 26bda7475ed2fa2f5a017993a1d3b195838ad9e4 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 12 四月 2024 17:10:05 +0800 Subject: [PATCH] 修改销售订单 --- src/views/plan/customerorder/index.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index 70957f3..631cd1c 100644 --- a/src/views/plan/customerorder/index.vue +++ b/src/views/plan/customerorder/index.vue @@ -11,7 +11,6 @@ :toolbarMaxLength="4" :paramArr="type" ref="customerOrderTable" - :expandRowKeys="expandRowKeys" > <template #toolbar> <el-dropdown @@ -415,7 +414,6 @@ selectTime: null, exportTime: null, }, - expandRowKeys: [], dataRule: { exportTime: [ { required: true, message: '瀵煎嚭鏃ユ湡涓嶈兘涓虹┖', trigger: 'change' }, @@ -1201,8 +1199,9 @@ this.getData() }, - getData() { - this.$refs.customerOrderTable.getDataList() + async getData() { + await this.$refs.customerOrderTable.getDataList() + this.$refs.customerOrderTable.toggleRowExpansion() }, // 鑾峰彇鏁版嵁鍒楄〃鍘婚櫎宸插畬鎴愮姸鎬佺殑 handleDataList(command) { @@ -1282,7 +1281,6 @@ this.$refs.addSampleForm.init(row ? row.contractNo : null) }) } - this.expandRowKeys=[row.id] }, // 鏂板鏍峰搧璁㈠崟 addSampleCustomerOrder() { -- Gitblit v1.9.3