item.value == t);
if (obj && obj.id) {
titleOptions.title = `编辑${m.label}`;
@@ -326,7 +328,7 @@ function show(t, obj = null) {
infiniteGiveNum.value = false;
}
- if (form.value.useLimit == infiniteFlagNum.value) {
+ if (form.value.getLimit == infiniteFlagNum.value) {
infiniteUseLimit.value = false;
}
} else {
From b474b73d288e15080da54f4b803ead605300b400 Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Fri, 10 Oct 2025 11:49:58 +0800
Subject: [PATCH 2/2] =?UTF-8?q?add:=20=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/marketing_center/components/couponDialog.vue | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/views/marketing_center/components/couponDialog.vue b/src/views/marketing_center/components/couponDialog.vue
index 8f49eeb..fd293fb 100644
--- a/src/views/marketing_center/components/couponDialog.vue
+++ b/src/views/marketing_center/components/couponDialog.vue
@@ -197,7 +197,7 @@
-
+
@@ -524,6 +524,13 @@ function selectFoodsConfirm(e) {
form.value.foods = e.join(",");
}
+// 切换商品类型
+function goodRadioChnage(e) {
+ console.log(e);
+ form.value.foods = '';
+ goodsTypeCascaderValue.value = [];
+}
+
// 选择的店铺列表
const shops = ref([]);
function shopsChange(e) {