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