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