Commit 95f81d53 authored by youjie's avatar youjie

no message

parent f2477849
......@@ -252,6 +252,7 @@
}
},
created(){
if(this.infoData) this.getInfo()
let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id
this.getrigger()
......@@ -265,7 +266,7 @@
},10)
},
mounted(){
if(this.infoData) this.getInfo()
},
methods:{
getInfo(){
......@@ -277,7 +278,7 @@
this.msg = {
ID: data.ID,
TriggerType:data.TriggerType,
DiscountCouponId:data.DiscountCouponId,
DiscountCouponId:Number(data.DiscountCouponId),
GrantNum:data.GrantNum,
IsAll:data.IsAll,
UserList:[],
......@@ -388,7 +389,7 @@
this.apipost("coupon_post_GetDropDowmList",{"CouponsName":"","BranchId":-1}, res => {
if (res.data.resultCode == 1) {
this.options2 = res.data.data;
this.msg.DiscountCouponId = res.data.data[0].id
if(!this.msg.DiscountCouponId) this.msg.DiscountCouponId = res.data.data[0].id
} else {
this.Info(res.data.message);
}
......
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