Commit 3549f15f authored by 黄媛媛's avatar 黄媛媛

update

parent 06a68a23
......@@ -32,11 +32,52 @@ export const pub={
hotel:'ホテル',
roomtype:'部屋タイプ',
fangxing:'房型タイプ',
state:'状',
state:'状',
cancel:'キャンセル',
rzStartTime:'入居開始日時',
rzEndTime:'入居終了日時',
order:'注文番号',
hotelInfo:'ホテル情報',
dfNumber:'注文数',
totalMoney:'総額',
rzInfo:'入居情報',
orderState:'注文状態',
caozuo:'操作',
fangxingName:'型の名称',
starsingal:'星',
date:'日付',
price:'価格',
rzTime:'入居期日',
tfDtate:'チェックアウト日時',
yjddDate:'お店まで時間を取る予定です',
email:'メール',
phone:'電話',
caozuorz:'操作履歴',
passengerlist:'客リスト',
nodata:'一時データ',
neirong:'内容',
cjPerson:'設立者',
cjTime:'創建時期',
back:'戻る',
shangjia:'やむを得ず',
xiajia:'下機',
type:'タイプ',
todayPrice:'今日の料金',
picture:'写真',
time:'時期',
weisheding:'未設定',
roomPic:'部屋の写真を見る',
zanwu:'しばらく',
sheding:'設定',
baojia:'オファー',
miaoshu:'記述',
roomarea:'面積',
lou:'階',
chuangxing:'窓型',
shiwaijg:'屋外景観',
bedxing:'ベッド型',
kuandai:'ブロードバンド',
sfkyjc:'加床可能かどうか',
jiacPrice:'プレス価格',
}
\ No newline at end of file
......@@ -38,4 +38,50 @@ export const pub={
rzEndTime:'入住结束日期',
order:'订单号',
hotelInfo:'酒店信息',
dfNumber:'订房数量',
totalMoney:'总金额',
rzInfo:'入住信息',
orderState:'订单状态',
caozuo:'操作',
fangxingName:'房型名称',
starsingal:'星',
date:'日期',
price:'价格',
rzTime:'入住日期',
tfDtate:'退房日期',
yjddDate:'预计到店时间',
email:'邮箱',
phone:'电话',
caozuorz:'操作日志',
passengerlist:'旅客名单',
nodata:'暂无数据',
neirong:'内容',
cjPerson:'创建人',
cjTime:'创建时间',
back:'返回',
shangjia:'上架',
xiajia:'下架',
type:'类型',
todayPrice:'今日卖价',
picture:'图片',
time:'时间',
weisheding:'未设定',
roomPic:'房型图片',
zanwu:'暂无',
sheding:'设定',
baojia:'报价',
miaoshu:'描述',
roomarea:'面积',
lou:'楼',
chuangxing:'窗型',
shiwaijg:'室外景观',
bedxing:'床型',
kuandai:'宽带',
sfkyjc:'是否可以加床',
jiacPrice:'加床价格',
}
\ No newline at end of file
......@@ -68,7 +68,7 @@
</template>
</vxe-table-column>
<vxe-table-column field="StatusStr" :title="$t('pub.hotelState')" align="center" ></vxe-table-column>
<vxe-table-column field="address" title="操作" align="center" width="150">
<vxe-table-column field="address" :title="$t('pub.caozuo')" align="center" width="150">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" :content="$t('pub.update')" placement="top">
<el-button type="success" @click="Edit(row)" icon="iconfont iconxiugaiziliao" circle style="padding:5px;">
......
......@@ -107,11 +107,11 @@
<tr>
<th title="订单号" style="width:75px" class="tdCenter">{{$t('pub.order')}}</th>
<th title="酒店信息" style="width:140px" class="tdCenter">{{$t('pub.hotelInfo')}}</th>
<th title="订房数量" style="width:60px" class="tdCenter">注文数</th>
<th title="总金额" style="width:60px" class="tdCenter">総額</th>
<th title="入住信息" style="width:130px" class="tdCenter">入居情報</th>
<th title="订单状态" style="width:70px" class="tdCenter">注文状態</th>
<th title="操作" style="width:100px" class="tdCenter">操作</th>
<th title="订房数量" style="width:60px" class="tdCenter">{{$t('pub.dfNumber')}}</th>
<th title="总金额" style="width:60px" class="tdCenter">{{$t('pub.totalMoney')}}</th>
<th title="入住信息" style="width:130px" class="tdCenter">{{$t('pub.rzInfo')}}</th>
<th title="订单状态" style="width:70px" class="tdCenter">{{$t('pub.orderState')}}</th>
<th title="操作" style="width:100px" class="tdCenter">{{$t('pub.caozuo')}}</th>
</tr>
<tbody v-for="(item,index) in dataList" :key="index">
<tr>
......@@ -123,17 +123,17 @@
<td class="tdLeft">
<span class="colorRed"> {{item.SHotelName}}</span>
<br />
型の名称:<span title="房型信息" class="colorRed">{{item.RoomName}}</span>
{{$t('pub.fangxingName')}}:<span title="房型信息" class="colorRed">{{item.RoomName}}</span>
<br />
星: <span title="酒店星级" class="colorRed">{{item.SHotelStar}}</span>
{{$t('pub.star')}}: <span title="酒店星级" class="colorRed">{{item.SHotelStar}}{{$t('pub.starsingal')}}</span>
</td>
<td class="tdCenter">{{item.RoomNum}}</td>
<td class="tdCenter">
<el-popover width="300" trigger="click">
<table style="width:100%;" class="myTable miniTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="90" style="height:30px;" align="center" title="日期">日付</th>
<th width="90" align="center" title="价格">価格</th>
<th width="90" style="height:30px;" align="center" title="日期">{{$t('pub.date')}}</th>
<th width="90" align="center" title="价格">{{$t('pub.price')}}</th>
</tr>
<tr v-for="(subItem,subIndex) in item.PriceList" :key="subIndex">
<td align="center">{{subItem.Date}}</td>
......@@ -146,11 +146,11 @@
</el-popover>
</td>
<td class="tdLeft">
入居期日<span title="入住日期" class="colorRed">{{item.CheckInDate}}</span> <br />
チェックアウト日時<span title="退房日期" class="colorRed">{{item.CheckOutDate}}</span> <br />
お店まで時間を取る予定です<span title="预计到店时间" class="colorRed">{{item.PredictTime}}</span><br />
メール: {{item.Email}} <br />
電話{{item.Mobile}}<br />
{{$t('pub.rzTime')}}<span title="入住日期" class="colorRed">{{item.CheckInDate}}</span> <br />
{{$t('pub.tfDtate')}}<span title="退房日期" class="colorRed">{{item.CheckOutDate}}</span> <br />
{{$t('pub.yjddDate')}}<span title="预计到店时间" class="colorRed">{{item.PredictTime}}</span><br />
{{$t('pub.email')}} {{item.Email}} <br />
{{$t('pub.phone')}}{{item.Mobile}}<br />
</td>
......@@ -159,10 +159,10 @@
{{item.OrderStatus==1?'正常':'取消'}}
</td>
<td class="tdCenter">
<el-tooltip class="item" effect="dark" content="キャンセル" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('pub.cancel')" placement="top">
<img @click="DeleteOrder(item)" style="width:24px;height:24px" src="../../assets/img/qx.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="操作履歴" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('pub.caozuorz')" placement="top">
<img @click="OperationCaozuo(item)" style="width:24px;height:24px" src="../../assets/img/czrz.png"
alt="" />
</el-tooltip>
......@@ -170,14 +170,14 @@
</tr>
<tr>
<td colspan="7" title="旅客名单" class="tdLeft">
客リスト<span class="HotelOderName" v-for="(subItem,subIndex) in item.GuestList"
{{$t('pub.passengerlist')}}<span class="HotelOderName" v-for="(subItem,subIndex) in item.GuestList"
:key="subIndex">{{subItem.Name}}</span>
</td>
</tr>
</tbody>
<tbody v-if="dataList.length==0">
<tr>
<td colspan="8" class="tdCenter" title="暂无数据">一時データ</td>
<td colspan="8" class="tdCenter" title="暂无数据">{{$t('pub.nodata')}}</td>
</tr>
</tbody>
</table>
......@@ -186,13 +186,13 @@
</el-pagination>
</div>
<!-- 操作日志 -->
<el-dialog title="操作日志" :visible.sync="caozuoState" top="0" width="600px">
<el-dialog :title="$t('pub.caozuorz')" :visible.sync="caozuoState" top="0" width="600px">
<table style="min-width:100%" class="myTable miniTable" v-loading="loading2" border="0" cellspacing="0"
cellpadding="0">
<thead>
<th width='200' title="内容">内容</th>
<th title="创建人">設立者</th>
<th title="创建时间">創建時期</th>
<th width='200' title="内容">{{$t('pub.neirong')}}</th>
<th title="创建人">{{$t('pub.cjPerson')}}</th>
<th title="创建时间">{{$t('pub.cjTime')}}</th>
</thead>
<tbody>
<tr v-for="(item, index) in OperationList" :key="index">
......@@ -203,7 +203,7 @@
</td>
</tr>
<tr v-show="OperationList.length == 0" title="暂无数据">
<td colspan="3" align="center">一時データ</td>
<td colspan="3" align="center">{{$t('pub.nodata')}}</td>
</tr>
</tbody>
</table>
......
......@@ -59,7 +59,7 @@
<th style="text-align:center" title="直客价格人民币">顧客価格は人民元</th>
<th style="text-align:center" title="是否含税">税込みかどうか</th>
<th style="text-align:center" title="库存数量">在庫数量</th>
<th style="text-align:center">操作</th>
<th style="text-align:center">{{$t('pub.caozuo')}}</th>
</tr>
<tr v-for="(childItem,childIndex) in subItem.data.SubList" :key="childIndex">
<td style="text-align:center;white-space:nowrap; ">
......@@ -88,10 +88,10 @@
</td>
<td style="text-align:center;white-space:nowrap;">
<a style="text-decoration:underline;cursor:pointer;color:#089bab;"
@click="GetRoomPrice(childItem)">修正</a>&nbsp;
@click="GetRoomPrice(childItem)">{{$t('pub.update')}}</a>&nbsp;
<a style="text-decoration:underline;cursor:pointer;color:#089bab;"
@click="DeleteRoomPrice(childItem)">削除</a>
@click="DeleteRoomPrice(childItem)">{{$t('pub.delete')}}</a>
</td>
</tr>
</table>
......
<template>
<div class="RoomList">
<div class="routerTitle">
<span class="pageTitle">お部屋タイプ</span>
<span class="pageTitle">{{$t('pub.roomList')}}</span>
<span @click="morequery = !morequery" style="display:inline-flex;align-items:center;cursor: pointer;"
class="f12 cd6">
<span style="margin-right:5px">{{$t('pub.searchmore')}}</span>
......@@ -11,92 +11,92 @@
<span @click="getList" style="margin-left:20px" class="chaxunSpan">{{$t('pub.search')}}</span>
<span @click="addHotel()" style="margin-left:20px" class="addSpan">
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="" />
新規</span>
{{$t('pub.add')}}</span>
<span title="返回" @click="goUrlHotel()" style="margin-left:20px" class="addSpan">
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/search.png" alt="" />
戻る</span>
{{$t('pub.back')}}</span>
</div>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.RoomName" placeholder="型の名称" title="房间名称"></el-input>
<el-input class="w200" size="small" v-model="msg.RoomName" :placeholder="$t('pub.fangxingName')" title="房间名称"></el-input>
</li>
<li>
<el-select size="small" v-model="msg.HotelId" placeholder="ホテル" filterable title="酒店">
<el-select size="small" v-model="msg.HotelId" :placeholder="$t('pub.hotel')" filterable title="酒店">
<el-option v-for="item in HotelList" :key="item.SID" :label="item.SHotelName" :value="item.SID">
</el-option>
</el-select>
</li>
<li>
<el-select size="small" v-model="msg.RoomType" placeholder="房型タイプ" clearable filterable title="房间类型">
<el-select size="small" v-model="msg.RoomType" :placeholder="$t('pub.fangxing')" clearable filterable title="房间类型">
<el-option v-for="item in RoomTypeList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</li>
<li>
<el-select clearable size="small" v-model="msg.RoomStatus" placeholder="状態" title="状態">
<el-select clearable size="small" v-model="msg.RoomStatus" :placeholder="$t('pub.state')" title="状態">
<el-option :label="$t('pub.nolimit')" :value="0"></el-option>
<el-option label="やむを得ず" :value="1"></el-option>
<el-option label="下機" :value="2"></el-option>
<el-option :label="$t('pub.shangjia')" :value="1"></el-option>
<el-option :label="$t('pub.xiajia')" :value="2"></el-option>
</el-select>
</li>
</ul>
<table class="commonMoreTable" v-loading="loading" border="0" cellspacing="0" cellpadding="0">
<tr>
<th title="房型" style="width:100px;" class="tdCenter">房型</th>
<th title="类型" style="width:100px;" class="tdCenter">タイプ</th>
<th title="今日卖价" style="width:80px;" class="tdCenter">今日の料金</th>
<th title="房型" style="width:100px;" class="tdCenter">{{$t('pub.fangxing')}}</th>
<th title="类型" style="width:100px;" class="tdCenter">{{$t('pub.type')}}</th>
<th title="今日卖价" style="width:80px;" class="tdCenter">{{$t('pub.todayPrice')}}</th>
<th title="状态" style="width:80px;" class="tdCenter">{{$t('pub.state')}}</th>
<th title="图片" style="width:80px;" class="tdCenter">写真</th>
<th title="创建人/创建时间" style="width:80px;" class="tdCenter">操作者/時間</th>
<th title="操作" style="width:150px;" class="tdCenter">操作</th>
<th title="图片" style="width:80px;" class="tdCenter">{{$t('pub.picture')}}</th>
<th title="创建人/创建时间" style="width:80px;" class="tdCenter">{{$t('pub.cjPerson')}}/{{$t('pub.time')}}</th>
<th title="操作" style="width:150px;" class="tdCenter">{{$t('pub.caozuo')}}</th>
</tr>
<tbody v-for="(item,index) in dataList" :key="index">
<tr>
<td style="border-bottom:2px solid #000" rowspan="2" class="tdLeft">{{item.RoomName}}</td>
<td style="border-bottom:2px solid #000" rowspan="2" class="tdLeft">{{item.RoomTypeName}}</td>
<td class="tdCenter">
<span v-if="item.ToDayMoney==0">未設定</span>
<span v-if="item.ToDayMoney==0">{{$t('pub.weisheding')}}</span>
<span v-else>{{item.ToDayMoney}}</span>
</td>
<td class="tdCenter">
<span v-if="item.RoomStatus==1">やむを得ず</span>
<span v-if="item.RoomStatus==2">下機</span>
<span v-if="item.RoomStatus==1">{{$t('pub.shangjia')}}</span>
<span v-if="item.RoomStatus==2">{{$t('pub.xiajia')}}</span>
</td>
<td class="tdCenter">
<span style="cursor: pointer;" v-if="item.ImageList.length>0" @click="SeeImg(item)">部屋の写真を見る</span>
<span v-if="item.ImageList.length==0">しばらく</span>
<span style="cursor: pointer;" v-if="item.ImageList.length>0" @click="SeeImg(item)">{{$t('pub.roomPic')}}</span>
<span v-if="item.ImageList.length==0">{{$t('pub.zanwu')}}</span>
</td>
<td class="tdCenter">
<p>{{ item.UpdateByName }}</p>
<p>{{ item.UpdateTime }}</p>
</td>
<td class="tdCenter">
<el-tooltip class="item" effect="dark" content="修正" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('pub.update')" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="削除" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('pub.delete')" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/qx.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="設定" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('pub.sheding')" placement="top">
<img @click="SetRow(item)" style="width:24px;height:24px" src="../../assets/img/sz.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="报价" placement="top">
<el-tooltip class="item" effect="dark" :content="$t('pub.baojia')" placement="top">
<img @click="goUrl(item)" style="width:24px;height:24px" src="../../assets/img/pdsh.png" alt="" />
</el-tooltip>
</td>
</tr>
<tr>
<td style="border-bottom:2px solid #000" colspan="5" title="描述" class="tdLeft">
<span>記述:{{item.Description}}</span>
<span v-if="item.Area && item.Area!=''">面積:{{item.Area}}</span>
<span v-if="item.Floor && item.Floor!=''">:{{item.Floor}}</span>
<span v-if="item.WindoWCut && item.WindoWCut!=''">窓型:{{item.WindoWCut}}</span>
<span v-if="item.Landscape && item.Landscape!=''">屋外景観:{{item.Landscape}}</span>
<span v-if="item.BedType && item.BedType!=''">ベッド型:{{item.BedType}}</span>
<span v-if="item.BroadBandName && item.BroadBandName!=''">ブロードバンド:{{item.BroadBandName}}</span>
<span>加床可能かどうか:<span v-if="item.IsExtraBed==1"></span><span v-if="item.IsExtraBed==2">いいえ</span></span>
<span v-if="item.ExtraBedMoney && item.ExtraBedMoney!=''">プレス価格:{{item.ExtraBedMoney}}(ベッド/毎夜)</span>
<span> {{$t('pub.miaoshu')}}:{{item.Description}}</span>
<span v-if="item.Area && item.Area!=''">{{$t('pub.roomarea')}}:{{item.Area}}</span>
<span v-if="item.Floor && item.Floor!=''">{{$t('pub.lou')}}:{{item.Floor}}</span>
<span v-if="item.WindoWCut && item.WindoWCut!=''">{{$t('pub.chuangxing')}}:{{item.WindoWCut}}</span>
<span v-if="item.Landscape && item.Landscape!=''">{{$t('pub.shiwaijg')}}:{{item.Landscape}}</span>
<span v-if="item.BedType && item.BedType!=''">{{$t('pub.bedxing')}}:{{item.BedType}}</span>
<span v-if="item.BroadBandName && item.BroadBandName!=''">{{$t('pub.kuandai')}}:{{item.BroadBandName}}</span>
<span>{{$t('pub.sfkyjc')}}:<span v-if="item.IsExtraBed==1"></span><span v-if="item.IsExtraBed==2">いいえ</span></span>
<span v-if="item.ExtraBedMoney && item.ExtraBedMoney!=''">{{$t('pub.jiacPrice')}}:{{item.ExtraBedMoney}}(ベッド/毎夜)</span>
<span>喫煙室かどうか:<span v-if="item.IsSmoke==1"></span><span v-if="item.IsSmoke==2">いいえ</span></span>
<span v-if="item.MealsName && item.MealsName!=''">、食事:{{item.MealsName}}</span>
<span v-if="item.RoomFacility && item.RoomFacility!=''">,客室施設:
......@@ -107,7 +107,7 @@
</tbody>
<tbody v-if="dataList.length==0">
<tr>
<td colspan="7" style="text-align:center;" title="暂无数据">一時データ</td>
<td colspan="7" style="text-align:center;" title="暂无数据">{{$t('pub.nodata')}}</td>
</tr>
</tbody>
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment