From 15bdf0789223165ff62734000aa1afb1fc98533f Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 20 Jul 2022 16:41:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E5=93=81=E5=A4=87=E4=BB=B6=E6=89=AB?= =?UTF-8?q?=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData1.js | 3 ++- src/pages/xinrui/equipment/ScanInStore.vue | 2 +- src/pages/xinrui/equipment/ScanOutStore.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config/getData1.js b/src/config/getData1.js index c097379..c67a5e4 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -295,7 +295,8 @@ export const queryIODtl = (flag) => post('api/pda/sb/queryIODtl', { }) // 1.2备品备件扫描 -export const queryIODis = (sid, iid) => post('api/pda/sb/queryIODis', { +export const queryIODis = (flag, sid, iid) => post('api/pda/sb/queryIODis', { + io_flag: flag, sparepart_only_id: sid, iostorinvdtl_id: iid }) diff --git a/src/pages/xinrui/equipment/ScanInStore.vue b/src/pages/xinrui/equipment/ScanInStore.vue index c62d332..e338e80 100644 --- a/src/pages/xinrui/equipment/ScanInStore.vue +++ b/src/pages/xinrui/equipment/ScanInStore.vue @@ -94,7 +94,7 @@ export default { }, /** 1.2备品备件扫描 */ async _queryIODis (e) { - let res = await queryIODis(e, this.$store.getters.materObj.iostorinvdtl_id) + let res = await queryIODis('0', e, this.$store.getters.materObj.iostorinvdtl_id) if (res.code === '1') { if (!this.dataList.length) { this.dataList.push(res.content) diff --git a/src/pages/xinrui/equipment/ScanOutStore.vue b/src/pages/xinrui/equipment/ScanOutStore.vue index 068b2af..5207dab 100644 --- a/src/pages/xinrui/equipment/ScanOutStore.vue +++ b/src/pages/xinrui/equipment/ScanOutStore.vue @@ -96,7 +96,7 @@ export default { }, /** 1.2备品备件扫描 */ async _queryIODis (e) { - let res = await queryIODis(e, this.$store.getters.materObj.iostorinvdtl_id) + let res = await queryIODis('1', e, this.$store.getters.materObj.iostorinvdtl_id) if (res.code === '1') { if (!this.dataList.length) { this.dataList.push(res.content)