Commit 1abeb4d4 authored by 黄奎's avatar 黄奎
parents b4a47b7c 2325e0fd
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
{{item.HasWindowStr}} {{item.HasWindowStr}}
</td> </td>
<td style="text-align:left;padding-left:20px;"> <td style="text-align:left;padding-left:20px;">
房间大小 {{item.RoomSize}} 房间大小 {{item.RoomSize}} <span v-if="item.RoomSize"></span>
<br /> <br />
楼层 {{item.Floor}} 楼层 {{item.Floor}}
<br /> <br />
...@@ -366,6 +366,9 @@ ...@@ -366,6 +366,9 @@
<el-tooltip class="item" effect="dark" :content="$t('restaurant.res_bidManage')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('restaurant.res_bidManage')" placement="top-start">
<el-button type="info" @click="goUrl('HotelPrice',item.ID)" icon="el-icon-document" circle></el-button> <el-button type="info" @click="goUrl('HotelPrice',item.ID)" icon="el-icon-document" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top-start">
<el-button type="danger" @click="delRoomList(item.ID)" icon="el-icon-delete" circle></el-button>
</el-tooltip>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -574,6 +577,28 @@ ...@@ -574,6 +577,28 @@
} }
}, err => {}) }, err => {})
}, },
//删除房型
delRoomList(ID){
var that = this;
that.Confirm(this.$t("tips.shifoushanchu"), function () {
var msg = {
ProductId: ID
};
that.apipost(
"dict_post_HotelProduct_Remove",
msg,
res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.initData();
}else{
that.Error(res.data.message);
}
},
null
);
});
},
saveInfo() { saveInfo() {
this.HotelProductTypeList.forEach(item => { this.HotelProductTypeList.forEach(item => {
if (this.addMsg.HotelProductType == item.Id) { if (this.addMsg.HotelProductType == item.Id) {
......
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
</el-button> </el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="门票" placement="top"> <el-tooltip class="item" effect="dark" content="门票" placement="top">
<el-button @click="goUrlT('domesticTicketManagement',item.ID)" type="success" <el-button @click="goUrlT('domesticTicketManagement',scope.row.ID)" type="success"
icon="iconfont icon-menpiao1" circle></el-button> icon="iconfont icon-menpiao1" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top"> <el-tooltip class="item" effect="dark" content="删除" placement="top">
......
...@@ -363,7 +363,7 @@ input[type="number"] { ...@@ -363,7 +363,7 @@ input[type="number"] {
</el-col> </el-col>
<el-col :span="2"> <el-col :span="2">
<div class="_LowDisMoney"> <div class="_LowDisMoney">
<div>内部价格</div> <div>原价</div>
<div>{{item.SalesPrice}}</div> <div>{{item.SalesPrice}}</div>
</div> </div>
</el-col> </el-col>
...@@ -447,7 +447,7 @@ input[type="number"] { ...@@ -447,7 +447,7 @@ input[type="number"] {
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('hotel.hotel_SalesPrice')" prop="SalesPrice"> <el-form-item label="原价" prop="SalesPrice">
<el-input type="text" v-model="addMsg.SalesPrice" @keyup.native="checkPrice(addMsg,'SalesPrice')"></el-input> <el-input type="text" v-model="addMsg.SalesPrice" @keyup.native="checkPrice(addMsg,'SalesPrice')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -589,7 +589,7 @@ export default { ...@@ -589,7 +589,7 @@ export default {
SalesPrice: [ SalesPrice: [
{ {
required: true, required: true,
message: "请输入成本价格", message: "请输入原价",
trigger: "change" trigger: "change"
}, },
{ {
......
...@@ -93,10 +93,6 @@ ...@@ -93,10 +93,6 @@
padding-left: 20px; padding-left: 20px;
} }
.ticketManagement .w300 .el-textarea__inner {
height: 140px;
}
.ticketManagement .el-dialog--center .el-dialog__body { .ticketManagement .el-dialog--center .el-dialog__body {
padding: 25px 25px 0; padding: 25px 25px 0;
} }
...@@ -149,16 +145,16 @@ ...@@ -149,16 +145,16 @@
" "
> >
<tr> <tr>
<th width="200">{{ $t("scen.sc_name") }}</th> <th >{{ $t("scen.sc_name") }}</th>
<th >门票副标题</th> <th >门票副标题</th>
<th >是否闪入园</th> <th >是否闪入园</th>
<th>闪入园最晚购买时间</th> <!-- <th>闪入园最晚购买时间</th> -->
<th >是否无忧退款</th> <th >是否无忧退款</th>
<th >可定时间</th> <!-- <th >可定时间</th> -->
<th width="200">{{ $t("scen.sc_bjts") }}</th> <th width="200">{{ $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>
<th width="300">{{ $t("hotel.hotel_remark") }}</th> <!-- <th width="300">{{ $t("hotel.hotel_remark") }}</th> -->
<th>{{ $t("system.table_operation") }}</th> <th>{{ $t("system.table_operation") }}</th>
</tr> </tr>
<tr v-for="item in DataList" :key="item.subCode"> <tr v-for="item in DataList" :key="item.subCode">
...@@ -168,7 +164,7 @@ ...@@ -168,7 +164,7 @@
effect="dark" effect="dark"
:content="item.TicketName" :content="item.TicketName"
placement="top-start" placement="top-start"
popper-class="max-w250"
> >
<span class="roomName">{{ item.TicketName }}</span> <span class="roomName">{{ item.TicketName }}</span>
</el-tooltip> </el-tooltip>
...@@ -178,12 +174,12 @@ ...@@ -178,12 +174,12 @@
<div v-if="item.IsSameDayBuy===0"></div> <div v-if="item.IsSameDayBuy===0"></div>
<div v-if="item.IsSameDayBuy===1"></div> <div v-if="item.IsSameDayBuy===1"></div>
</td> </td>
<td>{{item.DayBuyTime}}</td> <!-- <td>{{item.DayBuyTime}}</td> -->
<td> <td>
<div v-if="item.IsWorryFreeRefund===0"></div> <div v-if="item.IsWorryFreeRefund===0"></div>
<div v-if="item.IsWorryFreeRefund===1">有条件退</div> <div v-if="item.IsWorryFreeRefund===1">有条件退</div>
</td> </td>
<td>{{item.SubscribeTime}}</td> <!-- <td>{{item.AllTime}}</td> -->
<td class="DaysInfo"> <td class="DaysInfo">
<span <span
><i class="iconfont icon-kaoqintongji"></i>{{ item.Days ><i class="iconfont icon-kaoqintongji"></i>{{ item.Days
...@@ -208,7 +204,7 @@ ...@@ -208,7 +204,7 @@
</p> </p>
<p class="Ldata">{{ item.HDate }}</p> <p class="Ldata">{{ item.HDate }}</p>
</td> </td>
<td> <!-- <td>
<el-tooltip <el-tooltip
class="item" class="item"
effect="dark" effect="dark"
...@@ -219,7 +215,7 @@ ...@@ -219,7 +215,7 @@
> >
<span class="descripTion">{{ item.TicketDesc }}</span> <span class="descripTion">{{ item.TicketDesc }}</span>
</el-tooltip> </el-tooltip>
</td> </td> -->
<td> <td>
<el-button-group> <el-button-group>
<el-tooltip <el-tooltip
...@@ -280,6 +276,7 @@ ...@@ -280,6 +276,7 @@
class="w300" class="w300"
filterable filterable
v-model="addMsg.CouponsId" v-model="addMsg.CouponsId"
disabled
> >
<el-option <el-option
v-for="item in TicketCouponsList" v-for="item in TicketCouponsList"
...@@ -320,7 +317,7 @@ ...@@ -320,7 +317,7 @@
<el-radio v-model="addMsg.IsSameDayBuy" :label="1"></el-radio> <el-radio v-model="addMsg.IsSameDayBuy" :label="1"></el-radio>
<el-radio v-model="addMsg.IsSameDayBuy" :label="0"></el-radio> <el-radio v-model="addMsg.IsSameDayBuy" :label="0"></el-radio>
</el-form-item> </el-form-item>
<el-form-item label="闪入园最晚购买时间" prop="DayBuyTime"> <el-form-item label="购买时间" prop="DayBuyTime">
<el-time-select <el-time-select
v-model="addMsg.DayBuyTime" v-model="addMsg.DayBuyTime"
:picker-options="{ :picker-options="{
...@@ -328,11 +325,11 @@ ...@@ -328,11 +325,11 @@
step: '00:15', step: '00:15',
end: '23:45', end: '23:45',
}" }"
placeholder="闪入园最晚购买时间" placeholder="购买时间"
> >
</el-time-select> </el-time-select>
</el-form-item> </el-form-item>
<el-form-item label="是否无忧退款" prop="IsWorryFreeRefund"> <el-form-item label="无忧退款" prop="IsWorryFreeRefund">
<el-radio v-model="addMsg.IsWorryFreeRefund" :label="1" <el-radio v-model="addMsg.IsWorryFreeRefund" :label="1"
>有条件退</el-radio >有条件退</el-radio
> >
...@@ -650,14 +647,14 @@ ...@@ -650,14 +647,14 @@
</el-form-item> </el-form-item>
</div> </div>
</template> </template>
<el-form-item :label="$t('hotel.hotel_produceDes')" prop="TicketDesc"> <!-- <el-form-item :label="$t('hotel.hotel_produceDes')" prop="TicketDesc">
<el-input <el-input
class="w300" class="w300"
type="textarea" type="textarea"
v-model="addMsg.TicketDesc" v-model="addMsg.TicketDesc"
maxlength="200" maxlength="200"
></el-input> ></el-input>
</el-form-item> </el-form-item> -->
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button <button
...@@ -909,7 +906,7 @@ export default { ...@@ -909,7 +906,7 @@ export default {
clearMsg() { clearMsg() {
let newMsg = { let newMsg = {
Id: "0", Id: "0",
CouponsId: "", CouponsId: parseInt(this.$route.query.id),
TicketName: "", TicketName: "",
TicketDesc: "", TicketDesc: "",
TicketCouponsType: "", TicketCouponsType: "",
......
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
let locationName = window.location.hostname; let locationName = window.location.hostname;
// domainUrl = "http://127.0.0.1"; // domainUrl = "http://127.0.0.1";
domainUrl="http://192.168.20.17:8015"; domainUrl="http://192.168.20.17:8015";
domainUrl = "http://192.168.20.24"; // domainUrl = "http://192.168.20.24";
let javaUrldo = ""; let javaUrldo = "";
javaUrldo = locationName.indexOf('oytour') !== -1 || locationName.indexOf('viitto') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000"; javaUrldo = locationName.indexOf('oytour') !== -1 || locationName.indexOf('viitto') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000";
//商城API //商城API
......
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