Commit 697e0d44 authored by 吴春's avatar 吴春

1

parent 33644632
......@@ -161,7 +161,8 @@
<th style="width: 100px;">提成方式</th>
<th style="width: 120px;">提成比例/奖励</th>
<th style="width: 100px;">提成金额</th>
<th style="width: 100px;">期数</th>
<th style="width: 100px;">提成次数</th>
<th style="width: 80px;">期数</th>
<th width='200'>备注</th>
</tr>
......@@ -186,6 +187,8 @@
<td v-if="item.Way==1">{{item.Rate+'/人'}}</td>
<td v-if="item.Way==2"><span class="cursor-p" :style="{'color': '#409EFF'}" @click="openCommissionRate(item.EmployeeId,item.UserName)">{{item.Rate+'%'}}</span></td>
<td>{{item.CommissionMoney?item.CommissionMoney:'-'}}</td>
<td><span v-if="item.IssueNum<3" style="padding-left:5px;color:blue;cursor: pointer;text-decoration: underline;" @click="goUrlUser('OpComPersonDetails',item)">{{item.IssueNum}}次提成</span>
<span v-else-if="item.IssueNum>=3" style="padding-left:5px;color:red;cursor: pointer;text-decoration: underline;" @click="goUrlUser('OpComPersonDetails',item)">{{item.IssueNum}}次提成</span></td>
<td>{{item.PeriodsReissue}}</td>
<td>{{item.Description?item.Description:'-'}}</td>
</tr>
......@@ -330,6 +333,8 @@
}
}
this.msg.TCNUM = this.$route.query.TCNUM?this.$route.query.TCNUM:''
this.msg.TCID = this.$route.query.TCID?this.$route.query.TCID:''
this.msg.OrderType = this.$route.query.OrderType?this.$route.query.OrderType:-1
this.msg.RB_Branch_Id = this.$route.query.OutBranchId?Number(this.$route.query.OutBranchId):-1
this.msg.EmBranchId = this.$route.query.RB_Branch_Id?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id)
this.msg.EmployeeId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
......@@ -347,6 +352,19 @@
},
methods: {
goUrlUser(path, item) {
this.$router.push({
path: path,
query: {
PeriodId: 0,
UserId: item.EmployeeId,
TCID:item.TCID,
OrderType:item.OrderType,
blank: 'y',
tab: '同业提现详情'
}
});
},
GetOrderTypeEnumList() {
this.apipost("opcommission_GetOrderTypeEnumList", {}, (res) => {
if (res.data.resultCode == 1) {
......
......@@ -161,6 +161,7 @@
<th style="width: 100px;">提成比例</th>
<th style="width: 100px;">当月利润/业绩</th>
<th style="width: 100px;">提成金额</th>
<th style="width: 100px;">提成次数</th>
<th style="width: 100px;">期数</th>
<th width='200'>备注</th>
......@@ -182,6 +183,10 @@
<td><span class="cursor-p" :style="{'color': '#409EFF'}" @click="openCommissionRate(item.UserId,item.UserName)">{{item.Rate?item.Rate+'%':'-'}}</span></td>
<td>{{item.OrderProfit}}</td>
<td>{{item.CommissionMoney?item.CommissionMoney:'-'}}</td>
<td><span v-if="item.IssueNum<3" style="padding-left:5px;color:blue;cursor: pointer;text-decoration: underline;" @click="goUrlUser('TradeTicketDetails',item)">{{item.IssueNum}}次提成</span>
<span v-else-if="item.IssueNum>=3" style="padding-left:5px;color:red;cursor: pointer;text-decoration: underline;" @click="goUrlUser('TradeTicketDetails',item)">{{item.IssueNum}}次提成</span></td>
<td>{{item.Periods}}</td>
<td>{{item.Description?item.Description:'-'}}</td>
</tr>
......@@ -325,7 +330,8 @@
this.msg.OrderId = this.$route.query.OrderId?this.$route.query.OrderId:''
this.msg.OutBranchId = this.$route.query.OutBranchId?Number(this.$route.query.OutBranchId):-1
this.msg.RB_Branch_Id = this.$route.query.RB_Branch_Id?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id)
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
this.msg.UserId = this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId),
this.msg.OrderType = this.$route.query.OrderType?this.$route.query.OrderType:-1
if (ActionMenuCode.indexOf('S_CheckBranchOrder') != -1
||ActionMenuCode.indexOf('S_CheckAllOrder')!=-1
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!=-1) {//是否有看所有人的权限
......@@ -340,6 +346,19 @@
},
methods: {
goUrlUser(path, item) {
this.$router.push({
path: path,
query: {
PeriodId: 0,
UserId: item.UserId,
OrderId:item.OrderId,
OrderType:item.OrderType,
blank: 'y',
tab: '同业提现详情'
}
});
},
GetOrderTypeEnumList() {
this.apipost("CarSingle_post_GetOrderTypeEnumList", {}, (res) => {
if (res.data.resultCode == 1) {
......
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