|
@ -407,7 +407,9 @@ export default { |
|
|
// 如果是pda类型盘点,库位类型 则使用 locationTypeForPADPlan 枚举(区别为线边库位为不可选) |
|
|
// 如果是pda类型盘点,库位类型 则使用 locationTypeForPADPlan 枚举(区别为线边库位为不可选) |
|
|
// 如果是Excel类型盘点,库位类型 则使用 locationTypeForExcelPlan 枚举(区别为原材料库位为不可选) |
|
|
// 如果是Excel类型盘点,库位类型 则使用 locationTypeForExcelPlan 枚举(区别为原材料库位为不可选) |
|
|
if(item.prop == 'type'){ |
|
|
if(item.prop == 'type'){ |
|
|
item.filters = this.CreateFormData.requestType == 2 ? 'locationTypeForPADPlan' : 'locationTypeForExcelPlan' |
|
|
// todo:暂时 |
|
|
|
|
|
// item.filters = this.CreateFormData.requestType == 2 ? 'locationTypeForPADPlan' : 'locationTypeForExcelPlan' |
|
|
|
|
|
item.filters = this.CreateFormData.requestType == 2 ? 'locationTypeForPADPlan' : 'locationType' |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
return _list |
|
|
return _list |
|
@ -451,7 +453,9 @@ export default { |
|
|
// 盘点库存 过滤线边仓数据 20230703更新 |
|
|
// 盘点库存 过滤线边仓数据 20230703更新 |
|
|
// 如果是Excel盘点类型(this.CreateFormData.requestType == 1),过滤原材料2 |
|
|
// 如果是Excel盘点类型(this.CreateFormData.requestType == 1),过滤原材料2 |
|
|
// 如果不是Excel盘点类型(this.CreateFormData.requestType != 1),过滤线边仓数据5 |
|
|
// 如果不是Excel盘点类型(this.CreateFormData.requestType != 1),过滤线边仓数据5 |
|
|
let type_value = this.CreateFormData.requestType == 1 ? '2' : '5' |
|
|
// todo://暂时 |
|
|
|
|
|
// let type_value = this.CreateFormData.requestType == 1 ? '2' : '5' |
|
|
|
|
|
let type_value = this.CreateFormData.requestType == 1 ? null : '5' |
|
|
let _filter = { |
|
|
let _filter = { |
|
|
action: "!=", |
|
|
action: "!=", |
|
|
column: "type", |
|
|
column: "type", |
|
@ -468,7 +472,7 @@ export default { |
|
|
hide: true |
|
|
hide: true |
|
|
} |
|
|
} |
|
|
if(this.pageListLocation.condition.filters.length <= 0){ |
|
|
if(this.pageListLocation.condition.filters.length <= 0){ |
|
|
this.pageListLocation.condition.filters.push(_filter) |
|
|
if(type_value)this.pageListLocation.condition.filters.push(_filter) |
|
|
this.pageListLocation.condition.filters.push(_filter_code) |
|
|
this.pageListLocation.condition.filters.push(_filter_code) |
|
|
} |
|
|
} |
|
|
// code多选处理 20230705更新 |
|
|
// code多选处理 20230705更新 |
|
|