|
@@ -176,7 +176,9 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 添加商品 -->
|
|
|
- <goods-add :dialog-visible="goodsTableVisible" @close="close" :iconic="iconic" @confirmGoodsForm="confirmGoodsForm" @confirmGoods="confirmGoods" v-if="goodsTableVisible" />
|
|
|
+ <goods-add :dialog-visible="goodsTableVisible" @close="close" ticket="goods" :iconic="iconic" @confirmGoodsForm="confirmGoodsForm" @confirmGoods="confirmGoods" v-if="goodsTableVisible" />
|
|
|
+ <!-- 添加盲票商品 -->
|
|
|
+ <goods-add :dialog-visible="goodsTableVisible2" @close="close" ticket="ticketGoods" :iconic="iconic" @confirmGoodsForm="confirmGoodsForm" @confirmGoods="confirmGoods" v-if="goodsTableVisible2" />
|
|
|
<!-- 添加券 -->
|
|
|
<coupon-add :dialog-visible="couponTableVisible" :iconic="iconic" @close="close" @confirmCouponForm="confirmCouponForm" @confirmCoupon="confirmCoupon" v-if="couponTableVisible" />
|
|
|
<!-- 添加券包 -->
|
|
@@ -326,6 +328,7 @@ export default {
|
|
|
//关联商品列表
|
|
|
goodsList: [],
|
|
|
goodsTableVisible: false, // 添加商品弹框
|
|
|
+ goodsTableVisible2: false, // 添加盲票商品弹框
|
|
|
couponTitle: "", // 券名称
|
|
|
couponTableVisible: false, // 添加卡券弹框
|
|
|
couponPkgTableVisible: false, // 添加券包弹框
|
|
@@ -545,6 +548,7 @@ export default {
|
|
|
// 关闭弹框
|
|
|
close() {
|
|
|
this.goodsTableVisible = false;
|
|
|
+ this.goodsTableVisible2 = false;
|
|
|
this.couponTableVisible = false;
|
|
|
this.couponPkgTableVisible = false;
|
|
|
this.coinTableVisible = false;
|
|
@@ -567,6 +571,9 @@ export default {
|
|
|
this.couponPkgTableVisible = true;
|
|
|
} else if (e == "coin") {
|
|
|
this.coinTableVisible = true;
|
|
|
+ }else if(e == "ticketGoods") {
|
|
|
+ this.iconic = 'goods'
|
|
|
+ this.goodsTableVisible2 = true;
|
|
|
}
|
|
|
},
|
|
|
goodsCommand(e) {
|
|
@@ -579,6 +586,9 @@ export default {
|
|
|
} else if (e == "coupon_pkg") {
|
|
|
this.iconic = 'couponPkgForm'
|
|
|
this.couponPkgTableVisible = true;
|
|
|
+ }else if (e == "ticketGoods") {
|
|
|
+ this.iconic = 'goodsForm'
|
|
|
+ this.goodsTableVisible2 = true;
|
|
|
}
|
|
|
},
|
|
|
// 确认选中商品
|