Commit 28a996bd authored by zhengke's avatar zhengke

修改

parent 8754b5c1
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
{{item.DieLine}}{{$t('hotel.hotel_day')}} {{item.DieLine}}{{$t('hotel.hotel_day')}}
</div> </div>
</div> </div>
<div class="Address"> <div class="Address" style="margin-top:10px;">
<div v-show="item.Address"> <div v-show="item.Address">
<i class="iconfont icon-img_dz"></i> <i class="iconfont icon-img_dz"></i>
<el-tooltip class="item" effect="dark" :content="item.Address" placement="top-start"> <el-tooltip class="item" effect="dark" :content="item.Address" placement="top-start">
...@@ -343,13 +343,14 @@ ...@@ -343,13 +343,14 @@
</div> </div>
</el-tooltip> </el-tooltip>
<div class="btnList"> <div class="btnList">
<button @click="goSubInfo('GnHotelInfo',item.ID)" class="hotelBtnMan">{{$t('pub.updateMsg')}}</button> <div style="display:flex;justify-content:center;">
<button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id==QjGroupId()">复制</button> <button @click="goSubInfo('GnHotelInfo',item.ID)" class="hotelBtnMan">{{$t('pub.updateMsg')}}</button>
<button @click="goproduct('HotelProductManage',item)" class="hotelBtnMan" <button @click="goproduct('HotelProductManage',item)" class="hotelBtnMan"
v-if="userInfo.RB_Group_id!=QjGroupId()">房型</button> v-if="userInfo.RB_Group_id!=QjGroupId()">房型</button>
<br /> <br />
<button v-if="IsHotelPriceStock==1" style="width:80px;margin-top:10px;" <button v-if="IsHotelPriceStock==1" style="width:80px;margin-left:10px;"
@click="goUrl('HotelProductManage2',item)" class="hotelBtnMan">{{$t('ground.baojiayukucun')}}</button> @click="goUrl('HotelProductManage',item)" class="hotelBtnMan">{{$t('ground.baojiayukucun')}}</button>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -404,27 +405,6 @@ ...@@ -404,27 +405,6 @@
}; };
}, },
methods: { methods: {
CopyHotel(Id) {
var that = this;
that.Confirm('是否要复制此酒店?', function () {
var msg = {
Id: Id
};
that.apipost(
"hotel_post_CopyHotelService",
msg,
res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.selectResource();
} else {
that.Error(res.data.message);
}
},
null
);
});
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.selectResource(); this.selectResource();
......
...@@ -451,7 +451,7 @@ ...@@ -451,7 +451,7 @@
</div> </div>
<div class="resDiv"> <div class="resDiv">
<el-form-item :label="$t('hotel.hotel_Currency')"> <el-form-item :label="$t('hotel.hotel_Currency')">
<el-select placeholder="$t('ground.qingxuanbizhong')" filterable class='multiple_input w210' @change="getCurrentRate(addMsg.CurrencyId)" <el-select :placeholder="$t('ground.qingxuanbizhong')" filterable class='multiple_input w210' @change="getCurrentRate(addMsg.CurrencyId)"
v-model="addMsg.CurrencyId"> v-model="addMsg.CurrencyId">
<el-option :label="$t('pub.unlimitedSel')" :value='SelectDefaultValue'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='SelectDefaultValue'></el-option>
<el-option v-for="item in allCurrencyList" :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for="item in allCurrencyList" :key="item.ID" :label="item.Name" :value="item.ID">
...@@ -475,8 +475,8 @@ ...@@ -475,8 +475,8 @@
</div> </div>
<button type="success" class="subPrice" :class="{'comDisableBtn':isDisable==true,'normalBtn':isDisable==false}" <button type="success" class="subPrice" :class="{'comDisableBtn':isDisable==true,'normalBtn':isDisable==false}"
:disabled='isDisable' @click="isDeleteNote=true,submitForm('addMsg')">{{comBtnText}}</button> :disabled='isDisable' @click="isDeleteNote=true,submitForm('addMsg')">{{comBtnText}}</button>
<button type="success" class="hollowFixedBtn" @click="goBack" v-if="updateDay=='-1'">{{$t('ground.returnBack')}}</button> <button type="success" class="hollowFixedBtn" @click="goBack" v-if="updateDay=='-1'">{{$t('pub.returnBack')}}</button>
<button type="success" class="hollowFixedBtn" @click="resetForm('addMsg')" v-else>{{$t('ground.cancelBtn')}}</button> <button type="success" class="hollowFixedBtn" @click="resetForm('addMsg')" v-else>{{$t('pub.cancelBtn')}}</button>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -174,12 +174,12 @@ ...@@ -174,12 +174,12 @@
<el-form-item :label="$t('hotel.product_name')"> <el-form-item :label="$t('hotel.product_name')">
<el-input class="w300" type="text" v-model="addMsg.Name" maxlength="20"></el-input> <el-input class="w300" type="text" v-model="addMsg.Name" maxlength="20"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('hotel.product_type_name')" prop="HotelProductType" > <!-- <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-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 v-for='item in HotelProductTypeList' :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<el-form-item :label="$t('hotel.table_servers')" prop="ServiceNumber"> <el-form-item :label="$t('hotel.table_servers')" prop="ServiceNumber">
<el-input type="text" class="w300" v-model="addMsg.ServiceNumber" <el-input type="text" class="w300" v-model="addMsg.ServiceNumber"
@keyup.native="checkInteger(addMsg,'ServiceNumber')"></el-input> @keyup.native="checkInteger(addMsg,'ServiceNumber')"></el-input>
...@@ -197,7 +197,6 @@ ...@@ -197,7 +197,6 @@
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading" <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"
style="border-collapse:separate;border-spacing:0px 10px;table-layout:fixed;"> style="border-collapse:separate;border-spacing:0px 10px;table-layout:fixed;">
<tr> <tr>
<th>{{$t('hotel.hotel_roomName')}}</th>
<th>{{$t('scen.sc_bjts')}}</th> <th>{{$t('scen.sc_bjts')}}</th>
<th>{{$t('scen.sc_dj')}}</th> <th>{{$t('scen.sc_dj')}}</th>
<th>{{$t('scen.sc_gj')}}</th> <th>{{$t('scen.sc_gj')}}</th>
...@@ -205,11 +204,6 @@ ...@@ -205,11 +204,6 @@
<th>{{$t('hotel.table_operat')}}</th> <th>{{$t('hotel.table_operat')}}</th>
</tr> </tr>
<tr v-for="(item,index) in pageData" :key="item.subCode"> <tr v-for="(item,index) in pageData" :key="item.subCode">
<td>
<el-tooltip class="item" effect="dark" :content="item.Name" placement="top-start" popper-class="max-w250">
<span class="roomName">{{item.Name}}</span>
</el-tooltip>
</td>
<td class="DaysInfo"> <td class="DaysInfo">
<span><i class="iconfont icon-kaoqintongji"></i>{{item.Days}}{{$t('hotel.hotel_day')}}</span> <span><i class="iconfont icon-kaoqintongji"></i>{{item.Days}}{{$t('hotel.hotel_day')}}</span>
</td> </td>
......
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