2 Commits 250c9cd7ba ... a45df35229

Author SHA1 Message Date
  LiChengjin a45df35229 opt:添加顾客页面输入框增加提示 1 month ago
  LiChengjin c816ad9634 opt:选择房间类型页面中默认显示时间选择器 1 month ago

+ 3 - 3
subpkg_checkin/addGuest/addGuest.vue

@@ -15,14 +15,14 @@
 			</view>
 			<u-form labelPosition="left" labelWidth="180rpx">
 				<u-form-item label="姓名" prop="name">
-					<u-input v-model="name" border="none" clearable fontSize="36rpx"></u-input>
+					<u-input v-model="name" border="none" clearable fontSize="36rpx" placeholder="请输入姓名"></u-input>
 				</u-form-item>
 				<u-form-item label="手机号" prop="phone">
 					<u-input v-model="phone" border="none" clearable fontSize="36rpx" type="number"
-						maxlength="11"></u-input>
+						maxlength="11" placeholder="请输入手机号码"></u-input>
 				</u-form-item>
 				<u-form-item label="身份证" prop="idNumber">
-					<u-input v-model="idNumber" border="none" clearable fontSize="36rpx"></u-input>
+					<u-input v-model="idNumber" border="none" clearable fontSize="36rpx" placeholder="请输入身份证号码"></u-input>
 				</u-form-item>
 			</u-form>
 			<view class="btn-container">

+ 5 - 3
subpkg_checkin/selectRoomType/selectRoomType.vue

@@ -68,7 +68,7 @@
 		data() {
 			return {
 				roomTypeList: {},
-				showCalendar: false,
+				showCalendar: true,
 				defaultDate: [],
 				arrowPicPath: '/static/arrow.png',
 				startDate: '',
@@ -86,7 +86,8 @@
 				//根据起始时间到第二天的边界时间来算天数
 				let checkinBoundaryTimeSet = this.currentHotel.checkinBoundaryTime
 				let end = new Date(this.endDate)
-				let endTime = checkinBoundaryTimeSet ? this.currentHotel.checkinBoundaryTime.split(":") : "06:00:00".split(":")
+				let endTime = checkinBoundaryTimeSet ? this.currentHotel.checkinBoundaryTime.split(":") : "06:00:00".split(
+					":")
 				end.setHours(endTime[0], endTime[1], endTime[2])
 				let num = ((new Date(end)).valueOf() - (new Date(this.startDate)).valueOf()) / (24 * 60 * 60 *
 					1000)
@@ -140,7 +141,8 @@
 			this.startDay = getDay(new Date().getDay())
 			//入住时间早于边界时间,默认当天结束
 			//入住时间晚于边界时间,默认第二天结束
-			let checkinBoundaryTime = this.currentHotel.checkinBoundaryTime ? this.currentHotel.checkinBoundaryTime : "06:00:00"
+			let checkinBoundaryTime = this.currentHotel.checkinBoundaryTime ? this.currentHotel.checkinBoundaryTime :
+				"06:00:00"
 			let boundaryTime = new Date(
 				now.getFullYear() + '/' + (now.getMonth() + 1) + '/' + now.getDate() +
 				' ' + checkinBoundaryTime)