Commit 10f78529 authored by Hagsn3's avatar Hagsn3

修改代码

parent 172367d7
...@@ -132,8 +132,7 @@ export default { ...@@ -132,8 +132,7 @@ export default {
getcheckIsZero() { getcheckIsZero() {
const obj = { const obj = {
whId: '1', lot: '21dsda'
lot: 'ascsacsa'
} }
checkIsZero(obj).then(res => { checkIsZero(obj).then(res => {
if (res.code === 200) { if (res.code === 200) {
...@@ -149,7 +148,7 @@ export default { ...@@ -149,7 +148,7 @@ export default {
**/ **/
getDictData() { getDictData() {
// 获取仓库的数据字段 // 获取仓库的数据字段
getDict('SYSTEM_CONFIG').then(res => { getDict('WAREHOUSE').then(res => {
console.log('仓库数据字典', res) console.log('仓库数据字典', res)
this.warehouseList = res.data this.warehouseList = res.data
const whId = res.data[0].dictValue const whId = res.data[0].dictValue
...@@ -454,6 +453,7 @@ export default { ...@@ -454,6 +453,7 @@ export default {
errorSound.pause() errorSound.pause()
} }
}) })
this.queryForm.value2 = null
// this.incomeWmsBoxList.pn = obj.pn // this.incomeWmsBoxList.pn = obj.pn
} else { } else {
let isLegalLot = false let isLegalLot = false
...@@ -477,10 +477,10 @@ export default { ...@@ -477,10 +477,10 @@ export default {
errorSound.pause() errorSound.pause()
} }
}) })
this.queryForm.value2 = null
} }
} else { } else {
const Zbj = { const Zbj = {
whId: this.queryForm.whId,
lot: obj.lot lot: obj.lot
} }
checkIsZero(Zbj).then(res => { checkIsZero(Zbj).then(res => {
...@@ -501,6 +501,7 @@ export default { ...@@ -501,6 +501,7 @@ export default {
errorSound.pause() errorSound.pause()
} }
}) })
this.queryForm.value2 = null
} }
} else { } else {
this.enterTable.push(obj) this.enterTable.push(obj)
...@@ -520,6 +521,7 @@ export default { ...@@ -520,6 +521,7 @@ export default {
} }
}, () => { }, () => {
}) })
this.queryForm.value2 = null
} }
} }
}) })
...@@ -552,10 +554,10 @@ export default { ...@@ -552,10 +554,10 @@ export default {
errorSound.pause() errorSound.pause()
} }
}) })
this.queryForm.value2 = null
} }
} else { } else {
const Zbj = { const Zbj = {
whId: this.queryForm.whId,
lot: obj.lot lot: obj.lot
} }
checkIsZero(Zbj).then(res => { checkIsZero(Zbj).then(res => {
...@@ -576,6 +578,7 @@ export default { ...@@ -576,6 +578,7 @@ export default {
errorSound.pause() errorSound.pause()
} }
}) })
this.queryForm.value2 = null
} }
} else { } else {
this.enterTable.push(obj) this.enterTable.push(obj)
...@@ -595,6 +598,7 @@ export default { ...@@ -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