diff --git a/src/views/business/Marketing/CouponManage/Coupons/components/AddDialog.vue b/src/views/business/Marketing/CouponManage/Coupons/components/AddDialog.vue
index 83f27d0..dace437 100644
--- a/src/views/business/Marketing/CouponManage/Coupons/components/AddDialog.vue
+++ b/src/views/business/Marketing/CouponManage/Coupons/components/AddDialog.vue
@@ -27,6 +27,11 @@
+
+
+
+
+
@@ -44,7 +49,7 @@
-
%
diff --git a/src/views/business/Marketing/CouponManage/Coupons/components/EditDialog.vue b/src/views/business/Marketing/CouponManage/Coupons/components/EditDialog.vue
index ed1e1c1..d0b9146 100644
--- a/src/views/business/Marketing/CouponManage/Coupons/components/EditDialog.vue
+++ b/src/views/business/Marketing/CouponManage/Coupons/components/EditDialog.vue
@@ -27,6 +27,11 @@
+
+
+
+
+
@@ -44,8 +49,8 @@
-
+
%
diff --git a/src/views/business/Marketing/CouponManage/CustomerCoupons/components/DetailDialog.vue b/src/views/business/Marketing/CouponManage/CustomerCoupons/components/DetailDialog.vue
index b6eaecf..0bff3cf 100644
--- a/src/views/business/Marketing/CouponManage/CustomerCoupons/components/DetailDialog.vue
+++ b/src/views/business/Marketing/CouponManage/CustomerCoupons/components/DetailDialog.vue
@@ -6,43 +6,43 @@
* @LastEditors: (lwh)
* @LastEditTime: (2023-07-31)
-->
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -61,8 +61,8 @@ import { reactive, ref, watch } from "vue";
// 打开弹窗时回调
const openDialog = async () => {
- await getis_expired()
- await getis_used()
+ await getis_expired()
+ await getis_used()
}
diff --git a/src/views/business/Marketing/CouponManage/CustomerCoupons/components/EditDialog.vue b/src/views/business/Marketing/CouponManage/CustomerCoupons/components/EditDialog.vue
index c27f1fa..f521c99 100644
--- a/src/views/business/Marketing/CouponManage/CustomerCoupons/components/EditDialog.vue
+++ b/src/views/business/Marketing/CouponManage/CustomerCoupons/components/EditDialog.vue
@@ -10,38 +10,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -64,13 +67,13 @@
import { ElMessage } from 'element-plus'
import modal from '@/plugins/modal.js'
import { reactive, ref, watch } from "vue";
-import { addOrUpdateCustomerCoupon } from "@/api/business/Marketing/CouponManage/CustomerCoupons/customerCoupon.js";
+import { addOrUpdateCustomerCoupon } from "@/api/business/Marketing/CouponManage/CustomerCoupons/customerCoupon.js";
// 打开弹窗时回调
const openDialog = async () => {
- await getis_expired()
- await getis_used()
+ await getis_expired()
+ await getis_used()
}
@@ -122,11 +125,9 @@ const imgData = ref({
// 验证
const rules = reactive({
- customerCouponGuid: [{ required: true, message: "不能为空", trigger: "blur", type: "number" }],
- couponGuid: [{ required: true, message: "优惠劵guid不能为空", trigger: "blur", type: "number" }],
- customerGuid: [{ required: true, message: "客户guid不能为空", trigger: "blur", type: "number" }],
- customerCouponIsExpired: [{ required: true, message: "是否过期不能为空", trigger: "change", type: "number" }],
- customerCouponIsUsed: [{ required: true, message: "是否已使用不能为空", trigger: "change", type: "number" }],
+ customerCouponGuid: [{ required: true, message: "不能为空", trigger: "blur", type: "number" }],
+ customerCouponIsExpired: [{ required: true, message: "是否过期不能为空", trigger: "change", type: "number" }],
+ customerCouponIsUsed: [{ required: true, message: "是否已使用不能为空", trigger: "change", type: "number" }],
});
// -基础方法