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
44b2b942
Commit
44b2b942
authored
Dec 01, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
796c400c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
93 deletions
+74
-93
ServiceCommission.vue
...s/FinancialModule/ServiceCommission/ServiceCommission.vue
+38
-80
ServiceCommissiondetails.vue
...cialModule/ServiceCommission/ServiceCommissiondetails.vue
+1
-3
domesticCommissionRule.vue
src/components/FinancialModule/domesticCommissionRule.vue
+35
-10
No files found.
src/components/FinancialModule/ServiceCommission/ServiceCommission.vue
View file @
44b2b942
...
...
@@ -20,10 +20,12 @@
color
:
red
;
}
.tdOne
{
height
:
20px
;
border-bottom
:
1px
solid
#eeeeee
;
padding
:
0
0
5px
0
;
}
.tdTwo
{
height
:
20px
;
padding
:
5px
0
0
0
;
}
.singeRowTableB
{
...
...
@@ -63,93 +65,49 @@
<tr>
<th>
期数
</th>
<th>
名称
</th>
<th>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr><th
style=
"width: 25%;"
>
类型
</th>
<th
style=
"width: 25%;"
>
总提成
</th>
<th
style=
"width: 25%;"
>
所属公司提成
</th>
<th
style=
"width: 25%;"
>
财务单据
</th></tr>
</table>
</th>
<th>
类型
</th>
<th>
总提成
</th>
<th>
所属公司提成
</th>
<th>
财务单据
</th>
<th>
操作信息
</th>
<th>
操作
</th>
</tr>
<tr
v-for=
"item in dataList"
style=
"line-height: 15px;"
>
<td>
{{
item
.
Periods
}}
</td>
<td>
{{
item
.
Name
}}
</td>
<td
:rowspan=
"1"
>
{{
item
.
Periods
}}
</td>
<td
:rowspan=
"1"
>
{{
item
.
Name
}}
</td>
<td>
<table
class=
"singeRowTableB"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
style=
"width: 25%;"
>
<table
class=
"singeRowTableB"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
style=
"border-bottom: 1px solid #eeeeee;"
>
<td
>
销售
</td>
</tr>
<tr>
<td
>
OP
</td>
</tr>
</table>
</td>
<td
style=
"width: 25%;"
>
<table
class=
"singeRowTableB"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
style=
"border-bottom: 1px solid #eeeeee;"
>
<td
>
{{
item
.
SellSumPrice
?
item
.
SellSumPrice
:
'-'
}}
</td>
</tr>
<tr>
<td
>
{{
item
.
OPSumPrice
?
item
.
OPSumPrice
:
'-'
}}
</td>
</tr>
</table>
</td>
<td
style=
"width: 25%;"
>
<table
class=
"singeRowTableB"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
style=
"border-bottom: 1px solid #eeeeee;"
>
<td
>
{{
item
.
BranchCommission
?
item
.
BranchCommission
:
'-'
}}
</td>
</tr>
<tr>
<td
>
{{
item
.
BranchOPCommission
?
item
.
BranchOPCommission
:
'-'
}}
</td>
</tr>
</table>
</td>
<td
style=
"width: 25%;"
>
<table
class=
"singeRowTableB"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr
style=
"border-bottom: 1px solid #eeeeee;"
>
<td
>
<span
v-for=
"(x,y) in item.SellFinanceIdList"
>
<span
style=
"cursor: pointer;text-decoration: underline;"
@
click=
'gofinancialdetail(x)'
>
{{
x
}}
</span>
{{
item
.
SellFinanceIdList
.
length
==
y
+
1
?
''
:
'、'
}}
</span>
</td>
</tr>
<tr>
<td>
<span
v-for=
"(x,y) in item.OPFinanceIdList"
>
<span
style=
"cursor: pointer;text-decoration: underline;"
@
click=
'gofinancialdetail(x)'
>
{{
x
}}
</span>
{{
item
.
OPFinanceIdList
.
length
==
y
+
1
?
''
:
'、'
}}
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div
class=
"tdOne"
>
销售
</div>
<div
class=
"tdTwo"
>
OP
</div>
</td>
<td>
<div
class=
"tdOne"
>
{{
item
.
SellSumPrice
}}
</div>
<div
class=
"tdTwo"
>
{{
item
.
OPSumPrice
}}
</div>
</td>
<td>
<div
class=
"tdOne"
>
{{
item
.
BranchCommission
?
item
.
BranchCommission
:
'-'
}}
</div>
<div
class=
"tdTwo"
>
{{
item
.
BranchOPCommission
?
item
.
BranchOPCommission
:
'-'
}}
</div>
</td>
<td>
<div
class=
"tdOne"
>
<span
v-for=
"(x,y) in item.SellFinanceIdList"
>
<span
style=
"cursor: pointer;text-decoration: underline;"
@
click=
'gofinancialdetail(x)'
>
{{
x
}}
</span>
{{
item
.
SellFinanceIdList
.
length
==
y
+
1
?
''
:
'、'
}}
</span>
</div>
<div
class=
"tdTwo"
>
<span
v-for=
"(x,y) in item.OPFinanceIdList"
>
<span
style=
"cursor: pointer;text-decoration: underline;"
@
click=
'gofinancialdetail(x)'
>
{{
x
}}
</span>
{{
item
.
OPFinanceIdList
.
length
==
y
+
1
?
''
:
'、'
}}
</span>
</div>
</td>
<td
:rowspan=
"1"
>
<div>
{{
item
.
CreateByStr
}}
</div>
<div>
{{
item
.
CreateStr
}}
</div>
</td>
...
...
src/components/FinancialModule/ServiceCommission/ServiceCommissiondetails.vue
View file @
44b2b942
...
...
@@ -110,7 +110,6 @@
<th>
人数
</th>
<th>
提成
</th>
<th>
提成比例
</th>
<th>
团利润
</th>
<th>
期数
</th>
<th
width=
'400'
>
备注
</th>
...
...
@@ -133,8 +132,7 @@
<td>
{{
item
.
TCProfit
}}
</td>
<td>
{{
item
.
OrderCount
}}
</td>
<td>
{{
item
.
CommissionMoney
}}
</td>
<td>
{{
item
.
CommissionRate
}}
</td>
<td>
{{
item
.
TCProfit
}}
</td>
<td>
{{
item
.
CommissionRate
}}
%
</td>
<td>
{{
item
.
Periods
}}
</td>
<td>
{{
item
.
Description
}}
</td>
...
...
src/components/FinancialModule/domesticCommissionRule.vue
View file @
44b2b942
...
...
@@ -57,7 +57,7 @@
<td
>
<span
v-if=
"childItem.SourceType==1"
>
正常
</span>
<span
v-if=
"childItem.SourceType==2"
>
飞猪
</span>
<span
v-if=
"childItem.SourceType==3"
>
小红书
</span>
</td>
<td>
{{
childItem
.
Name
}}
</td>
<td>
...
...
@@ -129,6 +129,7 @@
<el-form-item
label=
"来源"
>
<el-radio
v-model=
"x.SourceType"
label=
"1"
@
change=
'getSType(y)'
>
正常
</el-radio>
<el-radio
v-model=
"x.SourceType"
label=
"2"
:disabled=
"x.STdisabled"
style=
"margin-right: 20px;"
@
change=
'getSType(y)'
>
飞猪
</el-radio>
<el-radio
v-model=
"x.SourceType"
label=
"3"
:disabled=
"x.STdisabledXHS"
style=
"margin-right: 20px;"
@
change=
'getSType(y)'
>
小红书
</el-radio>
</el-form-item>
<el-button
style=
"margin-left: 15px;padding: 6px;"
type=
"danger"
size=
"mini"
class=
"el-icon-delete"
circle
v-if=
"addMsg.TempTypeList.length>1"
@
click=
"addMsg.TempTypeList.splice(y,1),selectdis()"
>
...
...
@@ -240,7 +241,8 @@
Money
:
'0'
,
ProfitRate
:
'0'
,
SourceType
:
'1'
,
STdisabled
:
false
STdisabled
:
false
,
STdisabledXHS
:
false
}]
}
export
default
{
...
...
@@ -448,8 +450,8 @@
Money
:
'0'
,
ProfitRate
:
'0'
,
SourceType
:
'1'
,
STdisabled
:
false
STdisabled
:
false
,
STdisabledXHS
:
false
,
}]
}
this
.
selectdis
()
...
...
@@ -457,11 +459,14 @@
},
addTempTypeList
()
{
//新增类型
let
isdisabled
=
false
let
isdisabledXHS
=
false
for
(
let
i
=
0
;
i
<
this
.
addMsg
.
TempTypeList
.
length
;
i
++
){
let
x
=
this
.
addMsg
.
TempTypeList
[
i
]
if
(
x
.
SourceType
==
2
&&
this
.
addMsg
.
Type
!=
3
){
isdisabled
=
true
break
if
(
this
.
addMsg
.
Type
!=
3
){
if
(
x
.
SourceType
==
2
||
x
.
SourceType
==
3
){
isdisabled
=
true
break
}
}
}
let
obj
=
{
...
...
@@ -471,12 +476,14 @@
Money
:
"0"
,
ProfitRate
:
"0"
,
SourceType
:
'1'
,
STdisabled
:
isdisabled
STdisabled
:
isdisabled
,
STdisabledXHS
:
isdisabled
,
}
this
.
addMsg
.
TempTypeList
.
push
(
obj
)
},
RulesOk
(
formName
)
{
console
.
log
(
this
.
addMsg
,
'===='
)
// return
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
let
LineshortIds
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
addMsg
.
LineshortIds
))
...
...
@@ -500,11 +507,15 @@
},
isshowfeizhu
(){
let
isfeizhu
=
false
let
isxiaohongshu
=
false
for
(
let
i
=
0
;
i
<
this
.
addMsg
.
TempTypeList
.
length
;
i
++
){
let
x
=
this
.
addMsg
.
TempTypeList
[
i
]
if
(
x
.
SourceType
==
2
){
isfeizhu
=
true
}
if
(
x
.
SourceType
==
3
){
isxiaohongshu
=
true
}
}
this
.
addMsg
.
TempTypeList
.
forEach
(
x
=>
{
if
(
isfeizhu
==
true
){
...
...
@@ -518,9 +529,23 @@
}
else
{
x
.
STdisabled
=
true
}
}
else
{
}
else
if
(
!
isfeizhu
)
{
x
.
STdisabled
=
false
}
if
(
isxiaohongshu
==
true
){
if
(
x
.
SourceType
==
3
){
x
.
STdisabledXHS
=
false
;
if
(
this
.
addMsg
.
Type
!=
3
){
x
.
Id
=
0
;
x
.
Name
=
'小红书'
}
}
else
{
x
.
STdisabledXHS
=
true
}
}
else
if
(
!
isxiaohongshu
){
x
.
STdisabledXHS
=
false
}
})
},
getSType
(
index
){
//选了飞猪之后 后面的不能选飞猪了
...
...
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