Commit d75af8bd authored by 黄奎's avatar 黄奎

页面修改

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