Commit 95c4e4ef authored by 黄媛媛's avatar 黄媛媛

1

parent d0b89c18
......@@ -2224,17 +2224,23 @@
},
changeVIP(){
this.FXlevelList.forEach(x=>{
if(x.Id== this.addMsg.PresentFXGrade){
if(x.IsGuest==3){
this.giveDate=true;
this.addMsg.PresentFXMonth=1;
}else{
this.giveDate=false;
this.addMsg.PresentFXMonth=0;
}
}
})
if(this.addMsg.PresentFXGrade=='' || this.addMsg.PresentFXGrade==0){
this.giveDate=false;
this.addMsg.PresentFXMonth=0
}else{
this.giveDate=true;
}
// this.FXlevelList.forEach(x=>{
// if(x.Id== this.addMsg.PresentFXGrade){
// if(x.IsGuest==3){
// this.giveDate=true;
// this.addMsg.PresentFXMonth=1;
// }else{
// this.giveDate=false;
// this.addMsg.PresentFXMonth=0;
// }
// }
// })
}
}
};
......
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