Commit 16e4e813 authored by 沈良进's avatar 沈良进

save

parent 04c2a548
...@@ -235,13 +235,13 @@ ...@@ -235,13 +235,13 @@
</el-tooltip> </el-tooltip>
</span> </span>
<span v-if="EditBtn" class="bianji newAopbdd" <span v-if="EditBtn" class="bianji newAopbdd"
@click="goMakeQuo('QuotationNewPrice',item.ID)"> @click="goMakeQuo('QuotationNewPrice',item.ID, item.TeamType)">
<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="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID)" <span class="bianji newAopbdd" @click="goMakeQuo('QuotationNewPrice',item.ID, item.TeamType)"
v-if="item.TravelState!=3"> v-if="item.TravelState!=3">
<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">
...@@ -613,11 +613,11 @@ ...@@ -613,11 +613,11 @@
that.outerVisible = true; that.outerVisible = true;
}, },
//报价单跳转 //报价单跳转
goMakeQuo(path, configId) { goMakeQuo(path, configId,TeamType) {
this.$router.push({ this.$router.push({
path: path, path: path,
query: { query: {
TeamType: this.queryData.TeamType, TeamType: TeamType || 0,
configId: configId, configId: configId,
blank: 'y', blank: 'y',
tab: '报价单' tab: '报价单'
...@@ -626,9 +626,12 @@ ...@@ -626,9 +626,12 @@
}, },
//开团或修改 //开团或修改
goToOpenTravel(item) { goToOpenTravel(item) {
// TeamType 0常规,1-小包团,2-一日游,3-地接团
var routeName = this.$route.name; var routeName = this.$route.name;
var path = 'TravelManager5'; var path = 'TravelManager5';
if(item.TeamType === 1) { if(item.TeamType === 0) {
path = 'TravelManager2'
} else if(item.TeamType === 1) {
path = 'TravelManager3' path = 'TravelManager3'
} }
// if (routeName == 'newQuotation') { // if (routeName == 'newQuotation') {
...@@ -690,12 +693,12 @@ ...@@ -690,12 +693,12 @@
this.getEmployeeList(); this.getEmployeeList();
this.GetAuth(); this.GetAuth();
var routeName = this.$route.name; var routeName = this.$route.name;
if (routeName == 'newQuotation') { // if (routeName == 'newQuotation') {
this.queryData.TeamType = 3; // this.queryData.TeamType = 3;
} // }
if (routeName == 'newQuotation2') { // if (routeName == 'newQuotation2') {
this.queryData.TeamType = 1; // this.queryData.TeamType = 1;
} // }
this.getLineList(); this.getLineList();
this.getList(); this.getList();
let isNoOffer = this.$route.params.isNoOffer; let isNoOffer = this.$route.params.isNoOffer;
......
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