备品备件扫描
This commit is contained in:
@@ -295,7 +295,8 @@ export const queryIODtl = (flag) => post('api/pda/sb/queryIODtl', {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 1.2备品备件扫描
|
// 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,
|
sparepart_only_id: sid,
|
||||||
iostorinvdtl_id: iid
|
iostorinvdtl_id: iid
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 1.2备品备件扫描 */
|
/** 1.2备品备件扫描 */
|
||||||
async _queryIODis (e) {
|
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 (res.code === '1') {
|
||||||
if (!this.dataList.length) {
|
if (!this.dataList.length) {
|
||||||
this.dataList.push(res.content)
|
this.dataList.push(res.content)
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 1.2备品备件扫描 */
|
/** 1.2备品备件扫描 */
|
||||||
async _queryIODis (e) {
|
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 (res.code === '1') {
|
||||||
if (!this.dataList.length) {
|
if (!this.dataList.length) {
|
||||||
this.dataList.push(res.content)
|
this.dataList.push(res.content)
|
||||||
|
|||||||
Reference in New Issue
Block a user