From ee9037000d684f865c2f5d3c0031bf16011cdccb Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 16 Jun 2021 09:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E7=BC=B4=E8=B4=B9=E6=98=8E=E7=BB=86?= =?UTF-8?q?=E5=BC=80=E5=8F=91=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reportOwnerPayFee/reportOwnerPayFee.html | 69 +++++++++++++++++++ .../reportOwnerPayFee/reportOwnerPayFee.js | 38 +++++++++- 2 files changed, 104 insertions(+), 3 deletions(-) diff --git a/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.html b/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.html index 3a2e4100f..e66434b16 100644 --- a/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.html +++ b/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.html @@ -1,4 +1,73 @@
+
+
+
+
+
查询条件
+
+ +
+
+
+
+ +
+ +
+
+
+ + +
+
+
+
+ +
+
+
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+
+
+
+
diff --git a/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.js b/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.js index 7f51ce532..cb3baa3ac 100644 --- a/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.js +++ b/public/pages/property/reportOwnerPayFee/reportOwnerPayFee.js @@ -11,14 +11,23 @@ total: 0, records: 1, moreCondition: false, + feeTypeCds: [], + feeConfigDtos: [], conditions: { - - + feeTypeCd: '', + configId: '', + roomName: '', + ownerName: '', + pfYear: new Date().getFullYear() } } }, _initMethod: function () { vc.component._listOwnerPayFees(DEFAULT_PAGE, DEFAULT_ROWS); + //关联字典表费用类型 + vc.getDict('pay_fee_config', "fee_type_cd", function (_data) { + vc.component.reportOwnerPayFeeInfo.feeTypeCds = _data; + }); }, _initEvent: function () { vc.on('pagination', 'page_event', function (_currentPage) { @@ -145,7 +154,30 @@ }); return amount; - } + }, + _changeReporficientFeeTypeCd: function () { + let param = { + params: { + page: 1, + row: 50, + communityId: vc.getCurrentCommunity().communityId, + feeTypeCd: $that.reportOwnerPayFeeInfo.conditions.feeTypeCd, + isDefault: '', + feeFlag: '', + valid: '1' + } + }; + //发送get请求 + vc.http.get('roomCreateFeeAdd', 'list', param, + function (json, res) { + var _feeConfigManageInfo = JSON.parse(json); + let _feeConfigs = _feeConfigManageInfo.feeConfigs + vc.component.reportOwnerPayFeeInfo.feeConfigDtos = _feeConfigs; + }, + function (errInfo, error) { + console.log('请求失败处理'); + }); + }, } }); })(window.vc);