Commit 3aa5e1b3 authored by youjie's avatar youjie

no message

parent 2acee45c
...@@ -426,10 +426,18 @@ ...@@ -426,10 +426,18 @@
@click="GoOPurl('OPsalesCommissiondetails',GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px; @click="GoOPurl('OPsalesCommissiondetails',GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;
text-decoration: underline;"> text-decoration: underline;">
国内提成详情</span> 国内提成详情</span>
<span
v-if="GetDetail.OtherType==43"
@click="GoOPurl('domesticCommissiondetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">国内提成详情</span>
<!-- (GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64 --> <!-- (GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64 -->
<span v-if="GetDetail.OtherType==73" <span v-if="GetDetail.OtherType==73"
@click="GoOPurl('OpComPersonDetails',GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;"> @click="GoOPurl('OpComPersonDetails',GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">
出境提成详情</span> 出境提成详情</span>
<span
v-if="GetDetail.OtherType==72"
@click="GoOPurl('TradeTicketDetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">出境提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right; <span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right;
color: #000;font-size: 14px;text-decoration: underline;"> color: #000;font-size: 14px;text-decoration: underline;">
拜访记录</span> 拜访记录</span>
...@@ -1803,6 +1811,7 @@ export default { ...@@ -1803,6 +1811,7 @@ export default {
path: path, path: path,
query: { query: {
PeriodId: this.GetDetail.ReFinanceId, PeriodId: this.GetDetail.ReFinanceId,
OutBranchId: Number(this.GetDetail.RB_Branch_Id),
Type:type, Type:type,
blank: 'y', blank: 'y',
tab: '单项服务提现详情' tab: '单项服务提现详情'
...@@ -1977,15 +1986,22 @@ export default { ...@@ -1977,15 +1986,22 @@ export default {
}, },
GoOPurl(path,GetDetail){ GoOPurl(path,GetDetail){
this.$router.push({ let obj = {
name: path,
query: {
PeriodId: GetDetail.ReFinanceId, PeriodId: GetDetail.ReFinanceId,
OutBranchId: String(GetDetail.RB_Branch_Id), RB_Branch_Id: null,
OutBranchId: null,
blank: "y", blank: "y",
tab: "op提成明细" tab: "提成明细"
} }
}); if(GetDetail.OtherType==72){
obj.RB_Branch_Id = String(GetDetail.RB_Branch_Id)
}else{
obj.OutBranchId = String(GetDetail.RB_Branch_Id)
}
this.$router.push({
name: path,
query: obj
});
// this.$router.push({ // this.$router.push({
// name: 'OpComPersonDetails', // name: 'OpComPersonDetails',
// query: { // query: {
......
...@@ -849,11 +849,19 @@ ...@@ -849,11 +849,19 @@
v-if="GetDetail.OtherType==48" v-if="GetDetail.OtherType==48"
@click="GoOPurl('OPsalesCommissiondetails',GetDetail)" @click="GoOPurl('OPsalesCommissiondetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">国内提成详情</span> style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">国内提成详情</span>
<span
v-if="GetDetail.OtherType==43"
@click="GoOPurl('domesticCommissiondetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">国内提成详情</span>
<!-- (GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64 --> <!-- (GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64 -->
<span <span
v-if="GetDetail.OtherType==73" v-if="GetDetail.OtherType==73"
@click="GoOPurl('OpComPersonDetails',GetDetail)" @click="GoOPurl('OpComPersonDetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">出境提成详情</span> style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">出境提成详情</span>
<span
v-if="GetDetail.OtherType==72"
@click="GoOPurl('TradeTicketDetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">出境提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" <span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)"
style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span> style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span>
<span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)" <span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)"
...@@ -1576,6 +1584,7 @@ ...@@ -1576,6 +1584,7 @@
path: path, path: path,
query: { query: {
PeriodId: this.GetDetail.ReFinanceId, PeriodId: this.GetDetail.ReFinanceId,
OutBranchId: Number(this.GetDetail.RB_Branch_Id),
Type: type, Type: type,
blank: 'y', blank: 'y',
tab: '单项服务提现详情' tab: '单项服务提现详情'
...@@ -1766,14 +1775,21 @@ ...@@ -1766,14 +1775,21 @@
}, },
GoOPurl(path,GetDetail) { GoOPurl(path,GetDetail) {
let obj = {
PeriodId: GetDetail.ReFinanceId,
RB_Branch_Id: null,
OutBranchId: null,
blank: "y",
tab: "提成明细"
}
if(GetDetail.OtherType==72){
obj.RB_Branch_Id = String(GetDetail.RB_Branch_Id)
}else{
obj.OutBranchId = String(GetDetail.RB_Branch_Id)
}
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: obj
PeriodId: GetDetail.ReFinanceId,
OutBranchId: String(GetDetail.RB_Branch_Id),
blank: "y",
tab: "op提成明细"
}
}); });
}, },
Gourl(GetDetail) { Gourl(GetDetail) {
......
...@@ -221,6 +221,9 @@ ...@@ -221,6 +221,9 @@
if (this.$route.query.UserId && this.$route.query.UserId > 0) { if (this.$route.query.UserId && this.$route.query.UserId > 0) {
this.msg.UserId = Number(this.$route.query.UserId) this.msg.UserId = Number(this.$route.query.UserId)
} }
if (this.$route.query.OutBranchId) {
this.msg.OutBranchId = Number(this.$route.query.OutBranchId)
}
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)
} }
......
...@@ -1428,7 +1428,7 @@ ...@@ -1428,7 +1428,7 @@
this.msg.ECOrderList = this.orderObj.ECOrderList ? this.orderObj.ECOrderList : []; this.msg.ECOrderList = this.orderObj.ECOrderList ? this.orderObj.ECOrderList : [];
this.msg.EduCommissionEmp = this.orderObj.EduCommissionEmp ? this.orderObj.EduCommissionEmp: null this.msg.EduCommissionEmp = this.orderObj.EduCommissionEmp ? this.orderObj.EduCommissionEmp: null
} }
if(this.orderObj.OtherType==75&&this.orderObj.ReFinances==''){ if(this.orderObj&&this.orderObj.OtherType&&this.orderObj.OtherType==75&&this.orderObj.ReFinances==''){
this.Error(`成本月结数据不能为空!`) this.Error(`成本月结数据不能为空!`)
return return
} }
......
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