Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
6b51e6a6
Commit
6b51e6a6
authored
Dec 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
735922c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
7 deletions
+18
-7
marketCommissionfrom.vue
src/components/finance/marketCommissionfrom.vue
+17
-6
commissionRule.vue
src/pages/financial/market/commissionRule.vue
+1
-1
No files found.
src/components/finance/marketCommissionfrom.vue
View file @
6b51e6a6
...
...
@@ -298,6 +298,20 @@ export default {
this
.
addMsg
.
CourseList
=
this
.
getId
(
this
.
selectData
.
CourseList
,
2
)
this
.
addMsg
.
EmpList
=
this
.
getId
(
this
.
selectData
.
EmpList
,
3
)
this
.
addMsg
.
ChildEmpList
=
this
.
getId
(
this
.
selectData
.
ChildEmpList
,
3
)
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
employeeList
.
length
){
this
.
personnel
=
true
}
else
{
this
.
personnel
=
false
}
if
(
this
.
addMsg
.
ChildEmpList
.
length
==
this
.
employeeList
.
length
){
this
.
branch
=
true
}
else
{
this
.
branch
=
false
}
}
},
mounted
()
{
...
...
@@ -356,7 +370,6 @@ export default {
if
(
!
this
.
$refs
.
Name
.
hasError
&&
!
this
.
$refs
.
CourseRate
.
hasError
&&
!
this
.
$refs
.
FirstRate
.
hasError
)
{
console
.
log
(
this
.
addMsg
)
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
addMsg
))
if
(
this
.
addMsg
.
SchoolIds
&&
this
.
addMsg
.
SchoolIds
.
length
==
0
)
{
this
.
$q
.
notify
({
...
...
@@ -382,7 +395,6 @@ export default {
msg
.
ChildEmpList
=
this
.
getList
(
this
.
employeeList
,
this
.
addMsg
.
ChildEmpList
,
3
,)
//部门人员
for
(
let
i
=
0
;
i
<
msg
.
RateList
.
length
;
i
++
){
let
x
=
msg
.
RateList
[
i
]
console
.
log
(
x
.
StartValue
)
if
(
x
.
StartValue
===
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
...
...
@@ -408,7 +420,6 @@ export default {
return
}
}
console
.
log
(
msg
,
'222222'
)
this
.
$emit
(
'success'
,
msg
)
}
},
...
...
@@ -453,7 +464,7 @@ export default {
}
else
{
//部门人员全选
if
(
this
.
branch
==
true
){
this
.
addMsg
.
ChildEmpList
=
[]
this
.
myE
mployeeList
.
forEach
(
x
=>
{
this
.
e
mployeeList
.
forEach
(
x
=>
{
this
.
addMsg
.
ChildEmpList
.
push
(
x
.
Id
)
})
}
else
{
...
...
@@ -464,13 +475,13 @@ export default {
},
getpersonnel
(
type
){
if
(
type
==
1
){
//人员全选
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
myE
mployeeList
.
length
){
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
e
mployeeList
.
length
){
this
.
personnel
=
true
}
else
{
this
.
personnel
=
false
}
}
else
{
//部门人员全选
if
(
this
.
addMsg
.
ChildEmpList
.
length
==
this
.
myE
mployeeList
.
length
){
if
(
this
.
addMsg
.
ChildEmpList
.
length
==
this
.
e
mployeeList
.
length
){
this
.
branch
=
true
}
else
{
this
.
branch
=
false
...
...
src/pages/financial/market/commissionRule.vue
View file @
6b51e6a6
...
...
@@ -49,7 +49,7 @@
</div>
<template>
<div
class=
"cycle_Title"
>
市场顾问
提成规则
业绩
提成规则
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
label=
"新增规则"
@
click=
"AddMsg()"
/>
</div>
<div
...
...
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