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

save

parent 04c2a548
......@@ -235,13 +235,13 @@
</el-tooltip>
</span>
<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"
popper-class="max-w250">
<i class="iconfont icon-bianji-smal"></i>
</el-tooltip>
</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">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start"
popper-class="max-w250">
......@@ -613,11 +613,11 @@
that.outerVisible = true;
},
//报价单跳转
goMakeQuo(path, configId) {
goMakeQuo(path, configId,TeamType) {
this.$router.push({
path: path,
query: {
TeamType: this.queryData.TeamType,
TeamType: TeamType || 0,
configId: configId,
blank: 'y',
tab: '报价单'
......@@ -626,9 +626,12 @@
},
//开团或修改
goToOpenTravel(item) {
// TeamType 0常规,1-小包团,2-一日游,3-地接团
var routeName = this.$route.name;
var path = 'TravelManager5';
if(item.TeamType === 1) {
if(item.TeamType === 0) {
path = 'TravelManager2'
} else if(item.TeamType === 1) {
path = 'TravelManager3'
}
// if (routeName == 'newQuotation') {
......@@ -690,12 +693,12 @@
this.getEmployeeList();
this.GetAuth();
var routeName = this.$route.name;
if (routeName == 'newQuotation') {
this.queryData.TeamType = 3;
}
if (routeName == 'newQuotation2') {
this.queryData.TeamType = 1;
}
// if (routeName == 'newQuotation') {
// this.queryData.TeamType = 3;
// }
// if (routeName == 'newQuotation2') {
// this.queryData.TeamType = 1;
// }
this.getLineList();
this.getList();
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