diff --git a/src/views/application/components/invite_friend/setting.vue b/src/views/application/components/invite_friend/setting.vue index 1c06421..2ad629b 100644 --- a/src/views/application/components/invite_friend/setting.vue +++ b/src/views/application/components/invite_friend/setting.vue @@ -80,6 +80,9 @@ 添加券 +
+
奖励券不受优惠券发放数量影响
+
diff --git a/src/views/coupon_manage/add_coupon.vue b/src/views/coupon_manage/add_coupon.vue index d253a6d..4c27a53 100644 --- a/src/views/coupon_manage/add_coupon.vue +++ b/src/views/coupon_manage/add_coupon.vue @@ -10,14 +10,14 @@ - - + + - - + + @@ -29,6 +29,11 @@ + + + + + - - - - - 确 定 - -
+
- + - - + + 全额满可用 + + + + + {{ item.label }} + + + + + + + + + + + + + + + {{ city.label }} + + + + + + {{ item.label }} + + + + + + + + - - 全额满可用 -
@@ -123,10 +179,9 @@
- - 取 消 + 确 定
@@ -266,6 +321,7 @@ export default { */ tabClick(item) { console.log(this.form) + this.form = this.resetForm this.form.number = '' this.form.type = item.type this.$refs.form.resetFields() @@ -324,7 +380,7 @@ export default { res.map(async item => { if (!await this.checkShop(item.id)) { this.form.products.push({ - id: item.id, + productId: item.id, name: item.name, num: null }) @@ -332,7 +388,7 @@ export default { }) } else { this.form.products.push({ - id: res[0].id, + productId: res[0].id, name: res[0].name, num: null }) diff --git a/src/views/order_manage/order_goods_util.js b/src/views/order_manage/order_goods_util.js index b0e821d..d12b29c 100644 --- a/src/views/order_manage/order_goods_util.js +++ b/src/views/order_manage/order_goods_util.js @@ -11,6 +11,9 @@ export function returnPackFee(arr) { } export function canTuicai(orderInfo,item){ + if(orderInfo.status=='unpaid'&&orderInfo.isPostpaid!==null&&orderInfo.isPostpaid==0){ + return false + } return orderInfo.status=='unpaid'&&orderInfo.useType!='dine-in-before'&& item.status!='return' } export function canTuiKuan(orderInfo,item){ diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index 1d4c633..21e4594 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -1752,7 +1752,11 @@ export default { }, yinFuJinE() { const total = this.currentPayMoney - (this.points.toMoney || 0); - return total.toFixed(2); + if(this.isCreateOrder){ + return total.toFixed(2); + }else{ + return this.allPrice; + } }, disableTuicai() { return ( @@ -3891,7 +3895,7 @@ export default { this.$router.replace({ path: "/tool/table_list" }); } else { this.$router.replace({ path: "/tool/Instead/index" }); - // this.$router.go(0); + this.$router.go(0); // this.reset(); // this.$router.replace({ path: "/tool/Instead/index" }); } diff --git a/src/views/user_manage/components/addActive.vue b/src/views/user_manage/components/addActive.vue index efad826..5054eed 100644 --- a/src/views/user_manage/components/addActive.vue +++ b/src/views/user_manage/components/addActive.vue @@ -5,12 +5,13 @@