优化访

This commit is contained in:
java110 2022-07-13 17:21:30 +08:00
parent a99209bc19
commit 5525366346
5 changed files with 7 additions and 4 deletions

View File

@ -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;
}

View File

@ -37,6 +37,7 @@
},
_initEvent: function() {
vc.on('addProxyFee', 'openAddProxyFeeModal', function(_param) {
vc.component.clearAddProxyFeeInfo();
if (_param.hasOwnProperty("objType")) {
$that.addProxyFeeInfo.objType = _param.objType;
}

View File

@ -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) {

View File

@ -107,6 +107,7 @@
function(json, res) {
let listRoomData = JSON.parse(json);
if (listRoomData.total < 1) {
vc.toast('未找到房屋');
return;
}
listRoomData.rooms.forEach(_room => {