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
71b38936
Commit
71b38936
authored
Feb 01, 2019
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增收款财务单据,手续费多次计算了
parent
51746986
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+13
-4
No files found.
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
71b38936
...
@@ -793,9 +793,13 @@ export default {
...
@@ -793,9 +793,13 @@ export default {
let
f
=
parseFloat
(
this
.
msg
.
OriginalFee
);
let
f
=
parseFloat
(
this
.
msg
.
OriginalFee
);
this
.
msg
.
Fee
=
(
r
*
f
).
toFixed
(
2
);
this
.
msg
.
Fee
=
(
r
*
f
).
toFixed
(
2
);
let
allPrice
=
0
;
let
allPrice
=
0
;
// this.msg.detailList.forEach(x=>{ //2019-02-01注释:页面手续费只需要计算一次,多个费用说明,重复计算 BY:W
// allPrice = allPrice+parseFloat(x.bTotalPrice)-parseFloat(this.msg.Fee);
// })
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
msg
.
detailList
.
forEach
(
x
=>
{
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
)
-
parseFloat
(
this
.
msg
.
Fee
)
;
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
);
})
})
allPrice
=
allPrice
-
parseFloat
(
this
.
msg
.
Fee
);
this
.
allPrice
=
allPrice
.
toFixed
(
2
);
this
.
allPrice
=
allPrice
.
toFixed
(
2
);
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
this
.
allPrice
);
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
this
.
allPrice
);
this
.
chinaAllPrice
=
this
.
$commonUtils
.
changeMoneyToChinese
(
this
.
allPrice
);
this
.
chinaAllPrice
=
this
.
$commonUtils
.
changeMoneyToChinese
(
this
.
allPrice
);
...
@@ -805,9 +809,14 @@ export default {
...
@@ -805,9 +809,14 @@ export default {
let
f
=
parseFloat
(
this
.
msg
.
OriginalFee
);
let
f
=
parseFloat
(
this
.
msg
.
OriginalFee
);
this
.
msg
.
Fee
=
(
r
*
f
).
toFixed
(
2
);
this
.
msg
.
Fee
=
(
r
*
f
).
toFixed
(
2
);
let
allPrice
=
0
;
let
allPrice
=
0
;
// this.msg.detailList.forEach(x=>{ //2019-02-01注释:页面手续费只需要计算一次,多个费用说明,重复计算 BY:W
// allPrice = allPrice+parseFloat(x.bTotalPrice)-parseFloat(this.msg.Fee);
// });
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
msg
.
detailList
.
forEach
(
x
=>
{
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
)
-
parseFloat
(
this
.
msg
.
Fee
)
;
allPrice
=
allPrice
+
parseFloat
(
x
.
bTotalPrice
);
})
})
allPrice
=
allPrice
-
parseFloat
(
this
.
msg
.
Fee
);
this
.
allPrice
=
allPrice
.
toFixed
(
2
);
this
.
allPrice
=
allPrice
.
toFixed
(
2
);
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
this
.
allPrice
);
this
.
allPriceTo
=
this
.
$commonUtils
.
addCommas
(
this
.
allPrice
);
this
.
chinaAllPrice
=
this
.
$commonUtils
.
changeMoneyToChinese
(
this
.
allPrice
)
;
this
.
chinaAllPrice
=
this
.
$commonUtils
.
changeMoneyToChinese
(
this
.
allPrice
)
;
...
...
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