fix(wms): 完善删除发货计划和发货单的确认提示信息

在删除操作确认提示中增加说明,明确告知用户删除操作会同时删除关联数据且不可恢复
This commit is contained in:
砂糖
2026-01-28 11:11:30 +08:00
parent 88249df0d5
commit 2447a610af
2 changed files with 2 additions and 3 deletions

View File

@@ -252,7 +252,7 @@ export default {
/** 删除按钮操作 */
async handleDelete(row) {
const planIds = row.planId || this.ids;
await this.$modal.confirm(`是否确认删除发货计划编号为"${planIds}"的数据项?`);
await this.$modal.confirm(`是否确认删除发货计划编号为"${planIds}"的数据项?会同时删除该计划下的所有发货单及明细且无法还原`);
this.loading = true;
await delDeliveryPlan(planIds).then(() => {
this.loading = false;

View File

@@ -194,7 +194,6 @@ export default {
},
created() {
this.getList();
this.getPlanList();
},
methods: {
/** 查询发货单列表 */
@@ -347,7 +346,7 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const waybillIds = row.waybillId || this.ids;
this.$modal.confirm('是否确认删除发货单编号为"' + waybillIds + '"的数据项?').then(() => {
this.$modal.confirm('是否确认删除发货单编号为"' + waybillIds + '"的数据项?会同时删除该发货单的所有明细记录且无法恢复。').then(() => {
this.loading = true;
return delDeliveryWaybill(waybillIds);
}).then(() => {