From ba5f85cbbd1ba963387cd7682ec1259b55d5f39e Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 16 Jun 2021 17:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E4=BA=9B=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/coupon.ts | 2 +- src/views/marketing/coupon.vue | 21 +++++----- src/views/marketing/coupon_edit.vue | 63 ++++++++++++----------------- 3 files changed, 37 insertions(+), 49 deletions(-) diff --git a/src/api/coupon.ts b/src/api/coupon.ts index c49a745..61fd54d 100644 --- a/src/api/coupon.ts +++ b/src/api/coupon.ts @@ -20,7 +20,7 @@ export const defaultCouponData: ICouponData = { content: '', total: 0, count: 0, - limitOne: 1 + limitOne: 0 } export const getCoupons = (params: any) => diff --git a/src/views/marketing/coupon.vue b/src/views/marketing/coupon.vue index 47a36c4..d7c26e0 100644 --- a/src/views/marketing/coupon.vue +++ b/src/views/marketing/coupon.vue @@ -73,20 +73,19 @@ + + + + + + + + - - - - - - - - - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + +