Commit 97db1cea authored by zhengke's avatar zhengke

修改

parent 1e88b9ef
......@@ -2,7 +2,7 @@
<div class="osAddcardrelease">
<div class="form-box" style="margin-top: 0">
<div>
<span style="color: rgb(64, 158, 255);cursor: pointer;margin-left: 20px" @click="cancel">自动发放套餐卡券</span>
<span style="color: rgb(64, 158, 255);cursor: pointer;margin-left: 20px" @click="CommonJump('osCardrelease')">自动发放套餐卡券</span>
<span style="margin: 0 5px;color: #C0C4CC;">/</span>
<span>自动发放套餐卡券编辑</span>
</div>
......@@ -193,13 +193,15 @@
},
getrigger2(){
this.apipost("/api/Reserve/GetAllDiscountCouponList",{}, res => {
console.log(res,'数据1');
if (res.data.resultCode == 1) {
this.options2 = res.data.data;
this.msg.DiscountCouponId = res.data.data[0].ID
if(res.data.data.length>0){
this.msg.DiscountCouponId = res.data.data[0].ID
}
} else {
this.Info(res.data.message);
this.Error(res.data.message);
}
})
},
choice(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment