@@ -153,6 +153,10 @@ export default {
// 确认选中卡券
confirmCoupon() {
+ if(!this.selectCouponList.length) {
+ this.msgInfo('请选择券')
+ return
+ }
this.$emit("confirmCoupon", this.selectCouponList);
},
@@ -124,6 +124,10 @@ export default {
// 确认选中券包
confirmCouponPkg() {
+ if(!this.selectCouponPkgList.length) {
+ this.msgInfo('请选择券包')
this.$emit("confirmCouponPkg", this.selectCouponPkgList);
// 确认选中商品
confirmGoods() {
+ if(!this.selectGoodsList.length) {
+ this.msgInfo('请选择商品')
this.$emit("confirmGoods", this.selectGoodsList);
@@ -204,6 +204,10 @@ export default {