Commit f99e1ae9 authored by 黄奎's avatar 黄奎

页面修改

parent d3e67e2e
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
.TC_HotelPop table th { .TC_HotelPop table th {
text-align: center; text-align: center;
} }
</style> </style>
<template> <template>
<div class="TC_Content"> <div class="TC_Content">
...@@ -763,7 +764,7 @@ ...@@ -763,7 +764,7 @@
</template> </template>
</div> </div>
<div class="TC_SeatList"> <div class="TC_SeatList">
<el-popover width="500" trigger="click"> <el-popover width="500" trigger="click" v-model="item.IsShowOffer">
<table> <table>
<tr> <tr>
<td colspan="4" style="text-align:center;height:40px;"> <td colspan="4" style="text-align:center;height:40px;">
...@@ -802,18 +803,19 @@ ...@@ -802,18 +803,19 @@
<td> <td>
{{oItem.CustomerName}} {{oItem.CustomerName}}
</td> </td>
<td> <td>
{{oItem.CreateByName}}/{{oItem.CreateTimeStr}} {{oItem.CreateByName}}/{{oItem.CreateTimeStr}}
</td> </td>
</tr> </tr>
<tr v-if="offerDataList.length>0"> <tr>
<td colspan="4" style="text-align:center;"> <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> </td>
</tr> </tr>
</table> </table>
<a slot="reference" title="报价单" <a slot="reference" title="报价单" @click="item.IsShowOffer=true,clearOfferMsg()"
style="cursor:pointer;color:rgb(71, 191, 140);text-decoration: underline;display:none;">报价单</a> style="cursor:pointer;color:rgb(71,191,140);text-decoration:underline;">报价单</a>
</el-popover> </el-popover>
</div> </div>
</div> </div>
...@@ -2240,6 +2242,7 @@ ...@@ -2240,6 +2242,7 @@
ConfigId: item.ID ConfigId: item.ID
}; };
this.apipost("travel_post_UpdateConfigOfferIdService", updateMsg, res => { this.apipost("travel_post_UpdateConfigOfferIdService", updateMsg, res => {
item.IsShowOffer = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.getControlList(); this.getControlList();
...@@ -2251,6 +2254,21 @@ ...@@ -2251,6 +2254,21 @@
this.Info("请选择报价单!"); 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) { gotoOffer(item) {
this.$router.push({ 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