Commit 29223937 authored by 黄奎's avatar 黄奎

页面修改

parent f1f8d1cb
......@@ -335,7 +335,8 @@ export const admin={ //行政
table_operater:'操作人',  
table_operattime:'オペレーテイングタイム',  
table_operat:'オペレーション',    
product_name:'商品名',   
product_name:'商品名',  
product_type_name:'部屋タイプ',  
table_hotelname:'ホテル名',  
table_Address:'ホテル住所',    
table_areaDetail:'詳しい住所を記入してください',   
......@@ -466,7 +467,8 @@ export const admin={ //行政
res_homeFacility:'民宿',                
res_SpringHotel:'温泉ホテル',              
res_package:'コース',                    
res_packageName:'セットメニュー名',             
res_packageName:'セットメニュー名',  
res_package_type_Name:'定食タイプ',            
res_suplierName:'サプライヤー名',             
res_belongArea:'所在地域',               
res_Number:'数',                    
......@@ -510,6 +512,7 @@ export const admin={ //行政
sc_tel:'連絡先',
sc_mpzy:'入場券ソース',
sc_name:'入場券名称',
sc_type_name:'入場券タイプ',
sc_bjts:'見積個数',
sc_dj:'最低価格',
sc_gj:'最高価格',
......
......@@ -346,6 +346,7 @@ export const admin={ //行政
table_operattime:'操作時間',
table_operat:'操作',
product_name:'產品名稱',
product_type_name:'房間類型',
table_hotelname:'酒店名稱',
table_Address:'飯店地址',
table_areaDetail:'請輸入詳細地址',
......@@ -478,6 +479,7 @@ export const admin={ //行政
res_SpringHotel:'溫泉飯店',
res_package:'套餐',
res_packageName:'套餐名稱',
res_package_type_Name:'套餐類型',
res_suplierName:'供應商名稱',
res_belongArea:'所在區域',
res_Number:'數量',
......@@ -521,6 +523,7 @@ export const admin={ //行政
sc_tel:'聯繫電話',
sc_mpzy:'門票資源',
sc_name:'門票名稱',
sc_type_name:'門票類型',
sc_bjts:'報價條數',
sc_dj:'最低價格',
sc_gj:'最高價格',
......
......@@ -346,6 +346,7 @@ export const admin={ //行政
table_operattime:'操作时间',
table_operat:'操作',
product_name:'产品名称',
product_type_name:'房间类型',
table_hotelname:'酒店名称',
table_Address:'酒店地址',
table_areaDetail:'请输入详细地址',
......@@ -478,6 +479,7 @@ export const admin={ //行政
res_SpringHotel:'温泉酒店',
res_package:'套餐',
res_packageName:'套餐名称',
res_package_type_Name:'套餐类型',
res_suplierName:'供应商名称',
res_belongArea:'所在区域',
res_Number:'数量',
......@@ -521,6 +523,7 @@ export const admin={ //行政
sc_tel:'联系电话',
sc_mpzy:'门票资源',
sc_name:'门票名称',
sc_type_name:'门票类型',
sc_bjts:'报价条数',
sc_dj:'最低价格',
sc_gj:'最高价格',
......
......@@ -266,8 +266,7 @@
<el-option v-for="item in HotelTypeList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</span>
</li>
</li>
<li>
<span>
<em>{{$t('Operation.Op_price')}}</em>
......@@ -299,7 +298,6 @@
<div class="reTopInfo" :class="{'comCursorUrl':item.URL}" @click="OpenNewUrl(item.URL)">
<img v-if="!item.PicPath" src="../../assets/img/bg_c3@3x.png">
<img v-else :src='compressImg(item.PicPath, "filt", 213, "")' :onerror="defaultImg">
<!-- <div class="RemainingInventory">{{item.RemainingInventory}}</div> -->
<div class="resTypeList">
<span v-for="(items,index) in item.OpenPlatformList" :key="index"
:class="{'L1':items.ID==1,'L2':items.ID==2,'L3':items.ID==3,'L4':items.ID==4,'L5':items.ID==5}">{{items.Name}}</span>
......@@ -322,7 +320,7 @@
popper-class="max-w250">
<div class="hotelTitle fz12">{{$t('ground.zhenshimingcheng')}}: {{item.HotelRealName}}</div>
</el-tooltip>
<div class="brandList clearfix">
<div class="brandList clearfix" style="display:none;">
<div class="brand">
<i class="iconfont honor icon-img_biaozhi"></i>
{{item.ChainBrand}}
......@@ -349,8 +347,10 @@
</el-tooltip>
<div class="btnList">
<button @click="goSubInfo('HotelInfo',item.ID)" class="hotelBtnMan">{{$t('pub.updateMsg')}}</button>
<button @click="CopyHotel(item.ID)" class="hotelBtnMan">复制</button>
<button v-if="IsHotelPriceStock==1" style="width:80px;" @click="goUrl('HotelProductManage2',item)"
<button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id==QjGroupId()">复制</button>
<button @click="goproduct('HotelProductManage',item)" class="hotelBtnMan">房型</button>
<br/>
<button v-if="IsHotelPriceStock==1" style="width:80px;margin-top:10px;" @click="goUrl('HotelProductManage2',item)"
class="hotelBtnMan">{{$t('ground.baojiayukucun')}}</button>
</div>
</div>
......@@ -363,6 +363,7 @@
export default {
data() {
return {
userInfo:{},//登录用户信息
IsHotelPriceStock: 0, //1-有获取酒店库存与报价添加修改权限
countryList: "",
provinceList: "",
......@@ -529,6 +530,19 @@
}
});
},
//调整到房型列表
goproduct(path, item) {
this.$router.push({
path: path,
query: {
id: item.ID,
Country:item.Country,
IsSelfBook:item.IsSelfBook,
blank: 'y',
tab: '房型列表'
}
});
},
goSubInfo(path, id) {
this.$store.commit("pageConditionUpdate", this.msg);
this.$router.push({
......@@ -576,9 +590,8 @@
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList() {
let userInfo = this.getLocalStorage();
let msg = {
GroupId: userInfo.RB_Group_id,
GroupId: this.userInfo.RB_Group_id,
BranchId: "-1",
DepartmentId: "-1",
PostId: "-1",
......@@ -596,6 +609,7 @@
},
},
mounted() {
this.userInfo=this.getLocalStorage();
this.getEmployeeList();
this.GetHotelPirceStockAuth();
this.getCountryList();
......
......@@ -171,8 +171,11 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('hotel.product_name')" prop="HotelProductType">
<el-select filterable v-model='addMsg.HotelProductType' :placeholder="$t('pub.pleaseSel')">
<el-form-item :label="$t('hotel.product_name')">
<el-input class="w300" type="text" v-model="addMsg.Name" maxlength="20"></el-input>
</el-form-item>
<el-form-item :label="$t('hotel.product_type_name')" prop="HotelProductType" >
<el-select filterable v-model='addMsg.HotelProductType' :placeholder="$t('pub.pleaseSel')" class="w300">
<el-option v-for='item in HotelProductTypeList' :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option>
</el-select>
......@@ -231,7 +234,8 @@
</td>
<td>
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" @click="outerVisible = true,dialogTitle=$t('ground.xiugaijiudcp'),updateProduct(index,item.ID)"
<el-button type="primary"
@click="outerVisible = true,dialogTitle=$t('ground.xiugaijiudcp'),updateProduct(index,item.ID)"
icon="el-icon-edit" circle></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('restaurant.res_bidManage')" placement="top-start">
......
......@@ -73,9 +73,7 @@
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
/*! autoprefixer: off */
-webkit-box-orient: vertical;
/* autoprefixer: on */
-webkit-line-clamp: 2;
}
......@@ -105,8 +103,8 @@
<li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')"
@click="getList(),resetPageIndex()" />
<input type="button" class="normalBtn" @click="resetId(),outerVisible = true,dialogTitle=$t('ground.tianjiataocan')"
:value="$t('pub.addBtn')" />
<input type="button" class="normalBtn"
@click="resetId(),outerVisible = true,dialogTitle=$t('ground.tianjiataocan')" :value="$t('pub.addBtn')" />
</li>
</ul>
</div>
......@@ -179,15 +177,16 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('restaurant.res_packageName')" prop="DiningMealType">
<el-select filterable v-model='addMsg.DiningMealType' :placeholder="$t('pub.pleaseSel')">
<el-form-item :label="$t('restaurant.res_packageName')" prop="MealName">
<el-input class="w300" type="text" v-model="addMsg.MealName" maxlength="20"></el-input>
</el-form-item>
<el-form-item :label="$t('restaurant.res_package_type_Name')" prop="DiningMealType">
<el-select filterable v-model='addMsg.DiningMealType' :placeholder="$t('pub.pleaseSel')" class="w300">
<el-option v-for='item in DiningMealTypeList' :label='item.Name' :value='item.ID' :key='item.ID'>
</el-option>
</el-select>
</el-form-item>
<!-- <el-form-item :label="$t('restaurant.res_packageName')" prop="MealName">
<el-input class="w300" type="text" v-model="addMsg.MealName" maxlength="20"></el-input>
</el-form-item> -->
<el-form-item :label="$t('hotel.hotel_produceDes')" prop="MealDesc">
<el-input class="w300" type="textarea" v-model="addMsg.MealDesc" maxlength="200"></el-input>
</el-form-item>
......@@ -278,7 +277,8 @@
saveResource() {
this.DiningMealTypeList.forEach(item => {
if (this.addMsg.DiningMealType == item.ID) {
this.addMsg.MealName = item.Name
// HK 2020-05-06注释
//this.addMsg.MealName = item.Name
}
})
this.apipost(
......
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