From 8735f30ff16366139e76cdd6c461ba32bb589352 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 24 Mar 2024 11:52:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=961.7=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../returnPayFeeManage/returnPayFeeManage.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/pages/property/returnPayFeeManage/returnPayFeeManage.js b/public/pages/property/returnPayFeeManage/returnPayFeeManage.js index 47b5f3b59..fd49862aa 100644 --- a/public/pages/property/returnPayFeeManage/returnPayFeeManage.js +++ b/public/pages/property/returnPayFeeManage/returnPayFeeManage.js @@ -113,12 +113,12 @@ vc.http.apiGet('/returnPayFee.listReturnPayFees', param, function (json) { - var _returnPayFeeManageInfo = JSON.parse(json); - $that.returnPayFeeManageInfo.total = _returnPayFeeManageInfo.total; + let _json = JSON.parse(json); + $that.returnPayFeeManageInfo.total = _json.total; // $that.returnPayFeeManageInfo.records = parseInt(_returnPayFeeManageInfo.total/_rows +1); - $that.returnPayFeeManageInfo.records = _returnPayFeeManageInfo.records; - if (_returnPayFeeManageInfo.returnPayFees != null && _returnPayFeeManageInfo.returnPayFees.length > 0) { - _returnPayFeeManageInfo.returnPayFees.forEach(item => { + $that.returnPayFeeManageInfo.records = _json.records; + if (_json.data != null && _json.data.length > 0) { + _json.data.forEach(item => { if (item.feeAccountDetailDtoList != null && item.feeAccountDetailDtoList.length > 0) { item.feeAccountDetailDtoList.forEach(item2 => { if (item2.state == '1001' || item2.state == '1003') { //无抵扣或积分抵扣 @@ -130,7 +130,7 @@ } }); } - $that.returnPayFeeManageInfo.returnPayFees = _returnPayFeeManageInfo.returnPayFees; + $that.returnPayFeeManageInfo.returnPayFees = _json.data; vc.emit('pagination', 'init', { total: $that.returnPayFeeManageInfo.records, dataCount: $that.returnPayFeeManageInfo.total,