Commit 66c67711 authored by 黄媛媛's avatar 黄媛媛
parents 9e2f9e4f be6f970b
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
.BilldownLoadCommon table td { .BilldownLoadCommon table td {
text-align: left; text-align: left;
} }
.newAopbdd{
.newAopbdd {
font-weight: bold; font-weight: bold;
display: inline-block; display: inline-block;
width: 25px; width: 25px;
...@@ -50,6 +51,7 @@ ...@@ -50,6 +51,7 @@
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
} }
</style> </style>
<template> <template>
<div class="flexOne quoTation"> <div class="flexOne quoTation">
...@@ -106,7 +108,6 @@ ...@@ -106,7 +108,6 @@
<p style="font-size:14px"> <p style="font-size:14px">
<el-tooltip popper-class="max-w250" effect="dark" :content="item.Title" placement="top-start"> <el-tooltip popper-class="max-w250" effect="dark" :content="item.Title" placement="top-start">
<span>线路名称:{{item.LineName}}</span> <span>线路名称:{{item.LineName}}</span>
</el-tooltip> </el-tooltip>
</p> </p>
<span>系列名称:{{item.LtName}}</span> <span>系列名称:{{item.LtName}}</span>
...@@ -216,23 +217,38 @@ ...@@ -216,23 +217,38 @@
</div> </div>
</div> </div>
<div style="width:134px;"> <div style="width:134px;">
<span class="openGroup newAopbdd" @click="goToOpenTravel(item)" v-if="item.TravelState==3&&item.OpenState==2"> <span class="openGroup newAopbdd" @click="goToOpenTravel(item)"
v-if="item.TravelState==3&&item.OpenState==2">
<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-nav-hangzheng"></i> <i class="iconfont icon-nav-hangzheng"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)" v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5"> <span v-if="userInfo.EmployeeId==615" class="bianji newAopbdd"
@click="goMakeQuo('QuotationNewPrice',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>
</el-tooltip> </el-tooltip>
</span> </span>
<span class="QT-delete newAopbdd" @click="delQuotation(item.ID)" v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5"> <span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)"
v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i>
</el-tooltip>
</span>
<span class="QT-delete newAopbdd" @click="delQuotation(item.ID)"
v-if="item.TravelState==1||item.TravelState==4||item.TravelState==5">
<el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start" <el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start"
popper-class="max-w250"> popper-class="max-w250">
<i class="iconfont icon-shanchu"></i> <i class="iconfont icon-shanchu"></i>
</el-tooltip> </el-tooltip>
</span> </span>
<span style="background:#85ce61; " class="newAopbdd">
<el-tooltip class="item" effect="dark" content="查看" placement="top-start" popper-class="max-w250">
<i @click="goUrl('QuotationAduit',item.ID,1)" class="iconfont icon-view"></i>"></i>
</el-tooltip>
</span>
<span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(item)"> <span style="background:#85ce61; " class="newAopbdd" @click="showDownLoad(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>
...@@ -309,6 +325,7 @@ ...@@ -309,6 +325,7 @@
export default { export default {
data() { data() {
return { return {
userInfo: {},
queryData: { queryData: {
LineId: 0, LineId: 0,
LineteamId: 0, LineteamId: 0,
...@@ -386,6 +403,23 @@ ...@@ -386,6 +403,23 @@
commonTeamInfo: commonTeamInfo commonTeamInfo: commonTeamInfo
}, },
methods: { methods: {
goUrl(path, configId, qType) {
if (configId > 0) {
this.$router.push({
name: path,
query: {
configId: configId,
Qtype: qType,
blank: 'y',
tab: '报价单查看'
}
});
} else {
this.$router.push({
name: path
});
}
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.queryData.pageIndex = val; this.queryData.pageIndex = val;
this.getList(); this.getList();
...@@ -619,6 +653,7 @@ ...@@ -619,6 +653,7 @@
} }
}, },
created() { created() {
this.userInfo = this.getLocalStorage();
if (this.$route.query.hasOwnProperty("cache")) { if (this.$route.query.hasOwnProperty("cache")) {
if (this.$store.state.pageCondition != null) { if (this.$store.state.pageCondition != null) {
this.queryData = this.$store.state.pageCondition; this.queryData = this.$store.state.pageCondition;
...@@ -627,4 +662,5 @@ ...@@ -627,4 +662,5 @@
this.getList(); this.getList();
} }
}; };
</script>
\ No newline at end of file </script>
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