mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化积分功能
This commit is contained in:
parent
f7e592f8b0
commit
f05adbec2d
@ -235,6 +235,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.useIntegral = 'Y';
|
this.useIntegral = 'Y';
|
||||||
|
if(parseFloat(this.integralMoney)>parseFloat(this.orgMoney)){
|
||||||
|
this.money = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.money = parseFloat(this.orgMoney) - parseFloat(this.integralMoney);
|
this.money = parseFloat(this.orgMoney) - parseFloat(this.integralMoney);
|
||||||
this.money = this.money.toFixed(2);
|
this.money = this.money.toFixed(2);
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user