From 67d69833bafc7f6065e4e62537b3686739c37fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=83=E6=B0=94=E6=BB=A1=E6=BB=A1=28jgy=29?= Date: Wed, 11 Sep 2024 11:33:21 +0800 Subject: [PATCH] =?UTF-8?q?2024-09-11=20=E8=AE=BE=E5=A4=87-=E4=BF=9D?= =?UTF-8?q?=E5=85=BB=E5=B7=A5=E5=8D=95=E4=B8=8A=E6=96=B9=E5=A1=AB=E5=86=99?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/upkeepOrder/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue index ab04060..69765f2 100644 --- a/src/views/device/upkeepOrder/index.vue +++ b/src/views/device/upkeepOrder/index.vue @@ -403,6 +403,7 @@ type="primary" plain icon="el-icon-edit" + :disabled="single" size="mini" @click="handleUpdate" v-hasPermi="['device:upkeepOrder:edit']" @@ -1581,6 +1582,7 @@ export default { loading: true, // 选中数组 ids: [], + selsectOrderCode: [], // 多个保养单号 orderCodes: [], // 非单个禁用 @@ -2173,6 +2175,7 @@ export default { // 多选框选中数据 handleSelectionChange(selection) { this.ids = selection.map((item) => item.orderId); + this.selsectOrderCode = selection.map((item) => item.orderCode); this.orderCodes = selection.map((item) => item.orderCode); console.log('this.ids',this.ids); console.log('this.orderCodes',this.orderCodes); @@ -2190,7 +2193,7 @@ export default { this.loading = true; this.reset(); this.recordList = []; - const orderCode = row.orderCode || this.ids; + const orderCode = row.orderCode || this.selsectOrderCode; getDeviceOrder(orderCode).then((response) => { this.form = response.data; if (response.data.timeArray[0] == null) {