Browse Source

盘点计划新增,盘点类型excel暂时放开原材料库位

faster_develop
安虹睿 2 years ago
parent
commit
604e63ec67
  1. 10
      fe/PC/src/components/StepsCountPlanForm/index.vue

10
fe/PC/src/components/StepsCountPlanForm/index.vue

@ -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

Loading…
Cancel
Save