优化代码

This commit is contained in:
java110 2021-12-17 16:19:41 +08:00
parent 39e83da261
commit 3f4ad33b38

View File

@ -74,7 +74,8 @@
$that._loadReceiptDetail();
}, function (errInfo, error) {
},
function(errInfo, error) {
console.log('请求失败处理');
}
);
@ -108,7 +109,8 @@
$that.printPayFeeInfo.fees = _feeReceiptDetails;
}, function (errInfo, error) {
},
function(errInfo, error) {
console.log('请求失败处理');
}
);
@ -136,7 +138,8 @@
$that.printPayFeeInfo.communityName = _data[0].printName;
}
}
}, function (errInfo, error) {
},
function(errInfo, error) {
console.log('请求失败处理');
}
);
@ -149,7 +152,7 @@
_sum += parseFloat(item.area);
}
})
return _sum;
return _sum.toFixed(2);
},
_printPurchaseApplyDiv: function() {