Commit b56e71ae authored by 高宇's avatar 高宇

领用修改

parent efad3a45
......@@ -478,15 +478,11 @@ export default {
} else {
let data = []
if (this.selectList.length === 0) {
if (this.queryParams.pn === '' && this.queryParams.lot === '' && this.queryParams.plocation === '') {
data = this.equipmentList
} else {
ListAllWarehose(this.queryParams).then(res => {
if (res.code === 200) {
data = res.data
}
})
}
ListAllWarehose(this.queryParams).then(res => {
if (res.code === 200) {
data = res.data
}
})
} else {
data = this.selectList
}
......
......@@ -479,15 +479,11 @@ export default {
} else {
let data = []
if (this.selectList.length === 0) {
if (this.queryParams.pn === '' && this.queryParams.lot === '' && this.queryParams.plocation === '') {
data = this.equipmentList
} else {
ListAllWarehose(this.queryParams).then(res => {
if (res.code === 200) {
data = res.data
}
})
}
ListAllWarehose(this.queryParams).then(res => {
if (res.code === 200) {
data = res.data
}
})
} else {
data = this.selectList
}
......
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