Commit f07d4d6b authored by jingnan's avatar jingnan 👀

供外出库占用逻辑修改

parent c36727af
......@@ -218,11 +218,19 @@ export default {
const form = { ...this.form }
form.aircraftType = form.aircraftType.split('+')[1]
form.sorties = form.sorties.split('+')[1]
const inStorageRequestItems = this.tableData.map(row => {
if (row.id) {
row.operator = 'MODIFY'
} else {
row.operator = 'ADD'
}
return row
})
const param = {
...form,
inStorageRequestItems: this.tableData,
inStorageRequestItems: inStorageRequestItems,
subTypeName: 'OutStorageOut',
operator: 'ADD'
operator: form.id ? 'MODIFY' : 'ADD'
}
if (this.applyId) {
param.operator = 'MODIFY'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment