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
f8b56be9
Commit
f8b56be9
authored
May 23, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
797e013f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
21 deletions
+33
-21
ImpressionTicketCommission.vue
...Module/ImpressionTicketing/ImpressionTicketCommission.vue
+13
-6
ImpressionTicketDetails.vue
...ialModule/ImpressionTicketing/ImpressionTicketDetails.vue
+11
-7
ImpressionTicketUserDetails.vue
...odule/ImpressionTicketing/ImpressionTicketUserDetails.vue
+6
-5
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+3
-3
No files found.
src/components/FinancialModule/ImpressionTicketing/ImpressionTicketCommission.vue
View file @
f8b56be9
...
...
@@ -131,11 +131,6 @@
prop=
"DeptName"
label=
"部门"
>
</el-table-column>
<el-table-column
prop=
"EmpId"
label=
"用户Id"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"EmName"
label=
"姓名"
...
...
@@ -299,6 +294,19 @@
data
.
push
(
item
.
EmpId
)
})
this
.
BillMakingMsg
.
EmpIds
=
data
.
join
(
','
)
this
.
$confirm
(
"是否制单? 制单后无法更改制单状态,如需修改请联系管理员"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
BillMakingFun
()
})
.
catch
(()
=>
{});
},
BillMakingFun
(){
this
.
crmapipost
(
'/api/Commission/SetCommissionSendEmployee'
,
this
.
BillMakingMsg
,
res
=>
{
...
...
@@ -328,7 +336,6 @@
},
err
=>
{}
)
},
// 点击制单
YijianZD
(
item
,
type
)
{
...
...
src/components/FinancialModule/ImpressionTicketing/ImpressionTicketDetails.vue
View file @
f8b56be9
...
...
@@ -94,9 +94,9 @@
<td>
{{
item
.
OrderId
}}
</td>
<td>
{{
item
.
OrderProfit
}}
</td>
<td>
{{
item
.
Commission
}}
</td>
<td>
{{
item
.
CommissionRate
?
item
.
CommissionRate
+
'%'
:
'-'
}}
</td>
<td>
{{
item
.
CommissionRate
}}
%
</td>
<td>
{{
item
.
BonusMoney
}}
</td>
<td>
{{
item
.
BonusRate
?
item
.
BonusRate
+
'%'
:
'-'
}}
</td>
<td>
{{
item
.
BonusRate
}}
%
</td>
<td>
{{
item
.
Month
}}
</td>
<td>
{{
item
.
Remark
?
item
.
Remark
:
'-'
}}
</td>
</tr>
...
...
@@ -137,14 +137,17 @@
disabled
:
true
,
titleList
:[
{
name
:
'不限'
,
id
:
'-1'
},
{
name
:
'引流
规则
'
,
id
:
'2'
},
{
name
:
'销售
规则
'
,
id
:
'1'
}
{
name
:
'引流'
,
id
:
'2'
},
{
name
:
'销售'
,
id
:
'1'
}
],
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getEmployee
()
//人员
this
.
GetCommissionPeroidsList
()
//期数
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
this
.
$route
.
query
)
{
//不大于0的话用默认值
if
(
this
.
$route
.
query
.
PeriodsId
&&
this
.
$route
.
query
.
PeriodsId
>
0
)
{
...
...
@@ -154,9 +157,6 @@
this
.
msg
.
EmpType
=
this
.
$route
.
query
.
EmpType
}
}
this
.
getList
();
this
.
getEmployee
()
//人员
this
.
GetCommissionPeroidsList
()
//期数
},
methods
:
{
GetCommissionPeroidsList
()
{
//期数下拉
...
...
@@ -183,6 +183,10 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
searchList
=
res
.
data
.
data
;
if
(
this
.
$route
.
query
.
EmpId
)
{
this
.
msg
.
EmpId
=
Number
(
this
.
$route
.
query
.
EmpId
)
this
.
getList
()
}
}
},
err
=>
{}
...
...
src/components/FinancialModule/ImpressionTicketing/ImpressionTicketUserDetails.vue
View file @
f8b56be9
...
...
@@ -114,9 +114,9 @@
<span
class=
"cursor-p"
>
{{
item
.
WageType
!=
1
?
'上季度定档'
:
'新员工比例'
}}
</span>
</td>
<td>
{{
item
.
Commission
}}
</td>
<td>
{{
item
.
CommissionRate
?
item
.
CommissionRate
+
'%'
:
'-'
}}
</td>
<td>
{{
item
.
CommissionRate
}}
%
</td>
<td>
{{
item
.
BonusMoney
}}
</td>
<td>
{{
item
.
bonusRate
?
item
.
bonusRate
+
'%'
:
'-'
}}
</td>
<td>
{{
item
.
BonusRate
}}
%
</td>
<td>
{{
item
.
Month
}}
</td>
<td>
...
...
@@ -266,8 +266,8 @@
departMentList
:[],
titleList
:[
{
name
:
'不限'
,
id
:
'-1'
},
{
name
:
'引流
规则
'
,
id
:
'2'
},
{
name
:
'销售
规则
'
,
id
:
'1'
}
{
name
:
'引流'
,
id
:
'2'
},
{
name
:
'销售'
,
id
:
'1'
}
],
}
},
...
...
@@ -344,7 +344,8 @@
path
:
path
,
query
:
{
PeriodsId
:
this
.
$route
.
query
.
PeriodsId
,
EmpType
:
this
.
msg
.
EmpType
,
EmpType
:
this
.
msg
.
EmpType
,
EmpId
:
item
.
EmpId
,
blank
:
'y'
,
tab
:
'票务提现详情'
}
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
f8b56be9
...
...
@@ -693,8 +693,8 @@ export default {
czmsg
:{},
czmsgState
:
false
,
maxmoneyTips
:
false
,
crmOrderObj
:
{}
,
commissionObj
:
{}
crmOrderObj
:
null
,
commissionObj
:
null
}
},
methods
:{
...
...
@@ -927,7 +927,7 @@ export default {
let
totalAmount
=
this
.
$commonUtils
.
addCommas
(
Math
.
round
(
this
.
commissionObj
.
totalAmount
*
100
)
/
100
)
if
(
this
.
allPriceTo
!=
totalAmount
){
this
.
Error
(
`实付金额
不能大于小
于
${
totalAmount
}
!`
)
this
.
Error
(
`实付金额
必须等
于
${
totalAmount
}
!`
)
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