From ad50d3e54fdcc2c98bc7b6ca5d9171848b95dd1c Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Fri, 27 Sep 2024 10:00:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E5=88=9A=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/common/common.vue | 26 +++- .../modules/coupon/coupon-add-or-update.vue | 136 +++++++++++------- src/views/modules/coupon/coupon.vue | 119 +++++++++++---- 3 files changed, 200 insertions(+), 81 deletions(-) diff --git a/src/views/common/common.vue b/src/views/common/common.vue index 33fc406..d919d02 100644 --- a/src/views/common/common.vue +++ b/src/views/common/common.vue @@ -6,8 +6,32 @@ const baseUrl = "http://192.168.110.100:9200/pb"; //张川川后端 // function commonFun() { // console.log("公共方法") // } +const rangList =[ + { + value: 0, + label: "无限制" + }, + { + value: 1, + label: "课程券" + }, + { + value: 2, + label: "课程品类券" + } + ]; +const TypeList =[ + { + value: "0", + label: "现金" + }, + { + value: "1", + label: "折扣" + } + ] export default { - baseUrl + baseUrl,rangList,TypeList //commonFun }; diff --git a/src/views/modules/coupon/coupon-add-or-update.vue b/src/views/modules/coupon/coupon-add-or-update.vue index cf89a00..e1bf771 100644 --- a/src/views/modules/coupon/coupon-add-or-update.vue +++ b/src/views/modules/coupon/coupon-add-or-update.vue @@ -1,5 +1,5 @@