From 0ae68aacef94d54d885c44b98f8a9f3b13a132e0 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Wed, 15 Nov 2023 14:22:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/order/base/orderManage/components/addWorkOrder.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/order/base/orderManage/components/addWorkOrder.vue b/src/views/order/base/orderManage/components/addWorkOrder.vue index dbf8d213..4e50fcf7 100644 --- a/src/views/order/base/orderManage/components/addWorkOrder.vue +++ b/src/views/order/base/orderManage/components/addWorkOrder.vue @@ -203,7 +203,6 @@ export default { methods: { init(data, param) { this.form.orderId = data.id - this.form.orderName = data.name this.getList() if (param === 'add') { this.isBind = false @@ -260,12 +259,12 @@ export default { orderIssue({ ..._this.form }).then(res => { if (res.code === 0) { _this.$modal.msgSuccess("操作成功") - let name = this.form.orderName + let name = this.form.name _this.$emit('addWorkOrderSubmit') // 询问是否添加预使用主原料 _this.$modal.confirm('是否添加预使用主原料信息?').then(function() { _this.$router.push({ - path: '/core/core-work-order?orderName='+encodeURI(name) + path: '/core/core-work-order?workOrderName='+encodeURI(name) }) }) }