From 97aa4b2339c3a5cf5f61dd886dee8350b75ada0b Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 14 Oct 2020 11:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=84=E8=A1=A8=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/addMeterWater/addMeterWater.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/public/components/property/addMeterWater/addMeterWater.js b/public/components/property/addMeterWater/addMeterWater.js index bf9e26fbc..03ee1ff19 100644 --- a/public/components/property/addMeterWater/addMeterWater.js +++ b/public/components/property/addMeterWater/addMeterWater.js @@ -244,12 +244,19 @@ }); }, _queryPreMeterWater: function (_roomId) { + let _meterType = '1010'; - var param = { + let _feeTypeCd = $that.addMeterWaterInfo.feeTypeCd; + + if(_feeTypeCd == '888800010015'){ + _meterType = '2020'; + } + let param = { params: { communityId: vc.getCurrentCommunity().communityId, objId: _roomId, - objType: $that.addMeterWaterInfo.objType + objType: $that.addMeterWaterInfo.objType, + meterType: _meterType } }; //发送get请求