From 4adde25d8a2558f15699c66982fa38ce475ea2ba Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 28 Apr 2023 11:02:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E7=AE=A1=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ProductManage/EmptyPipeInStore.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/ProductManage/EmptyPipeInStore.vue b/pages/ProductManage/EmptyPipeInStore.vue index 1083e76..99645c3 100644 --- a/pages/ProductManage/EmptyPipeInStore.vue +++ b/pages/ProductManage/EmptyPipeInStore.vue @@ -133,8 +133,9 @@ return } let res = await taskQuerydevice([{device_code: this.index2}]) - this.qty = res.qty - this._queryPaperMaterial(res.material_code) + let data = res.data[0] + this.qty = data.qty + this._queryPaperMaterial(data.material_code) }, /** 确认 */ async _emptyConfirm () {