mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 14:17:25 +08:00
优化代码
This commit is contained in:
parent
0dfc214c73
commit
22e9dc6de9
@ -228,11 +228,6 @@
|
||||
onLoad: function(options) {
|
||||
context.onLoad(options);
|
||||
let _fee = JSON.parse(options.fee);
|
||||
let _amount = _fee.amount;
|
||||
let _receivableAmount = _amount;
|
||||
if (_fee.feeFlag == "2006012") { // 一次性费用
|
||||
_receivableAmount = _amount;
|
||||
}
|
||||
let _communityInfo = context.getCurrentCommunity();
|
||||
let _lastDate = new Date(_fee.endTime);
|
||||
this.receivableAmount = _receivableAmount;
|
||||
@ -245,7 +240,7 @@
|
||||
this.layer = _fee.layer;
|
||||
this.builtUpArea = _fee.builtUpArea;
|
||||
this.feeId = _fee.feeId;
|
||||
this.amount = _amount;
|
||||
this.amount = _fee.amountOwed;
|
||||
this.additionalAmount = _fee.additionalAmount;
|
||||
this.ordEndTime = _fee.endTime;
|
||||
this.formatEndTime = date2String(_fee.endTime);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user