Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
34e85209
Commit
34e85209
authored
Apr 09, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
3a94e4b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
+6
-0
No files found.
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
View file @
34e85209
...
@@ -340,6 +340,12 @@ class InvoiceService extends ServiceBase {
...
@@ -340,6 +340,12 @@ class InvoiceService extends ServiceBase {
//************************************************************一下是计算服务费************************************* */
//************************************************************一下是计算服务费************************************* */
let
service_rate
=
new
Decimal
(
businessmenBean
).
div
(
100
);
let
service_rate
=
new
Decimal
(
businessmenBean
).
div
(
100
);
let
service_amount
=
new
Decimal
(
this
.
trim
(
params
.
invoice_amount
)).
mul
(
businessmenBean
.
service_rate
);
let
service_amount
=
new
Decimal
(
this
.
trim
(
params
.
invoice_amount
)).
mul
(
businessmenBean
.
service_rate
);
personal_invoice_tax
=
system
.
f2y
(
personal_invoice_tax
);
value_added_tax
=
system
.
f2y
(
value_added_tax
);
additional_tax
=
system
.
f2y
(
additional_tax
);
service_amount
=
system
.
f2y
(
service_amount
);
return
system
.
getResult
(
personal_invoice_tax
,
value_added_tax
,
additional_tax
,
service_amount
);
return
system
.
getResult
(
personal_invoice_tax
,
value_added_tax
,
additional_tax
,
service_amount
);
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
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