|
@ -246,8 +246,9 @@ const formsSuccess = async (formType,data) => { |
|
|
await PackageApi.createPackage(data) |
|
|
await PackageApi.createPackage(data) |
|
|
message.success(t('common.createSuccess')) |
|
|
message.success(t('common.createSuccess')) |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
await message.confirm('包装修改后需重新打印标签,是否继续保存?') |
|
|
await PackageApi.updatePackage(data) |
|
|
await PackageApi.updatePackage(data) |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('包装信息已修改,请重新打印标签')) |
|
|
} |
|
|
} |
|
|
basicFormRef.value.dialogVisible = false |
|
|
basicFormRef.value.dialogVisible = false |
|
|
getList() |
|
|
getList() |
|
|