| | |
| | | $('#editApplyRoomDiscountRecordModel').modal('show'); |
| | | vc.copyObject(_params, vc.component.editApplyRoomDiscountRecordInfo); |
| | | vc.component.editApplyRoomDiscountRecordInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | vc.component.editApplyRoomDiscountRecordInfo.startTime = $that.formatDate(_params.startTime); |
| | | vc.component.editApplyRoomDiscountRecordInfo.endTime = $that.formatDate(_params.endTime); |
| | | }); |
| | | }, |
| | | methods: { |
| | | formatDate: function(dateString) { |
| | | if (!dateString) return ''; // 如果没有日期字符串,则返回空字符串 |
| | | return dateString.split(' ')[0]; // 返回日期部分 |
| | | }, |
| | | _initEditApplyRoomDiscountRecordInfo: function () { |
| | | $('.startTime').datetimepicker({ |
| | | minView: "month", |
| | | language: 'zh-CN', |
| | | fontAwesome: 'fa', |
| | | format: 'yyyy-mm-dd hh:ii:ss', |
| | | format: 'yyyy-mm-dd', |
| | | initTime: true, |
| | | initialDate: new Date(), |
| | | autoClose: 1, |
| | |
| | | minView: "month", |
| | | language: 'zh-CN', |
| | | fontAwesome: 'fa', |
| | | format: 'yyyy-mm-dd hh:ii:ss', |
| | | format: 'yyyy-mm-dd', |
| | | initTime: true, |
| | | initialDate: new Date(), |
| | | autoClose: 1, |
| | |
| | | let listRoomData = JSON.parse(json); |
| | | if (listRoomData.total < 1) { |
| | | vc.toast('未找到房屋'); |
| | | return; |
| | | // return; |
| | | } |
| | | listRoomData.rooms.forEach(_room => { |
| | | let _text = _room.roomNum; |
| | |
| | | roomName: listRoomData.rooms[0].floorNum + "-" + listRoomData.rooms[0].unitNum + "-" + listRoomData.rooms[0].roomNum, |
| | | roomId: listRoomData.rooms[0].roomId |
| | | }) |
| | | }else{ |
| | | vc.emit($that.roomTreeDivInfo.callName, 'selectRoom', { |
| | | roomName: '', |
| | | roomId: '' |
| | | }) |
| | | } |
| | | }, |
| | | function (errInfo, error) { |
| | |
| | | <div class="ibox"> |
| | | <div class="ibox-title"> |
| | | <h5> |
| | | <vc:i18n name="在场车辆" namespace="tempCarPayment"></vc:i18n> |
| | | <vc:i18n name="临时车辆" namespace="tempCarPayment"></vc:i18n> |
| | | </h5> |
| | | <div class="ibox-tools" style="top:10px;"></div> |
| | | </div> |
| | |
| | | <vc:i18n name="进场时间" namespace="tempCarPayment"></vc:i18n> |
| | | </th> |
| | | <th class="text-center"> |
| | | <vc:i18n name="出场时间" namespace="tempCarPayment"></vc:i18n> |
| | | </th> |
| | | <th class="text-center"> |
| | | <vc:i18n name="收费类型" namespace="tempCarPayment"></vc:i18n> |
| | | </th> |
| | | <th class="text-center"> |
| | |
| | | <th class="text-center"> |
| | | <vc:i18n name="支付时间" namespace="tempCarPayment"></vc:i18n> |
| | | </th> |
| | | <th class="text-center"> |
| | | <vc:i18n name="缴费状态" namespace="tempCarPayment"></vc:i18n> |
| | | </th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <td class="text-center">{{carIn.carInout == '3306'?'进场':'出场'}}</td> |
| | | <td class="text-center">{{carIn.carNum}}</td> |
| | | <td class="text-center">{{carIn.inTime}}</td> |
| | | <td class="text-center">{{carIn.inTime}}</td> |
| | | <td class="text-center">{{carIn.payTypeName}}</td> |
| | | <td class="text-center">{{carIn.payCharge}}</td> |
| | | <td class="text-center">{{carIn.realCharge}}</td> |
| | | <td class="text-center">{{carIn.createTime}}</td> |
| | | <td class="text-center">{{carIn.createTime}}</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | |
| | | v-on:click="_openCarCreateFeeAddModal(null,true)"> |
| | | <vc:i18n name="批量创建" namespace="carCreateFee"></vc:i18n> |
| | | </button> |
| | | <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px" |
| | | <!-- <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px" |
| | | v-on:click="_toBuyCarMonthCard()"> |
| | | <vc:i18n name="购买月卡" namespace="carCreateFee"></vc:i18n> |
| | | </button> |
| | | </button> --> |
| | | </div> |
| | | </div> |
| | | <div class="ibox-content"> |
| | |
| | | <vc:i18n name="续租" namespace="listOwnerCar"></vc:i18n> |
| | | </button> |
| | | </div> |
| | | <div class="btn-group"> |
| | | <!-- <div class="btn-group"> |
| | | <button class="btn-white btn btn-xs" v-if="car.leaseType == 'H'" v-on:click="_toBuyCarMonthCard(car)"> |
| | | <vc:i18n name="买月卡" namespace="listOwnerCar"></vc:i18n> |
| | | </button> |
| | | </div> |
| | | </div> --> |
| | | <div class="btn-group" v-if="car.carTypeCd != '1003'"> |
| | | <button class="btn-white btn btn-xs" v-on:click="_openEditOwnerCar(car)" |
| | | v-if="vc.hasPrivilege('502023032804261679')"> |