Commit 54a2010a authored by 黄奎's avatar 黄奎

当地游新增,取消发团显示

parent 6288fff3
...@@ -3544,7 +3544,7 @@ ...@@ -3544,7 +3544,7 @@
this.offerQMsg.QStartDate = nowDate; this.offerQMsg.QStartDate = nowDate;
this.offerDataList = []; this.offerDataList = [];
}, },
//保存报价单 //修改是否发团
setIsSetOutOffer(item, IsSetOut) { setIsSetOutOffer(item, IsSetOut) {
var updateMsg = { var updateMsg = {
TCID: item.TCID, TCID: item.TCID,
......
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
.TC_Content .avatar-uploader-icon { .TC_Content .avatar-uploader-icon {
height: auto; height: auto;
} }
</style> </style>
<template> <template>
<div class="TC_Content"> <div class="TC_Content">
...@@ -140,11 +141,11 @@ ...@@ -140,11 +141,11 @@
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('Operation.Op_TeamName')}}</em> <em>{{$t('Operation.Op_TeamName')}}</em>
<el-input v-model="queryMsg.Title" class="w150" clearable></el-input> <el-input v-model="queryMsg.Title" class="w150" clearable></el-input>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('scen.sc_ftTime')}}</em> <em>{{$t('scen.sc_ftTime')}}</em>
...@@ -491,6 +492,12 @@ ...@@ -491,6 +492,12 @@
<span>{{$t('scen.sc_cp')}}</span> <span>{{$t('scen.sc_cp')}}</span>
{{item.OutBranchName}} {{item.OutBranchName}}
</p> </p>
<p class="travelnowrap" v-if="item.IsSetOut == 0">
<span style="color: blue">{{ $t("objFill.zhengchangft") }}</span>
</p>
<p class="travelnowrap" v-if="item.IsSetOut == 1">
<span style="color: red">{{ $t("objFill.quxiaofatuan") }}</span>
</p>
<p class="travelnowrap" v-if="item.WordPath!=''"> <p class="travelnowrap" v-if="item.WordPath!=''">
<a style="corsor:pointer;" <a style="corsor:pointer;"
:href="domainManager().ViittoFileUrl+item.WordPath">{{$t('visa.v_salecompany')}}{{$t('Operation.Op_downLoadword')}}</a> :href="domainManager().ViittoFileUrl+item.WordPath">{{$t('visa.v_salecompany')}}{{$t('Operation.Op_downLoadword')}}</a>
...@@ -846,6 +853,16 @@ ...@@ -846,6 +853,16 @@
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item @click.native='ShowUploadWord(item)'>{{$t('Operation.Op_wordTrip')}} <el-dropdown-item @click.native='ShowUploadWord(item)'>{{$t('Operation.Op_wordTrip')}}
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.IsSetOut == 0">
<div @click="setIsSetOutOffer(item, 1)">
{{ $t("objFill.quxiaofatuan") }}
</div>
</el-dropdown-item>
<el-dropdown-item v-if="item.IsSetOut == 1">
<div @click="setIsSetOutOffer(item, 0)">
{{ $t("objFill.zhengchangft") }}
</div>
</el-dropdown-item>
<el-dropdown-item> <el-dropdown-item>
<div @click='GoToleaderReimbursement(item)' style="color:red">{{$t('objFill.dijiecbzc')}} </div> <div @click='GoToleaderReimbursement(item)' style="color:red">{{$t('objFill.dijiecbzc')}} </div>
</el-dropdown-item> </el-dropdown-item>
...@@ -1178,7 +1195,7 @@ ...@@ -1178,7 +1195,7 @@
TeamType: 2, //一日游的团 TeamType: 2, //一日游的团
IsShowUnion: -1, IsShowUnion: -1,
TCID: '', TCID: '',
Title:"",//团名 Title: "", //团名
}, },
remarkMsg: { remarkMsg: {
TCID: 0, TCID: 0,
...@@ -1306,6 +1323,20 @@ ...@@ -1306,6 +1323,20 @@
} }
}); });
}, },
setIsSetOutOffer(item, IsSetOut) {
var updateMsg = {
TCID: item.TCID,
IsSetOut: IsSetOut,
};
this.apipost("travel_post_SetIsSetOutService", updateMsg, (res) => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.getControlList();
} else {
this.Info(res.data.message);
}
});
},
//跳转到用款计划 //跳转到用款计划
GoToleaderReimbursement(item) { GoToleaderReimbursement(item) {
var newCombinationNumStr = item.CombinationNum; var newCombinationNumStr = item.CombinationNum;
...@@ -2350,4 +2381,5 @@ ...@@ -2350,4 +2381,5 @@
this.getControlList() this.getControlList()
} }
} }
</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