From 14ae2f656166b98302682664888d2b882b7e4649 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 16 十月 2025 11:10:58 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/send_coupon' into send_coupon
---
seller/src/views/template/goodsCustomizeTemplate.vue | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/seller/src/views/template/goodsCustomizeTemplate.vue b/seller/src/views/template/goodsCustomizeTemplate.vue
index 0425a17..391465c 100644
--- a/seller/src/views/template/goodsCustomizeTemplate.vue
+++ b/seller/src/views/template/goodsCustomizeTemplate.vue
@@ -353,12 +353,19 @@
},
delTemplate(row){
- del(row.id).then(res =>{
- if (res.code === 200){
- this.$Message.success(res.msg)
+ this.$Modal.confirm({
+ title: "鎿嶄綔纭",
+ content: "鎮ㄧ‘璁よ鍒犻櫎銆� " + row.templateName + "銆戝悧?",
+ onOk: () => {
+ del(row.id).then(res =>{
+ if (res.code === 200){
+ this.$Message.success(res.msg)
+ }
+ this.getList()
+ })
}
- this.getList()
- })
+ });
+
},
async upLoadImg(file) {
console.log("鎵撳嵃涓婁紶1")
@@ -509,6 +516,7 @@
if (res.code === 200) {
this.$Message.success(res.msg);
this.modelShow = false;
+ this.showModal = false;
this.getList();
} else {
this.$Message.error(res.msg);
@@ -518,7 +526,6 @@
console.error(error);
} finally {
this.submitLoading = false;
- this.showModal = false;
}
}
});
--
Gitblit v1.8.0