|
@ -464,6 +464,8 @@ const submitForm = async (formType, data) => { |
|
|
await InventorychangeRequestMainApi.createInventorychangeRequestMain(data) |
|
|
await InventorychangeRequestMainApi.createInventorychangeRequestMain(data) |
|
|
message.success(t('common.createSuccess')) |
|
|
message.success(t('common.createSuccess')) |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
console.log('data',data); |
|
|
|
|
|
data.id = data.masterId |
|
|
await InventorychangeRequestMainApi.updateInventorychangeRequestMain(data) |
|
|
await InventorychangeRequestMainApi.updateInventorychangeRequestMain(data) |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
} |
|
|
} |
|
|