|
@@ -726,14 +726,17 @@
|
|
|
before = after;
|
|
before = after;
|
|
|
after = temp;
|
|
after = temp;
|
|
|
}
|
|
}
|
|
|
- this.endWeek = '周' + e.lunar.ncWeek.substring(2, 3)
|
|
|
|
|
- this.startTime = before.substring(5, 7) + '月' + before.substring(8, 10) + '日'
|
|
|
|
|
- this.endTime = after.substring(5, 7) + '月' + after.substring(8, 10) + '日'
|
|
|
|
|
- this.startDate = before + ' 14:00:00'
|
|
|
|
|
- this.endDate = after + ' 12:00:00'
|
|
|
|
|
- this.ruzhu_num = parseInt(((new Date(after).getTime()) - (new Date(before).getTime())) / 1000 / 60 / 60 / 24)
|
|
|
|
|
|
|
+ this.endWeek = '周' + e.lunar.ncWeek.substring(2, 3);
|
|
|
|
|
+ var tmp = this.startWeek;
|
|
|
|
|
+ this.startWeek = this.endWeek;
|
|
|
|
|
+ this.endWeek = tmp;
|
|
|
|
|
+ this.startTime = before.substring(5, 7) + '月' + before.substring(8, 10) + '日';
|
|
|
|
|
+ this.endTime = after.substring(5, 7) + '月' + after.substring(8, 10) + '日';
|
|
|
|
|
+ this.startDate = before + ' 14:00:00';
|
|
|
|
|
+ this.endDate = after + ' 12:00:00';
|
|
|
|
|
+ this.ruzhu_num = parseInt(((new Date(after).getTime()) - (new Date(before).getTime())) / 1000 / 60 / 60 / 24);
|
|
|
if (this.endDate != ' 12:00:00') {
|
|
if (this.endDate != ' 12:00:00') {
|
|
|
- this.getRoomType()
|
|
|
|
|
|
|
+ this.getRoomType();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|