Commit 10f78529 authored by Hagsn3's avatar Hagsn3

修改代码

parent 172367d7
......@@ -132,8 +132,7 @@ export default {
getcheckIsZero() {
const obj = {
whId: '1',
lot: 'ascsacsa'
lot: '21dsda'
}
checkIsZero(obj).then(res => {
if (res.code === 200) {
......@@ -149,7 +148,7 @@ export default {
**/
getDictData() {
// 获取仓库的数据字段
getDict('SYSTEM_CONFIG').then(res => {
getDict('WAREHOUSE').then(res => {
console.log('仓库数据字典', res)
this.warehouseList = res.data
const whId = res.data[0].dictValue
......@@ -454,6 +453,7 @@ export default {
errorSound.pause()
}
})
this.queryForm.value2 = null
// this.incomeWmsBoxList.pn = obj.pn
} else {
let isLegalLot = false
......@@ -477,10 +477,10 @@ export default {
errorSound.pause()
}
})
this.queryForm.value2 = null
}
} else {
const Zbj = {
whId: this.queryForm.whId,
lot: obj.lot
}
checkIsZero(Zbj).then(res => {
......@@ -501,6 +501,7 @@ export default {
errorSound.pause()
}
})
this.queryForm.value2 = null
}
} else {
this.enterTable.push(obj)
......@@ -520,6 +521,7 @@ export default {
}
}, () => {
})
this.queryForm.value2 = null
}
}
})
......@@ -552,10 +554,10 @@ export default {
errorSound.pause()
}
})
this.queryForm.value2 = null
}
} else {
const Zbj = {
whId: this.queryForm.whId,
lot: obj.lot
}
checkIsZero(Zbj).then(res => {
......@@ -576,6 +578,7 @@ export default {
errorSound.pause()
}
})
this.queryForm.value2 = null
}
} else {
this.enterTable.push(obj)
......@@ -595,6 +598,7 @@ export default {
}
}, () => {
})
this.queryForm.value2 = null
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment