From d37c5881a5ea90cc53e021cbede1a97a546cb873 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Thu, 16 Nov 2023 16:53:35 +0800 Subject: [PATCH] 2 --- src/views/order/base/orderManage/components/addWorkOrder.vue | 2 +- src/views/order/base/orderManage/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/order/base/orderManage/components/addWorkOrder.vue b/src/views/order/base/orderManage/components/addWorkOrder.vue index b8d0f46a..4e50fcf7 100644 --- a/src/views/order/base/orderManage/components/addWorkOrder.vue +++ b/src/views/order/base/orderManage/components/addWorkOrder.vue @@ -202,7 +202,7 @@ export default { }, methods: { init(data, param) { - this.form.orderId = data + this.form.orderId = data.id this.getList() if (param === 'add') { this.isBind = false diff --git a/src/views/order/base/orderManage/index.vue b/src/views/order/base/orderManage/index.vue index a30a4344..746dbf2c 100644 --- a/src/views/order/base/orderManage/index.vue +++ b/src/views/order/base/orderManage/index.vue @@ -397,7 +397,7 @@ export default { this.workIssueTitle = '绑定工单' this.addWorkOrdervisible = true this.$nextTick(() => { - this.$refs.addWorkOrder.init(val.data.id, 'bind') + this.$refs.addWorkOrder.init(val.data, 'bind') }) break case 'complete':