|
|
@ -162,7 +162,12 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value , |
|
|
|
isMainValue: false |
|
|
|
},] |
|
|
|
},],item.form.componentProps.searchCondition = [ |
|
|
|
{ |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value, |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} else { |
|
|
|
delete item.tableForm.searchCondition |
|
|
|
} |
|
|
@ -182,6 +187,12 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { |
|
|
|
value: businessType.value, |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
item.form.componentProps.searchCondition = [ |
|
|
|
{ |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value, |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
@ -431,8 +442,6 @@ const handleDeleteTable = (item, index) => { |
|
|
|
const submitForm = async (formType, data) => { |
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
data.subList.forEach(item => { |
|
|
|
console.log(fromInventoryStatus.value) |
|
|
|
console.log(!fromInventoryStatus.value) |
|
|
|
if(fromInventoryStatus.value){ |
|
|
|
item.fromInventoryStatus = fromInventoryStatus.value |
|
|
|
item.toInventoryStatus = toInventoryStatus.value |
|
|
|