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
789b86ea
Commit
789b86ea
authored
Jun 13, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3aa5e1b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
11 deletions
+28
-11
index.vue
...components/FinancialModule/MonthlyCostStatement/index.vue
+26
-9
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+2
-2
No files found.
src/components/FinancialModule/MonthlyCostStatement/index.vue
View file @
789b86ea
...
...
@@ -531,7 +531,7 @@
</el-table>
<div
style=
"padding-bottom:15px"
>
<el-pagination
background
@
current-change=
"handleCurrentChanges"
layout=
"total,prev, pager, next, jumper"
:page-size=
"pageSize"
:total=
'total'
>
layout=
"total,prev, pager, next, jumper"
:page-size=
"
msg.
pageSize"
:total=
'total'
>
</el-pagination>
</div>
</div>
...
...
@@ -1155,20 +1155,37 @@ export default {
return
;
}
let
ids
let
Money
=
0
ids
=
this
.
multipleSelection
.
map
(
x
=>
{
return
x
.
FrID
})
this
.
multipleSelection
.
forEach
(
x
=>
{
Money
+=
Number
(
x
.
Money
*
100
)
})
if
(
Money
<=
0
){
this
.
Error
(
'单据总金额需大于0'
);
return
;
}
let
orderObj
=
{
OtherType
:
75
,
Money
:
Money
/
100
,
isVerifyMoney
:
true
,
ReFinanceIds
:
ids
.
join
(
','
),
//单号
ReFinanceId2
:
3
,
//成本
}
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
'Type'
:
2
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
}
});
this
.
$confirm
(
`总金额:
${
orderObj
.
Money
}
,是否继续生成财务单据`
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
})
.
then
(()
=>
{
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
'Type'
:
2
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
}
});
})
}
}
}
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
789b86ea
...
...
@@ -1432,8 +1432,8 @@
this
.
Error
(
`成本月结数据不能为空!`
)
return
}
// 台湾提成汇率
if
(
this
.
orderObj
&&
this
.
orderObj
.
Rate
&&
this
.
orderObj
.
Money
)
{
// 台湾提成汇率
验证总金额是否一致
if
(
this
.
orderObj
&&
this
.
orderObj
.
Money
&&
(
this
.
orderObj
.
Rate
||
this
.
orderObj
.
isVerifyMoney
)
)
{
let
yballPrice
=
0
this
.
msg
&&
this
.
msg
.
detailList
&&
this
.
msg
.
detailList
.
forEach
((
item
,
i
)
=>
{
yballPrice
+=
Number
(
yballPrice
)
+
Number
(
item
.
UnitPrice
)
...
...
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