|
|
@ -335,14 +335,18 @@ const formsSuccess = async (formType, data) => { |
|
|
|
//新到货转账内 |
|
|
|
await ItemAccountsApi.newTurnIn(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|
basicFormRef1.value.formLoading = false |
|
|
|
basicFormRef1.value.dialogVisible = false |
|
|
|
} else { |
|
|
|
await ItemAccountsApi.updateItemAccounts(data) |
|
|
|
message.success(t('common.updateSuccess')) |
|
|
|
} |
|
|
|
basicFormRef.value.formLoading = false |
|
|
|
basicFormRef.value.dialogVisible = false |
|
|
|
getList() |
|
|
|
} |
|
|
|
} finally { |
|
|
|
basicFormRef.value.formLoading = false |
|
|
|
basicFormRef1.value.formLoading = false |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|