Commit a0a7b79d authored by jingnan's avatar jingnan 👀

批量签审验收入库接受仓库查询去掉区域条件

parent 24608cf2
......@@ -1825,14 +1825,14 @@ export default {
},
// 默认带出接收仓库
defaultStorage() {
let extDxProductAreaItem = []
if (this.basicData.extDxProductAreaId) {
extDxProductAreaItem = [{
'fieldName': 'source.extDxProductAreaId',
'operator': 'EQ',
'value': this.basicData.extDxProductAreaId || ''
}]
}
// let extDxProductAreaItem = []
// if (this.basicData.extDxProductAreaId) {
// extDxProductAreaItem = [{
// 'fieldName': 'source.extDxProductAreaId',
// 'operator': 'EQ',
// 'value': this.basicData.extDxProductAreaId || ''
// }]
// }
const params = {
'pageFrom': 1,
'pageSize': 9999,
......@@ -1843,13 +1843,13 @@ export default {
'fieldName': 'targetId',
'operator': 'EQ',
'value': this.basicData.materialTypeId || ''
},
}
// {
// 'fieldName': 'source.extDxProductAreaId',
// 'operator': 'EQ',
// 'value': this.basicData.extDxProductAreaId || ''
// }
...extDxProductAreaItem
// ...extDxProductAreaItem
],
'operator': 'AND'
}
......@@ -1865,9 +1865,9 @@ export default {
const STORAGE = this.formFileds[0].data.find(
(item) => item.key === 'storageZone'
)
if (!this.basicData.extDxProductAreaId) {
// if (!this.basicData.extDxProductAreaId) {
res.items.content = res.items.content.filter(item => { return item.source })
}
// }
STORAGE.component.options = res.items.content.map((item) => {
return {
label: item.source && item.source.extname,
......
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