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 @@