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':