优化手机端四舍五入

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2024-10-17 10:59:53 +00:00 committed by Gitee
parent 8409a48902
commit 161d7e4e33
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -235,7 +235,7 @@
} }
let _communityInfo = context.getCurrentCommunity(); let _communityInfo = context.getCurrentCommunity();
let _lastDate = new Date(_fee.endTime); let _lastDate = new Date(_fee.endTime);
this.receivableAmount = _receivableAmount; this.receivableAmount = _fee.amountOwed;
this.communityId = _communityInfo.communityId; this.communityId = _communityInfo.communityId;
this.communityName = _communityInfo.communityName; this.communityName = _communityInfo.communityName;
this.floorNum = _fee.floorNum; this.floorNum = _fee.floorNum;
@ -245,7 +245,7 @@
this.layer = _fee.layer; this.layer = _fee.layer;
this.builtUpArea = _fee.builtUpArea; this.builtUpArea = _fee.builtUpArea;
this.feeId = _fee.feeId; this.feeId = _fee.feeId;
this.amount = _amount; this.amount = _fee.amountOwed;
this.additionalAmount = _fee.additionalAmount; this.additionalAmount = _fee.additionalAmount;
this.ordEndTime = _fee.endTime; this.ordEndTime = _fee.endTime;
this.formatEndTime = date2String(_fee.endTime); this.formatEndTime = date2String(_fee.endTime);