|
@ -371,6 +371,7 @@ const submitForm = async (formType, data) => { |
|
|
await DemandforecastingMainApi.createDemandforecastingMain(data) |
|
|
await DemandforecastingMainApi.createDemandforecastingMain(data) |
|
|
message.success(t('common.createSuccess')) |
|
|
message.success(t('common.createSuccess')) |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
data.id = data.masterId |
|
|
await DemandforecastingMainApi.updateDemandforecastingMain(data) |
|
|
await DemandforecastingMainApi.updateDemandforecastingMain(data) |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
} |
|
|
} |
|
|