|
|
@@ -333,7 +333,8 @@ async function handleChangeStatus(row, status) {
|
|
|
async function submitForm() {
|
|
|
try {
|
|
|
await formRef.value.validate();
|
|
|
- if (!(await confirm("确认提交?"))) return;
|
|
|
+ if (!(await confirm(isAdd.value ? "确认新增货盘?" : "确认修改货盘?")))
|
|
|
+ return;
|
|
|
const apiMethod = isAdd.value ? api.addPallet : api.modifyPallet;
|
|
|
const params = { ...formData };
|
|
|
params.choiceCompanyId = choiceCompanyId.value;
|