Commit e921f7c9 authored by 黄奎's avatar 黄奎
parents e6302928 9517c30d
...@@ -601,7 +601,6 @@ ...@@ -601,7 +601,6 @@
</template> </template>
<script> <script>
import leftNav from '../public/leftNav.vue' import leftNav from '../public/leftNav.vue'
import rightHead from '../public/rightHead.vue'
import moment from 'moment' import moment from 'moment'
export default { export default {
data() { data() {
...@@ -660,7 +659,6 @@ ...@@ -660,7 +659,6 @@
}, },
components: { components: {
leftNav, leftNav,
rightHead
}, },
watch: { watch: {
......
...@@ -119,8 +119,10 @@ ...@@ -119,8 +119,10 @@
methods: { methods: {
// 设置进度 // 设置进度
setItemProgress(data) { setItemProgress(data) {
if(this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){ if(this.type==2&&this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){
return data.EndValue<999999?(this.Profit/data.EndValue)*100:(this.Profit/data.StartValue)*100 return data.EndValue<999999?(this.Profit/data.EndValue)*100:(this.Profit/data.StartValue)*100
}else if(this.type==1&&this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){
return data.EndValue<999?(this.Profit/data.EndValue)*100:(this.Profit/data.StartValue)*100
}else{ }else{
return 0 return 0
} }
......
...@@ -91,6 +91,9 @@ ...@@ -91,6 +91,9 @@
color: red; color: red;
} }
.CommissionInfor{ .CommissionInfor{
white-space: nowrap;
display: flex;
flex-wrap: wrap;
padding: 0 0 10px 0; padding: 0 0 10px 0;
} }
.CommissionInfor span{ .CommissionInfor span{
...@@ -106,6 +109,13 @@ ...@@ -106,6 +109,13 @@
.CommissionLadder:last-child{ .CommissionLadder:last-child{
margin-right: 0; margin-right: 0;
} }
.commissionProject{
padding: 0 0 10px 0;
border-bottom: 1px dashed #BDBDBD;
}
.border-bottom{
border-bottom: 1px dashed #BDBDBD;
}
.commissionProject>div{ .commissionProject>div{
margin-right: 40px; margin-right: 40px;
margin-top: 10px; margin-top: 10px;
...@@ -153,9 +163,10 @@ ...@@ -153,9 +163,10 @@
font-size: 14px; font-size: 14px;
} }
.headerTitle{ .headerTitle{
margin-bottom: 40px; margin-bottom: 10px;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center;
} }
.headerTitle p{ .headerTitle p{
font-weight: bold; font-weight: bold;
...@@ -181,13 +192,16 @@ ...@@ -181,13 +192,16 @@
} }
.ladder-list{ .ladder-list{
flex: 1; flex: 1;
min-width: 450px; min-width: 460px;
/* max-width: 450px; */
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between;
margin-right: 40px; margin-right: 40px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.ladder-list:nth-child(3n){
margin-right: 0;
}
.ladder-list:last-child{ .ladder-list:last-child{
margin-right: 0; margin-right: 0;
} }
...@@ -273,7 +287,7 @@ ...@@ -273,7 +287,7 @@
@click="clickActive(item)"></input> @click="clickActive(item)"></input>
</template> </template>
</div> </div>
<div style="display: flex;align-items: center; justify-content: space-between;padding: 20px 20px 0 20px;"> <div style="display: flex;flex-direction: column; padding: 20px 20px 0 20px;">
<div class="headerTitle"> <div class="headerTitle">
<!-- <p><span>总团队数:</span> <span>{{groupNum}}</span></p> --> <!-- <p><span>总团队数:</span> <span>{{groupNum}}</span></p> -->
<p><span>总订单数:</span> <span>{{OrderNum}}</span></p> <p><span>总订单数:</span> <span>{{OrderNum}}</span></p>
...@@ -281,6 +295,7 @@ ...@@ -281,6 +295,7 @@
<p><span>总预期奖金:</span><span>{{CommissionJJ}}</span></p> <p><span>总预期奖金:</span><span>{{CommissionJJ}}</span></p>
<p><span>总预期提成:</span><span>{{CommissionTC}}</span></p> <p><span>总预期提成:</span><span>{{CommissionTC}}</span></p>
</div> </div>
<p style="color: red;font-size: 14px;text-align: right;">注:操作提成需已结团后方可发放提成,以下预期提成均为已结团统计</p>
</div> </div>
</div> </div>
</el-col> </el-col>
...@@ -297,7 +312,7 @@ ...@@ -297,7 +312,7 @@
</div> </div>
</div> </div>
<template v-if="isVisa"> <template v-if="isVisa">
<div class="commissionProject" style="display: flex;flex-wrap: wrap;padding: 0 0 10px 0;"> <div class="commissionProject" style="display: flex;flex-wrap: wrap;padding: 0 0 15px 0;">
<div> <div>
<div style="padding: 0 0 5px 0;"> <div style="padding: 0 0 5px 0;">
<span class="ProjectTitle">公司所有国内出发线路(单团.散拚) <span class="ProjectTitle">公司所有国内出发线路(单团.散拚)
...@@ -312,11 +327,11 @@ ...@@ -312,11 +327,11 @@
</div> </div>
</div> </div>
</template> </template>
<template v-if="isVisa"> <div class="border-bottom" v-if="isVisa">
<p style="font-size: 16px;font-weight: bold;color: black;">小包团{{!isBranchCompany?'、落地团':''}}以及单项提成</p> <p style="font-size: 16px;font-weight: bold;color: black;padding: 10px 0 0 0;">小包团{{!isBranchCompany?'、落地团':''}}以及单项提成</p>
<template v-for="(s,indexs) in item.BranchList"> <div class="ladder-form" style="margin-top: 3px;">
<div class="ladder-form">
<div class="ladder-form-box"> <div class="ladder-form-box">
<template v-for="(s,indexs) in item.BranchList">
<div class="ladder-list"> <div class="ladder-list">
<div class="ladder-title">{{s.BranchName}}</div> <div class="ladder-title">{{s.BranchName}}</div>
<div class="CommissionInfor"> <div class="CommissionInfor">
...@@ -339,7 +354,8 @@ ...@@ -339,7 +354,8 @@
<progressComm :type="2" :CommissionRateList="s.GradeRuleList" <progressComm :type="2" :CommissionRateList="s.GradeRuleList"
:Profit="s.Profit"></progressComm> :Profit="s.Profit"></progressComm>
</div> </div>
<div class="ladder-list" v-if="(isVisa||!isBranchCompany)&&item.BranchList.length-1==indexs"> </template>
<div class="ladder-list">
<div class="ladder-title">额外奖励 (不含落地团)</div> <div class="ladder-title">额外奖励 (不含落地团)</div>
<div class="CommissionInfor"> <div class="CommissionInfor">
<span> <span>
...@@ -354,9 +370,7 @@ ...@@ -354,9 +370,7 @@
</div> </div>
</div> </div>
</div> </div>
</template> </div>
</template>
<div class="commissionProject" style="display: flex;flex-wrap: wrap;"> <div class="commissionProject" style="display: flex;flex-wrap: wrap;">
<div> <div>
<div style="display: flex;"> <div style="display: flex;">
...@@ -386,8 +400,10 @@ ...@@ -386,8 +400,10 @@
</div> </div>
</div> </div>
</div> </div>
<template v-if="isVisa||!isBranchCompany"> </div>
<div v-if="!index"> <div class="commissionProject" style="display: flex;flex-wrap: wrap;border: 0;"
v-if="(isVisa||!isBranchCompany)&&!index">
<div>
<div style="display: flex;"> <div style="display: flex;">
<div> <div>
<div class="commissionProjectZL"> <div class="commissionProjectZL">
...@@ -415,9 +431,7 @@ ...@@ -415,9 +431,7 @@
</div> </div>
</div> </div>
</div> </div>
</template>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
...@@ -534,7 +548,6 @@ ...@@ -534,7 +548,6 @@
<script> <script>
import leftNav from '../public/leftNav.vue' import leftNav from '../public/leftNav.vue'
import rightHead from '../public/rightHead.vue'
import progressComm from './components/progressComm' import progressComm from './components/progressComm'
import OrderList from './components/OrderList' import OrderList from './components/OrderList'
import detailsButtom from './components/details' import detailsButtom from './components/details'
...@@ -607,7 +620,6 @@ ...@@ -607,7 +620,6 @@
}, },
components:{ components:{
leftNav, leftNav,
rightHead,
progressComm, progressComm,
OrderList, OrderList,
detailsButtom detailsButtom
...@@ -688,7 +700,7 @@ ...@@ -688,7 +700,7 @@
}else{ }else{
this.Error(res.data.message) this.Error(res.data.message)
} }
this.loading = false;
}) })
}, },
GetGNSaleExpectCommission(){ GetGNSaleExpectCommission(){
...@@ -717,8 +729,11 @@ ...@@ -717,8 +729,11 @@
let arr2 =[this.GNCommission,this.yuqiticheng] let arr2 =[this.GNCommission,this.yuqiticheng]
this.CommissionJJ = this.CalculatePrice(arr1,0) this.CommissionJJ = this.CalculatePrice(arr1,0)
this.CommissionTC = this.CalculatePrice(arr2,2) this.CommissionTC = this.CalculatePrice(arr2,2)
this.loading = false;
}else{
this.loading = false;
} }
}) },err => {this.loading = false} )
}, },
// 未结团数据 // 未结团数据
GetOrderPageList(){ GetOrderPageList(){
...@@ -736,9 +751,8 @@ ...@@ -736,9 +751,8 @@
}else { }else {
this.Error(res.data.message); this.Error(res.data.message);
} }
this.loading = false
}, },
err => {this.loading = false} err => {}
) )
}, },
......
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