|
@@ -48,19 +48,19 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="expandedStatus == 1" class="row-top no-scorll" style="display: flex; height:500px;overflow-y:hidden;">
|
|
|
|
|
|
|
+ <div v-if="expandedStatus == 1" class="row-top no-scorll" style="display: flex; height:585px;overflow-y:hidden;">
|
|
|
<div class="lefter row-top" ref="leftScrl" @scroll="leftScroll"
|
|
<div class="lefter row-top" ref="leftScrl" @scroll="leftScroll"
|
|
|
- style="flex-direction: column;width: fit-content;width: 210px; height:calc(500px - 9px);overflow-y:auto;overflow-x:hidden;">
|
|
|
|
|
|
|
+ style="flex-direction: column;width: fit-content;width: 210px; height:calc(585px - 9px);overflow-y:auto;overflow-x:hidden;">
|
|
|
<div class="top-header" style="width: fit-content;" v-for="(item, index) in data" :key="index">
|
|
<div class="top-header" style="width: fit-content;" v-for="(item, index) in data" :key="index">
|
|
|
<div class="left-wrapper">
|
|
<div class="left-wrapper">
|
|
|
- <div class="wrapper-td date-selection left-content" :style="{ height: `${100 * (item.rooms.length)}px`, borderLeft:'none' }">
|
|
|
|
|
|
|
+ <div class="wrapper-td date-selection left-content" :style="{ height: `${67 * (item.rooms.length)}px`, borderLeft:'none' }">
|
|
|
<div class="wrapper-td-flex">
|
|
<div class="wrapper-td-flex">
|
|
|
{{ item.name }}
|
|
{{ item.name }}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div style="display: flex; flex-direction: column;">
|
|
<div style="display: flex; flex-direction: column;">
|
|
|
<div class="wrapper-td date-selection left-content" :key="roomIndex"
|
|
<div class="wrapper-td date-selection left-content" :key="roomIndex"
|
|
|
- style="border-right:1px solid #CDCDCDCC;height: 100px;" v-for="(room, roomIndex) in item.rooms">
|
|
|
|
|
|
|
+ style="border-right:1px solid #CDCDCDCC;height: 67px;" v-for="(room, roomIndex) in item.rooms">
|
|
|
<a-popover placement="right">
|
|
<a-popover placement="right">
|
|
|
<template slot="content">
|
|
<template slot="content">
|
|
|
<div v-if="room.roomStatus == 6" style="text-align: left;">
|
|
<div v-if="room.roomStatus == 6" style="text-align: left;">
|
|
@@ -105,9 +105,9 @@
|
|
|
<div class="wrapper-header" style="flex: 1; overflow-x: auto;height: 100%;overflow-y: auto; cursor: pointer;"
|
|
<div class="wrapper-header" style="flex: 1; overflow-x: auto;height: 100%;overflow-y: auto; cursor: pointer;"
|
|
|
@scroll="exterHandleScroll" ref="systemForm">
|
|
@scroll="exterHandleScroll" ref="systemForm">
|
|
|
<div v-for="(sItem, sIndex) in data" :key="sIndex">
|
|
<div v-for="(sItem, sIndex) in data" :key="sIndex">
|
|
|
- <div v-for="(rItem, rIndex) in sItem.rooms" :key="rIndex" style="height:100px;">
|
|
|
|
|
|
|
+ <div v-for="(rItem, rIndex) in sItem.rooms" :key="rIndex" style="height:67px;">
|
|
|
<div class="wrapper-item data-row">
|
|
<div class="wrapper-item data-row">
|
|
|
- <div class="wrapper-td " :key="index" v-for="(item, index) in columns" style="height:100px;"
|
|
|
|
|
|
|
+ <div class="wrapper-td " :key="index" v-for="(item, index) in columns" style="height:67px;"
|
|
|
@mouseenter="onMouseenter($event, `${sIndex}_${rIndex}_${index}`)" @mouseleave="onMouseleave">
|
|
@mouseenter="onMouseenter($event, `${sIndex}_${rIndex}_${index}`)" @mouseleave="onMouseleave">
|
|
|
<div class="wrapper-td-flex align-left"
|
|
<div class="wrapper-td-flex align-left"
|
|
|
v-if="tax == `${sIndex}_${rIndex}_${index}` && !inDateRange(`${sIndex}_${rIndex}_${index}`)"
|
|
v-if="tax == `${sIndex}_${rIndex}_${index}` && !inDateRange(`${sIndex}_${rIndex}_${index}`)"
|
|
@@ -116,17 +116,15 @@
|
|
|
<div
|
|
<div
|
|
|
style="width: 100%; display: flex; flex-direction: column;justify-content: center;align-items: start;">
|
|
style="width: 100%; display: flex; flex-direction: column;justify-content: center;align-items: start;">
|
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
|
- <span>{{ rItem.layoutName }}</span>
|
|
|
|
|
- <div style="flex: 1;width: 1px;"></div>
|
|
|
|
|
- <span>{{ rItem.name }}</span>
|
|
|
|
|
|
|
+ <span style="font-size: 0.4rem">{{ rItem.layoutName }}</span>
|
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
|
- <span>¥{{ rItem.marketPrice }}</span>
|
|
|
|
|
|
|
+ <span style="font-size: 0.4rem">¥{{ rItem.marketPrice }}</span>
|
|
|
<div v-if="checkDateLt(item)" style="height:1px;width: 100%;background-color: #CDCDCDaa;"></div>
|
|
<div v-if="checkDateLt(item)" style="height:1px;width: 100%;background-color: #CDCDCDaa;"></div>
|
|
|
<span v-if="checkDateLt(item)" style="position: relative;left: -10px;">
|
|
<span v-if="checkDateLt(item)" style="position: relative;left: -10px;">
|
|
|
- <a-button type="link" size="small" @click="scheduleClick(rItem)">
|
|
|
|
|
|
|
+ <a-button type="link" size="small" @click="scheduleClick(rItem,item.date)" style="font-size: 0.4rem">
|
|
|
预定
|
|
预定
|
|
|
</a-button>
|
|
</a-button>
|
|
|
- <a-button type="link" size="small" v-if="checkDateLt(item, 1)" @click="handleMenuClick(rItem)">
|
|
|
|
|
|
|
+ <a-button type="link" size="small" v-if="checkDateLt(item, 1)" @click="handleMenuClick(rItem)" style="font-size: 0.4rem">
|
|
|
入住
|
|
入住
|
|
|
</a-button>
|
|
</a-button>
|
|
|
</span>
|
|
</span>
|
|
@@ -173,21 +171,21 @@
|
|
|
<div class="wrapper-td-flex align-left"
|
|
<div class="wrapper-td-flex align-left"
|
|
|
style="color: aliceblue; height: 100%;font-size: smaller;position: relative;z-index: 99;border-radius: 3px; "
|
|
style="color: aliceblue; height: 100%;font-size: smaller;position: relative;z-index: 99;border-radius: 3px; "
|
|
|
:style="{
|
|
:style="{
|
|
|
- width: `${(inDateRange(`${sIndex}_${rIndex}_${index}`).dayCount * 110) - 16}px`, backgroundColor: ((inDateRange(`${sIndex}_${rIndex}_${index}`).data.settleType < 1 ?
|
|
|
|
|
|
|
+ width: `${(inDateRange(`${sIndex}_${rIndex}_${index}`).dayCount * 110) - 4}px`, backgroundColor: ((inDateRange(`${sIndex}_${rIndex}_${index}`).data.settleType < 1 ?
|
|
|
(inDateRange(`${sIndex}_${rIndex}_${index}`).data.isLiving ? 'red' : 'blue') : '#aaa'))
|
|
(inDateRange(`${sIndex}_${rIndex}_${index}`).data.isLiving ? 'red' : 'blue') : '#aaa'))
|
|
|
}" @click="handleBillInfo(inDateRange(`${sIndex}_${rIndex}_${index}`).data)">
|
|
}" @click="handleBillInfo(inDateRange(`${sIndex}_${rIndex}_${index}`).data)">
|
|
|
<span style="color: transparent;">a</span>
|
|
<span style="color: transparent;">a</span>
|
|
|
<div
|
|
<div
|
|
|
style="display: flex; flex-direction: column;justify-content: start;align-items: start;height: 100%;">
|
|
style="display: flex; flex-direction: column;justify-content: start;align-items: start;height: 100%;">
|
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
|
- <span style="word-wrap: break-word; font-weight: 600;">{{
|
|
|
|
|
|
|
+ <span style="word-wrap: break-word;font-size: 0.4rem;">{{
|
|
|
inDateRange(`${sIndex}_${rIndex}_${index}`).data.customerName }}</span>
|
|
inDateRange(`${sIndex}_${rIndex}_${index}`).data.customerName }}</span>
|
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
|
- <span style=" font-weight: 600;">{{
|
|
|
|
|
|
|
+ <span style="font-size: 0.4rem;">{{
|
|
|
getCusSource(inDateRange(`${sIndex}_${rIndex}_${index}`).data.customerSourceId) }}</span>
|
|
getCusSource(inDateRange(`${sIndex}_${rIndex}_${index}`).data.customerSourceId) }}</span>
|
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
<div style="flex: 1;width: 1px;"></div>
|
|
|
<span>
|
|
<span>
|
|
|
- <a-tag color="#000000" v-if="inDateRange(`${sIndex}_${rIndex}_${index}`).data.yuE < 0">
|
|
|
|
|
|
|
+ <a-tag style="padding: 2px !important; height:1rem !important; line-height: 8px;" color="#000000" v-if="inDateRange(`${sIndex}_${rIndex}_${index}`).data.yuE < 0">
|
|
|
欠
|
|
欠
|
|
|
</a-tag>
|
|
</a-tag>
|
|
|
</span>
|
|
</span>
|
|
@@ -210,7 +208,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- <div v-if="expandedStatus == 0" class="row-top no-scorll" style="display: flex; height:500px;overflow-y:hidden;">
|
|
|
|
|
|
|
+ <div v-if="expandedStatus == 0" class="row-top no-scorll" style="display: flex; height:580px;overflow-y:hidden;">
|
|
|
<div class="lefter row-top" ref="leftScrl" @scroll="leftScroll"
|
|
<div class="lefter row-top" ref="leftScrl" @scroll="leftScroll"
|
|
|
style="flex-direction: column;width: fit-content;width: 210px; height:calc(500px - 9px);overflow-y:auto;overflow-x:hidden;">
|
|
style="flex-direction: column;width: fit-content;width: 210px; height:calc(500px - 9px);overflow-y:auto;overflow-x:hidden;">
|
|
|
<div class="top-header" style="width: fit-content;" v-for="(item, index) in data" :key="index">
|
|
<div class="top-header" style="width: fit-content;" v-for="(item, index) in data" :key="index">
|
|
@@ -223,7 +221,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div style="display: flex; flex-direction: column;">
|
|
<div style="display: flex; flex-direction: column;">
|
|
|
<div class="wrapper-td date-selection left-content" :key="roomIndex"
|
|
<div class="wrapper-td date-selection left-content" :key="roomIndex"
|
|
|
- style="border-right:1px solid #CDCDCDCC;height: 100px;" v-for="(room, roomIndex) in item.roomsCount">
|
|
|
|
|
|
|
+ style="border-right:1px solid #CDCDCDCC;height: 67px;" v-for="(room, roomIndex) in item.roomsCount">
|
|
|
<div class="wrapper-td-flex" style="position: relative;">
|
|
<div class="wrapper-td-flex" style="position: relative;">
|
|
|
<span>剩余</span>
|
|
<span>剩余</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -323,9 +321,9 @@ export default {
|
|
|
this.$refs.ModalCleanRoom.title = "清理房间";
|
|
this.$refs.ModalCleanRoom.title = "清理房间";
|
|
|
this.$refs.ModalCleanRoom.disableSubmit = false;
|
|
this.$refs.ModalCleanRoom.disableSubmit = false;
|
|
|
},
|
|
},
|
|
|
- scheduleClick(roomInfo) {
|
|
|
|
|
|
|
+ scheduleClick(roomInfo, date) {
|
|
|
var selectRoom = [roomInfo];
|
|
var selectRoom = [roomInfo];
|
|
|
- this.$refs.ModalScheduleRoom.addList(selectRoom, "1");
|
|
|
|
|
|
|
+ this.$refs.ModalScheduleRoom.addList(selectRoom, "1",date);
|
|
|
this.$refs.ModalScheduleRoom.title = "散客预定登记";
|
|
this.$refs.ModalScheduleRoom.title = "散客预定登记";
|
|
|
this.$refs.ModalScheduleRoom.disableSubmit = false;
|
|
this.$refs.ModalScheduleRoom.disableSubmit = false;
|
|
|
},
|
|
},
|
|
@@ -672,7 +670,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.wrapper-td {
|
|
.wrapper-td {
|
|
|
- padding: 6px 8px;
|
|
|
|
|
|
|
+ padding: 2px 2px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
width: 110px !important;
|
|
width: 110px !important;
|