diff --git a/public/components/property/addMeterWater/addMeterWater.js b/public/components/property/addMeterWater/addMeterWater.js index bfa569d7a..cfa1c7f42 100755 --- a/public/components/property/addMeterWater/addMeterWater.js +++ b/public/components/property/addMeterWater/addMeterWater.js @@ -34,6 +34,7 @@ _initEvent: function() { vc.on('addMeterWater', 'openAddMeterWaterModal', function(_param) { console.log('params :', _param); + vc.component.clearAddMeterWaterInfo(); if (_param.hasOwnProperty("objType")) { $that.addMeterWaterInfo.objType = _param.objType; } diff --git a/public/components/property/addProxyFee/addProxyFee.js b/public/components/property/addProxyFee/addProxyFee.js index 10a1c2a95..a29db4608 100755 --- a/public/components/property/addProxyFee/addProxyFee.js +++ b/public/components/property/addProxyFee/addProxyFee.js @@ -37,6 +37,7 @@ }, _initEvent: function() { vc.on('addProxyFee', 'openAddProxyFeeModal', function(_param) { + vc.component.clearAddProxyFeeInfo(); if (_param.hasOwnProperty("objType")) { $that.addProxyFeeInfo.objType = _param.objType; } diff --git a/public/components/property/editFee/editFee.js b/public/components/property/editFee/editFee.js index 8e0dc2eb1..f0ce74246 100755 --- a/public/components/property/editFee/editFee.js +++ b/public/components/property/editFee/editFee.js @@ -80,8 +80,8 @@ } }); - vc.initDate('editFeeMaxEndTime', function(_endTime) { - $that.editFeeInfo.maxEndTime = _endTime; + vc.initDate('editFeeMaxEndTime', function(_maxEndTime) { + $that.editFeeInfo.maxEndTime = _maxEndTime; let start = Date.parse(new Date($that.editFeeInfo.startTime)) let end = Date.parse(new Date($that.editFeeInfo.maxEndTime)) if (start - end >= 0) { diff --git a/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js b/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js index e3a4d28c9..e4bd52277 100755 --- a/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js +++ b/public/components/property/roomCreateFeeAdd/roomCreateFeeAdd.js @@ -246,7 +246,7 @@ }, _changeFeeTypeCdX: function(_feeTypeCd) { // 押金默认开始时间为当前时间,结束时间+1月 - if(_feeTypeCd == '888800010006'){ + if (_feeTypeCd == '888800010006') { $that.roomCreateFeeAddInfo.startTime = vc.dateFormat(new Date()); $that.roomCreateFeeAddInfo.endTime = vc.addMonthDate(new Date(), 1); } @@ -288,7 +288,7 @@ }, _roomCreateFeeAddIfOnceFee(_configId) { // 当费用类型不是押金或者收费项目没有结束时间时, 将结束时间清空 - if($that.roomCreateFeeAddInfo.feeTypeCd != '888800010006' || $that.roomCreateFeeAddInfo.feeFlag == '1003006'){ + if ($that.roomCreateFeeAddInfo.feeTypeCd != '888800010006' || $that.roomCreateFeeAddInfo.feeFlag == '1003006') { $that.roomCreateFeeAddInfo.endTime = ''; } $that.roomCreateFeeAddInfo.feeConfigs.forEach(item => { diff --git a/public/components/property/roomTreeDiv/roomTreeDiv.js b/public/components/property/roomTreeDiv/roomTreeDiv.js index a4c94f7fa..126765f72 100644 --- a/public/components/property/roomTreeDiv/roomTreeDiv.js +++ b/public/components/property/roomTreeDiv/roomTreeDiv.js @@ -107,6 +107,7 @@ function(json, res) { let listRoomData = JSON.parse(json); if (listRoomData.total < 1) { + vc.toast('未找到房屋'); return; } listRoomData.rooms.forEach(_room => {