Commit 97db1cea authored by zhengke's avatar zhengke

修改

parent 1e88b9ef
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="osAddcardrelease"> <div class="osAddcardrelease">
<div class="form-box" style="margin-top: 0"> <div class="form-box" style="margin-top: 0">
<div> <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 style="margin: 0 5px;color: #C0C4CC;">/</span>
<span>自动发放套餐卡券编辑</span> <span>自动发放套餐卡券编辑</span>
</div> </div>
...@@ -193,13 +193,15 @@ ...@@ -193,13 +193,15 @@
}, },
getrigger2(){ getrigger2(){
this.apipost("/api/Reserve/GetAllDiscountCouponList",{}, res => { this.apipost("/api/Reserve/GetAllDiscountCouponList",{}, res => {
console.log(res,'数据1');
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.options2 = res.data.data; 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 { } else {
this.Info(res.data.message); this.Error(res.data.message);
} }
}) })
}, },
choice(){ 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