批量受理 扫码支付时的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) { if (_item == _batchFeeItem.feeId) {
_batchFeeItem.primeRate = $that.batchPayFeeOrderInfo.primeRate; _batchFeeItem.primeRate = $that.batchPayFeeOrderInfo.primeRate;
_fees.push(_batchFeeItem); _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('未选中要缴费的项目'); vc.toast('未选中要缴费的项目');
return; return;
} }
let _payerObjName = $that.batchPayFeeOrderInfo.payerObjNames.join(',')
let _data = { let _data = {
communityId: vc.getCurrentCommunity().communityId, communityId: vc.getCurrentCommunity().communityId,
fees: _fees, fees: _fees,
authCode: $that.batchPayFeeOrderInfo.authCode, authCode: $that.batchPayFeeOrderInfo.authCode,
receivedAmount: $that.batchPayFeeOrderInfo.feePrices, receivedAmount: $that.batchPayFeeOrderInfo.feePrices,
payerObjName:_payerObjName,
subServiceCode: 'fee.payBatchFee' subServiceCode: 'fee.payBatchFee'
} }
vc.http.apiPost( vc.http.apiPost(
@ -518,8 +511,8 @@ var saveAs = saveAs || (function(view) {
$that._closeDoBatchPayFeeModal(); $that._closeDoBatchPayFeeModal();
let _data = _json.data; let _data = _json.data;
let detailIds = ''; let detailIds = '';
_data.forEach(item => { _data.details.forEach(item => {
detailIds += (item.detailId + ','); detailIds += (item + ',');
}) })
$that.batchPayFeeOrderInfo.detailIds = detailIds; $that.batchPayFeeOrderInfo.detailIds = detailIds;
//vc.saveData('_feeInfo', _feeInfo); //vc.saveData('_feeInfo', _feeInfo);