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 () {