From 532cd073ffc9f8882ff02ceddf4f634752fbe0ff Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 10 Apr 2023 23:39:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=8F=97=E7=90=86=20?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E6=94=AF=E4=BB=98=E6=97=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/batchPayFeeOrder/batchPayFeeOrder.js | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/public/pages/property/batchPayFeeOrder/batchPayFeeOrder.js b/public/pages/property/batchPayFeeOrder/batchPayFeeOrder.js index 786c91265..bad31d085 100644 --- a/public/pages/property/batchPayFeeOrder/batchPayFeeOrder.js +++ b/public/pages/property/batchPayFeeOrder/batchPayFeeOrder.js @@ -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);