Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
e921f7c9
Commit
e921f7c9
authored
Jun 02, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
e6302928
9517c30d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
26 deletions
+40
-26
sale.vue
src/components/sale/sale.vue
+0
-2
progressComm.vue
src/components/temp/components/progressComm.vue
+3
-1
operation.vue
src/components/temp/operation.vue
+37
-23
No files found.
src/components/sale/sale.vue
View file @
e921f7c9
...
...
@@ -601,7 +601,6 @@
</template>
<
script
>
import
leftNav
from
'../public/leftNav.vue'
import
rightHead
from
'../public/rightHead.vue'
import
moment
from
'moment'
export
default
{
data
()
{
...
...
@@ -660,7 +659,6 @@
},
components
:
{
leftNav
,
rightHead
},
watch
:
{
...
...
src/components/temp/components/progressComm.vue
View file @
e921f7c9
...
...
@@ -119,8 +119,10 @@
methods
:
{
// 设置进度
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
}
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
{
return
0
}
...
...
src/components/temp/operation.vue
View file @
e921f7c9
...
...
@@ -91,6 +91,9 @@
color: red;
}
.CommissionInfor{
white-space: nowrap;
display: flex;
flex-wrap: wrap;
padding: 0 0 10px 0;
}
.CommissionInfor span{
...
...
@@ -106,6 +109,13 @@
.CommissionLadder:last-child{
margin-right: 0;
}
.commissionProject{
padding: 0 0 10px 0;
border-bottom: 1px dashed #BDBDBD;
}
.border-bottom{
border-bottom: 1px dashed #BDBDBD;
}
.commissionProject>div{
margin-right: 40px;
margin-top: 10px;
...
...
@@ -153,9 +163,10 @@
font-size: 14px;
}
.headerTitle{
margin-bottom:
4
0px;
margin-bottom:
1
0px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
.headerTitle p{
font-weight: bold;
...
...
@@ -181,13 +192,16 @@
}
.ladder-list{
flex: 1;
min-width: 450px;
/* max-width: 450px; */
min-width: 460px;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-right: 40px;
margin-bottom: 10px;
}
.ladder-list:nth-child(3n){
margin-right: 0;
}
.ladder-list:last-child{
margin-right: 0;
}
...
...
@@ -273,7 +287,7 @@
@click="clickActive(item)">
</input>
</
template
>
</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"
>
<!-- <p><span>总团队数:</span> <span>{{groupNum}}</span></p> -->
<p><span>
总订单数:
</span>
<span>
{{OrderNum}}
</span></p>
...
...
@@ -281,6 +295,7 @@
<p><span>
总预期奖金:
</span><span>
{{CommissionJJ}}
</span></p>
<p><span>
总预期提成:
</span><span>
{{CommissionTC}}
</span></p>
</div>
<p
style=
"color: red;font-size: 14px;text-align: right;"
>
注:操作提成需已结团后方可发放提成,以下预期提成均为已结团统计
</p>
</div>
</div>
</el-col>
...
...
@@ -297,7 +312,7 @@
</div>
</div>
<template
v-if=
"isVisa"
>
<div
class=
"commissionProject"
style=
"display: flex;flex-wrap: wrap;padding: 0 0 1
0
px 0;"
>
<div
class=
"commissionProject"
style=
"display: flex;flex-wrap: wrap;padding: 0 0 1
5
px 0;"
>
<div>
<div
style=
"padding: 0 0 5px 0;"
>
<span
class=
"ProjectTitle"
>
公司所有国内出发线路(单团.散拚)
...
...
@@ -312,11 +327,11 @@
</div>
</div>
</
template
>
<
template
v-if=
"isVisa"
>
<p
style=
"font-size: 16px;font-weight: bold;color: black;"
>
小包团
{{
!
isBranchCompany
?
'、落地团'
:
''
}}
以及单项提成
</p>
<template
v-for=
"(s,indexs) in item.BranchList"
>
<div
class=
"ladder-form"
>
<div
class=
"border-bottom"
v-if=
"isVisa"
>
<p
style=
"font-size: 16px;font-weight: bold;color: black;padding: 10px 0 0 0;"
>
小包团{{!isBranchCompany?'、落地团':''}}以及单项提成
</p>
<div
class=
"ladder-form"
style=
"margin-top: 3px;"
>
<div
class=
"ladder-form-box"
>
<
template
v-for=
"(s,indexs) in item.BranchList"
>
<div
class=
"ladder-list"
>
<div
class=
"ladder-title"
>
{{
s
.
BranchName
}}
</div>
<div
class=
"CommissionInfor"
>
...
...
@@ -339,7 +354,8 @@
<progressComm
:type=
"2"
:CommissionRateList=
"s.GradeRuleList"
:Profit=
"s.Profit"
></progressComm>
</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=
"CommissionInfor"
>
<span>
...
...
@@ -354,9 +370,7 @@
</div>
</div>
</div>
</
template
>
</template>
</div>
<div
class=
"commissionProject"
style=
"display: flex;flex-wrap: wrap;"
>
<div>
<div
style=
"display: flex;"
>
...
...
@@ -386,8 +400,10 @@
</div>
</div>
</div>
<
template
v-if=
"isVisa||!isBranchCompany"
>
<div
v-if=
"!index"
>
</div>
<div
class=
"commissionProject"
style=
"display: flex;flex-wrap: wrap;border: 0;"
v-if=
"(isVisa||!isBranchCompany)&&!index"
>
<div>
<div
style=
"display: flex;"
>
<div>
<div
class=
"commissionProjectZL"
>
...
...
@@ -415,9 +431,7 @@
</div>
</div>
</div>
</
template
>
</div>
</div>
</div>
</template>
...
...
@@ -534,7 +548,6 @@
<
script
>
import
leftNav
from
'../public/leftNav.vue'
import
rightHead
from
'../public/rightHead.vue'
import
progressComm
from
'./components/progressComm'
import
OrderList
from
'./components/OrderList'
import
detailsButtom
from
'./components/details'
...
...
@@ -607,7 +620,6 @@
},
components
:{
leftNav
,
rightHead
,
progressComm
,
OrderList
,
detailsButtom
...
...
@@ -688,7 +700,7 @@
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
this
.
loading
=
false
;
})
},
GetGNSaleExpectCommission
(){
...
...
@@ -717,8 +729,11 @@
let
arr2
=
[
this
.
GNCommission
,
this
.
yuqiticheng
]
this
.
CommissionJJ
=
this
.
CalculatePrice
(
arr1
,
0
)
this
.
CommissionTC
=
this
.
CalculatePrice
(
arr2
,
2
)
this
.
loading
=
false
;
}
else
{
this
.
loading
=
false
;
}
})
}
,
err
=>
{
this
.
loading
=
false
}
)
},
// 未结团数据
GetOrderPageList
(){
...
...
@@ -736,9 +751,8 @@
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading
=
false
},
err
=>
{
this
.
loading
=
false
}
err
=>
{}
)
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment