备品备件扫描

This commit is contained in:
2022-07-20 16:41:22 +08:00
parent a6df5b159e
commit 15bdf07892
3 changed files with 4 additions and 3 deletions

View File

@@ -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
})

View File

@@ -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)

View File

@@ -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)