Commit d75af8bd authored by 黄奎's avatar 黄奎

页面修改

parent a8a63470
......@@ -52,6 +52,14 @@
text-align: center;
}
.newQuostayDays {
padding: 8px 15px;
background-color: #2aaef2;
color: #ffffff;
text-align: center;
font-size: 14px;
}
</style>
<template>
<div class="flexOne quoTation">
......@@ -78,6 +86,12 @@
</el-select>
</span>
</li>
<li>
<span>
<em>团名</em>
<el-input v-model="queryData.Title" clearable></el-input>
</span>
</li>
<li>
<button class="hollowFixedBtn" @click="getList(),resetPageIndex()">查询</button>
<button class="hollowFixedBtn" @click="goMakeQuo('QuotationPrice_SWT',0)">新增</button>
......@@ -86,10 +100,10 @@
</div>
<div class="commonContent" v-loading="loading">
<ul class="_content">
<li v-for="item in dataList" :key="item.subCode" :data-id="item.ID" style="padding:0 10px;">
<li v-for="item in dataList" :key="item.subCode" :data-id="item.Id" style="padding:0 10px;">
<div class="_left" style="padding:0;flex:0.3;display:flex;">
<div class="QT_CodeNum">
{{$t('hotel.hotel_SerialNumber')}}{{item.ID}}
{{$t('hotel.hotel_SerialNumber')}}{{item.Id}}
</div>
</div>
<div class="_left" style="display:flex;">
......@@ -111,9 +125,14 @@
</p>
</div>
</div>
<div class="_left" style="padding-left:10px">
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
出发日期 {{item.StartDateStr}}
</div>
</div>
<div class="_cent">
<div style="margin: 0 13px 0 10px;" class="stayDays">
{{item.DayNum}} 出发日期 {{item.StartDateStr}}</div>
<div style="margin: 0 13px 0 10px;" class="newQuostayDays">
{{item.DayNum}}</div>
</div>
<div class="_right">
<div class="AuditUserInfo clearfix aa" style="margin-left:10px;">
......@@ -125,9 +144,9 @@
<div>{{item.CreateByName}}</div>
</div>
</div>
<div style="width:134px;">
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationPrice_SWT',item.Id)">
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationPrice_SWT',item.Id)">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i>
......@@ -140,7 +159,7 @@
</el-tooltip>
</span>
<span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)">
<span style="background:#85ce61; " class="newAopbdd" @click="SwtDownLoadFile(item)">
<el-tooltip class="item" effect="dark" content="下载" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-bb-xiazai"></i>
</el-tooltip>
......@@ -219,6 +238,7 @@
PageSize: 10,
total: 0,
currentPage: 1,
Title: "",
},
loading: true,
//线路列表
......@@ -316,7 +336,7 @@
//报价单跳转
goMakeQuo(path, Id) {
this.$router.push({
path: path,
name: path,
query: {
Id: Id,
blank: 'y',
......@@ -374,6 +394,26 @@
this.loading = false;
});
},
//报价单下载
SwtDownLoadFile(item) {
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.loading = false;
});
},
GetAuth() {
var actionCode = this.$AuthCode.EditQuotation;
this.CheckUserAuth(actionCode, res => {
......
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