From 69705a6684bcc27c60570a7167df7d4abf8a8364 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Mon, 26 Oct 2020 08:56:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E8=B4=B9=E7=94=A8=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E6=97=A5=E6=9C=9F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/components/property/editFee/editFee.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/public/components/property/editFee/editFee.js b/public/components/property/editFee/editFee.js index cf07483ea..f41216598 100644 --- a/public/components/property/editFee/editFee.js +++ b/public/components/property/editFee/editFee.js @@ -16,8 +16,12 @@ vc.on('editFee', 'openEditFeeModal', function (_fee) { vc.copyObject(_fee, $that.editFeeInfo); - $that.editFeeInfo.startTime = $that.editFeeInfo.startTime + " 00:00:00"; - $that.editFeeInfo.endTime = $that.editFeeInfo.endTime + " 00:00:00"; + if (_fee.startTime.indexOf(":") == -1) { + $that.editFeeInfo.startTime = $that.editFeeInfo.startTime + " 00:00:00"; + } + if (_fee.endTime.indexOf(":") == -1) { + $that.editFeeInfo.endTime = $that.editFeeInfo.endTime + " 00:00:00"; + } $('#editFeeModel').modal('show'); }); }, @@ -108,8 +112,8 @@ //关闭model $('#editFeeModel').modal('hide'); vc.component.clearAddFeeConfigInfo(); - vc.emit('listRoomFee','notify', {}); - vc.emit('listParkingSpaceFee','notify', {}); + vc.emit('listRoomFee', 'notify', {}); + vc.emit('listParkingSpaceFee', 'notify', {}); return; }