Commit dfd09728 authored by 黄奎's avatar 黄奎

页面修改

parent 84101e6e
......@@ -13,11 +13,13 @@
line-height: 15px;
color: white;
border: 1px solid #e95252;
cursor: pointer;
}
.BilldownLoadCommon input[type="checkbox"]:checked+label::before {
content: "\2713";
background-color: #e95252;
cursor: pointer;
}
.BilldownLoadCommon input[type="checkbox"] {
......@@ -27,12 +29,14 @@
.BilldownLoadCommon input[type="checkbox"]:focus+label::before {
box-shadow: none;
cursor: pointer;
}
.BilldownLoadCommon input[type="checkbox"]:disabled+label::before {
background-color: gray;
box-shadow: none;
color: #555;
cursor: pointer;
}
.BilldownLoadCommon table td {
......@@ -59,8 +63,9 @@
text-align: center;
font-size: 14px;
}
.wstRedType{
color:red;
.wstRedType {
color: red;
cursor: pointer;
}
......@@ -156,7 +161,8 @@
</template>
</div>
<span slot="reference"><span class="teamName"></span>
审核状态: <span style="cursor:pointer" :class="{'wstRedType':item.AuditStatus==2}" title="点击查看">{{item.AuditStatusStr}}</span>
审核状态: <span style="cursor:pointer" :class="{'wstRedType':item.AuditStatus==2}"
title="点击查看">{{item.AuditStatusStr}}</span>
</span>
</el-popover>
</div>
......@@ -172,19 +178,17 @@
</div>
<div style="width:134px;">
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationPrice_SWT',item.Id)">
<el-tooltip class="item" effect="dark" content="修改" placement="top-start"
popper-class="max-w250">
<el-tooltip class="item" effect="dark" content="修改" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i>
</el-tooltip>
</span>
<span class="newAopbdd" style="background-color:#67c23a;" @click="delQuotation(item.Id)">
<el-tooltip class="item" effect="dark" content="详情" placement="top-start"
popper-class="max-w250">
<el-tooltip class="item" effect="dark" content="详情" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-biaoge"></i>
</el-tooltip>
</span>
<span style="background:#85ce61; " class="newAopbdd" @click="SwtDownLoadFile(item)">
<span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)">
<el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bb-xiazai"></i>
</el-tooltip>
......@@ -211,38 +215,41 @@
</tr>
<tbody>
<tr height="36">
<td width="50%"><input id="IsShowTripPrice" type="checkbox" v-model="downLoadMsg.IsShowTripPrice" /><label
for="IsShowTripPrice">行程报价<br />(房、餐、车、门票)</label></td>
<td width="50%"><input id="IsShowTraffic" type="checkbox" v-model="downLoadMsg.IsShowTraffic" /><label
for="IsShowTraffic">交通部分</label></td>
<td width="50%"><input id="IsShowBaseInfo" type="checkbox" v-model="downLoadMsg.IsShowBaseInfo" /><label
for="IsShowBaseInfo">基础信息</label></td>
<td width="50%"><input id="IsShowSalePrice" type="checkbox" v-model="downLoadMsg.IsShowSalePrice" /><label
for="IsShowSalePrice">建議售價</label></td>
</tr>
<tr height="36">
<td><input id="IsShowZaZhi" type="checkbox" v-model="downLoadMsg.IsShowZaZhi" /><label
for="IsShowZaZhi">杂支部分</label></td>
<td><input id="IsShowOtherZhichu" type="checkbox" v-model="downLoadMsg.IsShowOtherZhichu" /><label
for="IsShowOtherZhichu">其他支出</label></td>
<td><input id="IsShowSingleRoomPrice" type="checkbox" v-model="downLoadMsg.IsShowSingleRoomPrice" /><label
for="IsShowSingleRoomPrice">單房差</label></td>
<td><input id="IsShowHotel" type="checkbox" v-model="downLoadMsg.IsShowHotel" /><label
for="IsShowHotel">飯店</label></td>
</tr>
<tr height="36">
<td><input id="IsShowShouRu" type="checkbox" v-model="downLoadMsg.IsShowShouRu" /><label
for="IsShowShouRu">收入</label></td>
<td><input id="IsShowTuanFuFee" type="checkbox" v-model="downLoadMsg.IsShowTuanFuFee" /><label
for="IsShowTuanFuFee">团负费</label></td>
<td><input id="IsShowDinner" type="checkbox" v-model="downLoadMsg.IsShowDinner" /><label
for="IsShowDinner">餐食</label></td>
<td><input id="IsShowBus" type="checkbox" v-model="downLoadMsg.IsShowBus" /><label
for="IsShowBus">車資</label></td>
</tr>
<tr height="36">
<td><input id="IsShowLeaderFenTan" type="checkbox" v-model="downLoadMsg.IsShowLeaderFenTan" /><label
for="IsShowLeaderFenTan">领队分摊</label></td>
<td><input id="IsShowCost" type="checkbox" v-model="downLoadMsg.IsShowCost" /><label
for="IsShowCost">成本统计</label></td>
<td><input id="IsShowSelfFeeTrip" type="checkbox" v-model="downLoadMsg.IsShowSelfFeeTrip" /><label
for="IsShowSelfFeeTrip">自費行程</label></td>
<td><input id="IsShowShopping" type="checkbox" v-model="downLoadMsg.IsShowShopping" /><label
for="IsShowShopping">SHOPPING</label></td>
</tr>
<tr height="36">
<td><input id="IsShowOtherPrice" type="checkbox" v-model="downLoadMsg.IsShowOtherPrice" /><label
for="IsShowOtherPrice">其他定价</label></td>
<td><input id="IsShowBusShop" type="checkbox" v-model="downLoadMsg.IsShowBusShop" /><label
for="IsShowBusShop">車購</label></td>
<td style="display:none;"><input id="IsShowScenic" type="checkbox"
v-model="downLoadMsg.IsShowScenic" /><label for="IsShowScenic">景點門票</label></td>
</tr>
</tbody>
<tr height="66">
<td colspan="2" style="text-align:center;">
<input type="button" class="normalBtn" style="margin-left:-70px;" :value="$t('pub.sureBtn')"
@click="DownLoadFile()" />
@click="SwtDownLoadFile()" />
</td>
</tr>
</table>
......@@ -265,7 +272,7 @@
currentPage: 1,
Title: "",
AuditStatus: -1,
IsQAuditStatus:0,//所有的数据
IsQAuditStatus: 0, //所有的数据
},
loading: true,
//线路列表
......@@ -278,17 +285,18 @@
downloadBill: false,
//下载参数
downLoadMsg: {
ID: 0,
Id: 0,
FileName: "",
IsShowTripPrice: true, //行程报价
IsShowTraffic: false, //交通价格
IsShowZaZhi: false, //杂支部分
IsShowOtherZhichu: false, //其他支出
IsShowShouRu: false, //收入部分
IsShowTuanFuFee: false, //团负费
IsShowLeaderFenTan: false, //领队分摊
IsShowCost: false, //成本统计
IsShowOtherPrice: false, //其他定价
IsShowBaseInfo: true, //基础信息
IsShowSalePrice: false, //是否显示建议售价
IsShowSingleRoomPrice: false, //是否显示单房差
IsShowHotel: false, //是否显示酒店
IsShowDinner: false, //是否显示餐食
IsShowScenic: false, //是否显示景点门票
IsShowBus: false, //是否显示车资
IsShowSelfFeeTrip: false, //是否显示自费行程
IsShowShopping: false, //是否显示自费购物
IsShowBusShop: false, //是否显示车购
},
};
},
......@@ -400,7 +408,7 @@
},
//显示下载弹窗
showDownLoad(item) {
this.downLoadMsg.ID = item.ID;
this.downLoadMsg.Id = item.Id;
var fileName = "";
if (item.CustomerName) {
fileName += "【" + item.CustomerName + "】";
......@@ -414,30 +422,10 @@
this.downloadBill = true;
},
//报价单下载
DownLoadFile() {
this.downloadBill = false;
this.loading = true;
this.GetLocalFile("quotation_get_DownLoadQuotation", this.downLoadMsg, this.downLoadMsg.FileName, res => {
this.loading = false;
});
},
//报价单下载
SwtDownLoadFile(item) {
SwtDownLoadFile() {
this.downloadBill = false;
this.loading = true;
var swtMsg = {
Id: item.Id
};
var fileName = "";
if (item.CustomerName) {
fileName += "【" + item.CustomerName + "】";
} else if (item.LtName) {
fileName += "【" + item.LtName + "】";
} else if (item.LineName) {
fileName += "【" + item.LineName + "】";
}
fileName += "成本下载.xls";
this.GetLocalFile("quotation_get_SwtDownLoadQuotation", swtMsg, fileName, res => {
this.GetLocalFile("quotation_get_SwtDownLoadQuotation", this.downLoadMsg, this.downLoadMsg.FileName, res => {
this.loading = false;
});
},
......
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