From 802ab3671ff296540e5a12fdbbc252a85e6033e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Wed, 11 Sep 2024 16:45:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lms/nladmin-ui/src/views/wms/produceScreen/index.vue | 5 ++++- lms/nladmin-ui/src/views/wms/produceScreen/mork.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lms/nladmin-ui/src/views/wms/produceScreen/index.vue b/lms/nladmin-ui/src/views/wms/produceScreen/index.vue index 8fb3ab0..794fd83 100644 --- a/lms/nladmin-ui/src/views/wms/produceScreen/index.vue +++ b/lms/nladmin-ui/src/views/wms/produceScreen/index.vue @@ -193,7 +193,7 @@ label="数量" > @@ -286,6 +286,9 @@ export default { } else if (type === 'BACK') { crudProduceScreen.fabOrders({ device_code: this.popData.device_code }).then(res => { this.popList = [...res] + this.popList.map(el => { + this.$set(el, 'material_qty', 0) + }) this.show = true }) } diff --git a/lms/nladmin-ui/src/views/wms/produceScreen/mork.js b/lms/nladmin-ui/src/views/wms/produceScreen/mork.js index f6a13d5..e47304b 100644 --- a/lms/nladmin-ui/src/views/wms/produceScreen/mork.js +++ b/lms/nladmin-ui/src/views/wms/produceScreen/mork.js @@ -70,7 +70,7 @@ export function callEmp(data) { // 8.查询订单号 export function fabOrders() { const res = [ - { order_code: '111-02', material_qty: '' } + { order_code: '111-02' } ] return new Promise((resolve, reject) => { resolve(res)