Commit 2577db00 authored by Mac's avatar Mac

销售下单时 判断下飞猪下单的相关显示 和团控列表的查看op跳转

parent 15381cf7
...@@ -201,6 +201,10 @@ ...@@ -201,6 +201,10 @@
if (this.$route.query.RB_Branch_Id) { if (this.$route.query.RB_Branch_Id) {
this.msg.RB_Branch_Id = Number(this.$route.query.RB_Branch_Id) this.msg.RB_Branch_Id = Number(this.$route.query.RB_Branch_Id)
} }
if (this.$route.query.TCNUM) {
this.msg.TCNUM = this.$route.query.TCNUM
}
if (this.$route.query.RB_Department_Id && this.$route.query.RB_Department_Id > 0) { if (this.$route.query.RB_Department_Id && this.$route.query.RB_Department_Id > 0) {
this.msg.RB_Department_Id = Number(this.$route.query.RB_Department_Id) this.msg.RB_Department_Id = Number(this.$route.query.RB_Department_Id)
} }
......
...@@ -1223,7 +1223,7 @@ ...@@ -1223,7 +1223,7 @@
<el-form-item <el-form-item
:label="$t('salesModule.SSPT')" :label="$t('salesModule.SSPT')"
prop="BrandId" prop="BrandId"
v-show="addMsg.ClientSource == 1" v-show="addMsg.ClientSource == 1|| addMsg.ClientSource == 4"
> >
<el-select <el-select
v-model="addMsg.BrandId" v-model="addMsg.BrandId"
...@@ -1245,7 +1245,7 @@ ...@@ -1245,7 +1245,7 @@
<el-form-item <el-form-item
:label="$t('tips.jiaoyifangshi')" :label="$t('tips.jiaoyifangshi')"
prop="TradeWay" prop="TradeWay"
v-show="addMsg.ClientSource == 1" v-show="addMsg.ClientSource == 1|| addMsg.ClientSource == 4"
> >
<el-select <el-select
v-model="addMsg.TradeWay" v-model="addMsg.TradeWay"
......
...@@ -1025,7 +1025,7 @@ ...@@ -1025,7 +1025,7 @@
<div @click='exportExcel_singleRoom(item)'>{{$t('op.FFBDowmLoad')}} </div> <div @click='exportExcel_singleRoom(item)'>{{$t('op.FFBDowmLoad')}} </div>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="CurrentUserInfo.RB_Group_id==2||LookOPCommission"> <el-dropdown-item v-if="CurrentUserInfo.RB_Group_id==2||LookOPCommission">
<div @click='goOPCommissionInfo(item.TCID)'>查看OP提成 </div> <div @click='goOPCommissionInfo(item.TCID,item)'>查看OP提成 </div>
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.IsSetOut==0"> <el-dropdown-item v-if="item.IsSetOut==0">
<div @click='setIsSetOutOffer(item,1)'>取消发团 </div> <div @click='setIsSetOutOffer(item,1)'>取消发团 </div>
...@@ -1504,14 +1504,25 @@ ...@@ -1504,14 +1504,25 @@
let reg = /^http(s)?:\/\/(.*?)\//; let reg = /^http(s)?:\/\/(.*?)\//;
this.downloadFileRename(item.FullUrl.replace(reg, ""), item.Name); this.downloadFileRename(item.FullUrl.replace(reg, ""), item.Name);
}, },
goOPCommissionInfo(tcid) { goOPCommissionInfo(tcid,item) {
this.$router.push({ if(item.TravelEndAudit==1){
path: "OpComPersonDetails", this.$router.push({
query: { path: "OPsalesCommissiondetails",
TrPerIods: tcid, query: {
blank: "y" TCNUM: item.TCNUM,
} blank: "y"
}); }
});
}else{
this.$router.push({
path: "OpComPersonDetails",
query: {
TrPerIods: tcid,
blank: "y"
}
});
}
}, },
//翻页 //翻页
handleCurrentChange(val) { handleCurrentChange(val) {
......
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