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
1cfa3018
Commit
1cfa3018
authored
Apr 26, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化同业制单
parent
f401d8a1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
15 deletions
+8
-15
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+1
-1
TicketCommission.vue
...ents/FinancialModule/TradeCommission/TicketCommission.vue
+4
-12
TicketDetails.vue
...ponents/FinancialModule/TradeCommission/TicketDetails.vue
+2
-1
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+1
-1
No files found.
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
1cfa3018
...
...
@@ -1786,7 +1786,7 @@
name
:
'TradeTicketDetails'
,
query
:
{
PeriodId
:
GetDetail
.
ReFinanceId
,
RB_Branch_
Id
:
GetDetail
.
RB_Branch_Id
,
OutBranch
Id
:
GetDetail
.
RB_Branch_Id
,
blank
:
"y"
,
tab
:
"同业提成详情"
}
...
...
src/components/FinancialModule/TradeCommission/TicketCommission.vue
View file @
1cfa3018
...
...
@@ -95,7 +95,7 @@
icon=
"iconfont icon-chakan"
circle
></el-button>
</el-tooltip>
<el-tooltip
v-if=
"cMaker==true"
class=
"item"
effect=
"dark"
content=
"提成制单"
placement=
"top"
>
<el-button
@
click=
"YijianZD(item
,1
)"
type=
"danger"
class=
"CM_look"
v-if=
"cMaker==true"
<el-button
@
click=
"YijianZD(item)"
type=
"danger"
class=
"CM_look"
v-if=
"cMaker==true"
icon=
"iconfont icon-mui-icon-add"
circle
></el-button>
</el-tooltip>
<!-- <el-tooltip class="item" effect="dark" content="当期利润" placement="top">
...
...
@@ -231,24 +231,15 @@
);
},
// 点击制单
YijianZD
(
item
,
type
)
{
YijianZD
(
item
)
{
let
Money
if
(
this
.
msg
.
OutBranchId
>-
1
){
if
(
type
==
1
){
if
(
item
.
BranchCommission
>
0
){
Money
=
item
.
BranchCommission
}
else
{
this
.
Error
(
"公司提成为0,不能制单!"
)
return
;
}
}
if
(
type
==
2
){
if
(
item
.
BranchCommission
>
0
){
Money
=
item
.
BranchCommission
}
else
{
this
.
Error
(
"公司提成为0,不能制单!"
)
return
;
}
}
}
else
{
Money
=
item
.
SumPrice
...
...
@@ -260,6 +251,7 @@
XSTC
:
1
,
OtherType
:
72
,
ReFinanceId
:
item
.
Id
,
isRB_Branch_Id
:
true
}
let
query
=
{
blank
:
"y"
,
...
...
src/components/FinancialModule/TradeCommission/TicketDetails.vue
View file @
1cfa3018
...
...
@@ -278,13 +278,14 @@
}
this
.
msg
.
PeriodId
=
this
.
$route
.
query
.
PeriodId
?
Number
(
this
.
$route
.
query
.
PeriodId
):
-
1
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
?
this
.
$route
.
query
.
OrderId
:
''
this
.
msg
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
?
Number
(
this
.
$route
.
query
.
OutBranchId
):
-
1
this
.
msg
.
RB_Branch_Id
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
Number
(
userInfo
.
RB_Branch_id
)
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
Number
(
userInfo
.
EmployeeId
)
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=-
1
)
{
//是否有看所有人的权限
this
.
disabled
=
false
;
this
.
msg
.
OutBranchId
=
-
1
this
.
msg
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
?
Number
(
this
.
$route
.
query
.
OutBranchId
):
-
1
this
.
msg
.
RB_Branch_Id
=
this
.
$route
.
query
.
RB_Branch_Id
?
Number
(
this
.
$route
.
query
.
RB_Branch_Id
):
-
1
// this.msg.RB_Department_Id = -1
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
?
Number
(
this
.
$route
.
query
.
UserId
):
-
1
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
1cfa3018
...
...
@@ -171,7 +171,7 @@
(
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
ref=
'CostTypeId'
@
change=
"admin_get_DepartmentGetList(msg.RB_Branch_Id)"
class=
"w120 _border_b_1"
:disabled=
"orderObj&&
orderObj.Rate
?true:false"
>
:disabled=
"orderObj&&
(orderObj.Rate||orderObj.isRB_Branch_Id)
?true:false"
>
<el-option
v-for=
'item in companyList'
:label=
'item.BName'
:value=
'item.Id'
...
...
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