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

1

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