Commit f99e1ae9 authored by 黄奎's avatar 黄奎

页面修改

parent d3e67e2e
......@@ -95,6 +95,7 @@
.TC_HotelPop table th {
text-align: center;
}
</style>
<template>
<div class="TC_Content">
......@@ -763,7 +764,7 @@
</template>
</div>
<div class="TC_SeatList">
<el-popover width="500" trigger="click">
<el-popover width="500" trigger="click" v-model="item.IsShowOffer">
<table>
<tr>
<td colspan="4" style="text-align:center;height:40px;">
......@@ -802,18 +803,19 @@
<td>
{{oItem.CustomerName}}
</td>
<td>
<td>
{{oItem.CreateByName}}/{{oItem.CreateTimeStr}}
</td>
</tr>
<tr v-if="offerDataList.length>0">
<tr>
<td colspan="4" style="text-align:center;">
<input type="button" class="normalBtn" value="保存" @click="saveOffer(item)" />
<input v-if="offerDataList.length>0" type="button" class="normalBtn" value="保存" @click="saveOffer(item)" />
<input type="button" class="normalBtn" value="关闭" @click="item.IsShowOffer=false,clearOfferMsg()" />
</td>
</tr>
</table>
<a slot="reference" title="报价单"
style="cursor:pointer;color:rgb(71, 191, 140);text-decoration: underline;display:none;">报价单</a>
<a slot="reference" title="报价单" @click="item.IsShowOffer=true,clearOfferMsg()"
style="cursor:pointer;color:rgb(71,191,140);text-decoration:underline;">报价单</a>
</el-popover>
</div>
</div>
......@@ -2240,6 +2242,7 @@
ConfigId: item.ID
};
this.apipost("travel_post_UpdateConfigOfferIdService", updateMsg, res => {
item.IsShowOffer = false;
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getControlList();
......@@ -2251,6 +2254,21 @@
this.Info("请选择报价单!");
}
},
//清空报价单信息
clearOfferMsg() {
this.offerQMsg.CreateBy = 0;
this.offerQMsg.QStartDate = "";
this.offerQMsg.QEndDate = "";
var myDate = new Date();
var nowDate =
myDate.getFullYear() +
"-" +
parseInt(myDate.getMonth() + 1) +
"-" +
myDate.getDate();
this.offerQMsg.QStartDate = nowDate;
this.offerDataList = [];
},
//跳转到报价单
gotoOffer(item) {
this.$router.push({
......
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