批量受理 扫码支付时的bug

This commit is contained in:
Your Name 2023-04-10 23:39:02 +08:00
parent 7fa3db30e6
commit 532cd073ff

View File

@ -383,15 +383,6 @@ var saveAs = saveAs || (function(view) {
if (_item == _batchFeeItem.feeId) {
_batchFeeItem.primeRate = $that.batchPayFeeOrderInfo.primeRate;
_fees.push(_batchFeeItem);
// _printFees.push({
// feeId: _item,
// squarePrice: _batchFeeItem.squarePrice,
// additionalAmount: _batchFeeItem.additionalAmount,
// feeName: _batchFeeItem.feeName,
// amount: _batchFeeItem.feePrice,
// roomName: $that.batchPayFeeOrderInfo.roomName,
// primeRate: $that.batchPayFeeOrderInfo.primeRate
// });
}
})
});
@ -443,12 +434,14 @@ var saveAs = saveAs || (function(view) {
vc.toast('未选中要缴费的项目');
return;
}
let _payerObjName = $that.batchPayFeeOrderInfo.payerObjNames.join(',')
let _data = {
communityId: vc.getCurrentCommunity().communityId,
fees: _fees,
authCode: $that.batchPayFeeOrderInfo.authCode,
receivedAmount: $that.batchPayFeeOrderInfo.feePrices,
payerObjName:_payerObjName,
subServiceCode: 'fee.payBatchFee'
}
vc.http.apiPost(
@ -518,8 +511,8 @@ var saveAs = saveAs || (function(view) {
$that._closeDoBatchPayFeeModal();
let _data = _json.data;
let detailIds = '';
_data.forEach(item => {
detailIds += (item.detailId + ',');
_data.details.forEach(item => {
detailIds += (item + ',');
})
$that.batchPayFeeOrderInfo.detailIds = detailIds;
//vc.saveData('_feeInfo', _feeInfo);