|
|
@ -170,6 +170,14 @@ const buttonTableClick = async (val, row) => { |
|
|
|
rowSplit.itemTypes = rowSplit.itemTypes.split(',') |
|
|
|
} |
|
|
|
|
|
|
|
// 可用物料状态范围 |
|
|
|
const allItemStatusesValue = getStrDictOptions(DICT_TYPE.ITEM_STATUS).map(item=>(item.value)) |
|
|
|
if(rowSplit.itemStatuses == allItemStatusesValue){ |
|
|
|
rowSplit.itemStatuses = ['全选'] |
|
|
|
}else{ |
|
|
|
rowSplit.itemStatuses = rowSplit.itemStatuses.split(',') |
|
|
|
} |
|
|
|
|
|
|
|
// 出库库区类型范围 入库库区类型范围 |
|
|
|
const allValue = getStrDictOptions(DICT_TYPE.AREA_TYPE).map(item=>(item.value)) |
|
|
|
if(rowSplit.outAreaTypes == allValue){ |
|
|
@ -234,6 +242,14 @@ const formsSuccess = async (formType, submitData) => { |
|
|
|
data.itemTypes = data.itemTypes.join(',') |
|
|
|
} |
|
|
|
|
|
|
|
//可用物料状态范围 |
|
|
|
const allItemStatusesValue = getStrDictOptions(DICT_TYPE.ITEM_STATUS).map(item=>(item.value)) |
|
|
|
if(data.itemStatuses[data.itemStatuses.length-1]=='全选'){ |
|
|
|
data.itemStatuses = allItemStatusesValue.join(',') |
|
|
|
}else{ |
|
|
|
data.itemStatuses = data.itemStatuses.join(',') |
|
|
|
} |
|
|
|
|
|
|
|
// data.outAreaTypes = data.outAreaTypes.join(',') |
|
|
|
// data.inAreaTypes = data.inAreaTypes.join(',') |
|
|
|
//全选的值 |
|
|
|