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
548fec67
Commit
548fec67
authored
May 23, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e4f77681
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
22 deletions
+47
-22
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+17
-7
ExpectedCommission.vue
src/components/sale/ExpectedCommission.vue
+2
-2
details.vue
src/components/sale/components/details.vue
+7
-7
progressComm.vue
src/components/sale/components/progressComm.vue
+21
-6
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
548fec67
...
...
@@ -1961,6 +1961,8 @@
}
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
}
else
if
(
this
.
orderObj
&&
this
.
orderObj
.
RB_Branch_Id
){
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
RB_Branch_Id
}
else
if
(
this
.
$route
.
query
.
companyID
)
{
this
.
msg
.
RB_Branch_Id
=
parseInt
(
this
.
$route
.
query
.
companyID
);
}
...
...
@@ -2186,11 +2188,19 @@
if
(
x
.
Id
==
y
)
{
x
.
disabled
=
false
;
if
(
num
<
1
&&
!
this
.
$route
.
query
.
edit
)
{
if
(
this
.
orderObj
.
RB_Branch_Id
){
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
RB_Branch_Id
}
else
{
this
.
msg
.
RB_Branch_Id
=
x
.
Id
}
}
if
(
thisId
===
x
.
Id
&&
!
this
.
$route
.
query
.
edit
)
{
if
(
this
.
orderObj
.
RB_Branch_Id
){
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
RB_Branch_Id
}
else
{
this
.
msg
.
RB_Branch_Id
=
x
.
Id
}
}
num
=
num
+
1
}
})
...
...
@@ -2326,9 +2336,6 @@
}
else
{
this
.
orderObj
=
this
.
$route
.
query
.
orderObj
?
JSON
.
parse
(
this
.
$route
.
query
.
orderObj
)
:
null
;
}
if
(
this
.
orderObj
.
RB_Branch_Id
){
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
RB_Branch_Id
}
this
.
isFrompassenger
=
this
.
orderObj
?
this
.
orderObj
.
isFromPassenger
:
undefined
;
let
TCID
=
(
this
.
orderObj
&&
this
.
orderObj
.
TCIDList
&&
this
.
orderObj
.
TCIDList
.
length
>
0
)
?
this
.
orderObj
.
TCIDList
[
0
]
:
0
...
...
@@ -2381,8 +2388,11 @@
this
.
emplyeeName
=
userInfo
.
emName
;
this
.
DepartIDs
=
this
.
msg
.
RB_Depart_Id
=
userInfo
.
RB_Department_Id
;
if
(
this
.
orderObj
&&
this
.
orderObj
.
RB_Branch_Id
){
this
.
RB_Branch_id
=
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
RB_Branch_Id
;
}
else
{
this
.
RB_Branch_id
=
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
=
userInfo
.
RB_Branch_id
;
}
this
.
companyMsg
.
RB_Group_Id
=
this
.
departmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
this
.
IsUploadPic
=
this
.
$route
.
query
.
IsUploadPic
;
this
.
msg
.
Cmd
=
this
.
$route
.
query
.
Cmd
?
this
.
$route
.
query
.
Cmd
:
''
;
...
...
src/components/sale/ExpectedCommission.vue
View file @
548fec67
...
...
@@ -141,7 +141,7 @@
<div
style=
"display: flex;justify-content: space-between; width: 100%;"
>
<div
style=
"display: flex;flex-direction: column;flex-grow: 2;"
>
<div
class=
"CommissionLadder-form"
style=
"margin: 20px 0 10px 0;"
>
<div
class=
"CommissionLadder
Line
"
style=
"padding: 15px 20px 20px 0;"
>
<div
class=
"CommissionLadder"
style=
"padding: 15px 20px 20px 0;"
>
<div
style=
"display: flex;align-items: center;justify-content: space-between; padding: 0 0 10px 20px;
"
>
<span
style=
"font-size: 16px;font-weight: bold;"
>
公司所有国内出发线路(单团.散拚)
</span>
...
...
@@ -258,7 +258,7 @@
</div>
<p
style=
"padding: 0 0 10px 0;text-align: left;"
><span
style=
"font-size: 13px;color: red;"
>
注:年终奖励从每年3月起始
</span></p>
<div
class=
"CommissionInfor"
>
<span>
达标
<span
style=
"margin-left:
10
px;"
>
{{CommissionInfor.BonusNum}}
</span>
月
</span>
<span>
达标
<span
style=
"margin-left:
5px;margin-right: 5
px;"
>
{{CommissionInfor.BonusNum}}
</span>
月
</span>
<span><span>
每月人数35人以上
</span></span>
</span>
</div>
...
...
src/components/sale/components/details.vue
View file @
548fec67
...
...
@@ -3,8 +3,9 @@
</
style
>
<
template
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"预期提成详情"
placement=
"top"
>
<img
src=
"../../../assets/img/xiaosouYQ.png"
@
click=
"goDetails"
style=
"width: 12px;height: auto; cursor: pointer;color: #33B3FF;"
></img>
<!--
<img
src=
"../../../assets/img/xiaosouYQ.png"
@
click=
"goDetails"
style=
"width: 12px;height: auto; cursor: pointer;color: #33B3FF;"
></img>
-->
<i
class=
"el-icon-document"
style=
"font-size: 18px;color: red;cursor: pointer;"
@
click=
"goDetails"
></i>
</el-tooltip>
</
template
>
...
...
@@ -33,14 +34,13 @@
},
methods
:
{
goDetails
(){
let
userInfo
=
this
.
getLocalStorage
();
console
.
log
(
this
.
type
,
'======'
)
return
let
name
// let userInfo = this.getLocalStorage();
// console.log(this.type,'======')
let
name
=
'erpMyCustomerOrder'
this
.
$router
.
push
({
name
:
name
,
query
:
{
UserId
:
Number
(
userInfo
.
EmployeeId
),
//
UserId: Number(userInfo.EmployeeId),
isSale
:
1
,
blank
:
'y'
}
...
...
src/components/sale/components/progressComm.vue
View file @
548fec67
...
...
@@ -75,6 +75,8 @@
:percentage=
"setItemProgress(item)"
:status=
"setItemStatus(item)"
:format=
"setItemText(item)"
:text-color=
"(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)?'#fff':'#666666'"
:color=
"(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)?customColor[0]:customColor[1]"
>
</el-progress>
...
...
@@ -86,7 +88,8 @@
<div
class=
"rate full-width"
:class=
"
{'active-rate':(commissionratioList.type==2
&&
commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2
&&
commissionratioList.AvgLureNum>=item.StartValue)}">
<i
class=
"el-icon-check"
style=
"font-size:8px"
></i>
<i
v-if=
"(commissionratioList.type==2&&commissionratioList.CommissionRate>=item.Rate)||
(commissionratioList.type!=2&&commissionratioList.AvgLureNum>=item.StartValue)"
class=
"el-icon-check"
style=
"font-size:8px"
></i>
{{
item
.
Rate
}}{{
commissionratioList
.
type
==
2
?
'%'
:
''
}}
</div>
</div>
...
...
@@ -159,22 +162,34 @@
methods
:
{
// 设置进度
setItemProgress
(
data
)
{
if
(
this
.
commissionratioList
.
AvgLureNum
>=
data
.
StartValue
&&
this
.
commissionratioList
.
AvfOrderNum
>=
data
.
EndValue
){
return
100
let
length
=
this
.
commissionratioList
.
CommissionRateList
.
length
let
EndValue
=
this
.
commissionratioList
.
CommissionRateList
[
length
-
2
].
EndValue
let
Rate
=
this
.
commissionratioList
.
CommissionRateList
[
length
-
1
].
Rate
if
(
this
.
commissionratioList
.
type
==
1
&&
this
.
commissionratioList
.
AvgLureNum
>=
data
.
StartValue
&&
this
.
commissionratioList
.
AvgLureNum
<=
data
.
EndValue
){
return
(
this
.
commissionratioList
.
AvgLureNum
/
data
.
EndValue
)
*
100
}
else
if
(
this
.
commissionratioList
.
type
==
3
&&
this
.
commissionratioList
.
AvgLureNum
){
return
(
this
.
commissionratioList
.
AvgLureNum
/
data
.
StartValue
)
*
100
}
else
{
return
100
}
if
(
this
.
commissionratioList
.
type
==
2
){
return
100
}
// return 100
},
// 自定义进度条文字
setItemText
(
row
)
{
if
(
this
.
commissionratioList
.
type
==
2
){
this
.
formatProgress
(
row
)
return
()
=>
{
return
`
${
row
.
EndValue2
>
999
9
?
'>'
+
row
.
StartValue2
:
row
.
StartValue2
+
' - '
+
row
.
EndValue2
}
w`
return
`
${
row
.
EndValue2
>
999
?
'>'
+
row
.
StartValue2
:
row
.
StartValue2
+
' - '
+
row
.
EndValue2
}
w`
}
}
else
if
(
this
.
commissionratioList
.
type
==
1
){
return
()
=>
{
return
`
${
row
.
StartValue
+
' - '
+
row
.
EndValue
}
人`
return
`
${
row
.
EndValue
>
999
?
'>'
+
row
.
StartValue
:
row
.
StartValue
+
' - '
+
row
.
EndValue
}
人`
// return `${row.StartValue+' - '+ row.EndValue}人`
}
}
else
{
return
()
=>
{
...
...
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