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
8f0d8b71
Commit
8f0d8b71
authored
Apr 22, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
d9bcb57c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
+1
-0
No files found.
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
View file @
8f0d8b71
...
@@ -333,6 +333,7 @@ class InvoiceService extends ServiceBase {
...
@@ -333,6 +333,7 @@ class InvoiceService extends ServiceBase {
//************************************************************一下是计算服务费************************************* */
//************************************************************一下是计算服务费************************************* */
let
service_rate
=
new
Decimal
(
businessmenBean
.
service_rate
).
div
(
100
).
toNumber
();
let
service_rate
=
new
Decimal
(
businessmenBean
.
service_rate
).
div
(
100
).
toNumber
();
let
service_amount
=
new
Decimal
(
params
.
invoice_amount
).
mul
(
service_rate
).
toNumber
();
let
service_amount
=
new
Decimal
(
params
.
invoice_amount
).
mul
(
service_rate
).
toNumber
();
//如果已经开户 所有的税金都应该是0 ,之后服务费用
if
(
businessmenBean
.
is_bank
)
{
if
(
businessmenBean
.
is_bank
)
{
return
system
.
getResultSuccess
({
return
system
.
getResultSuccess
({
personal_invoice_tax
:
0
,
personal_invoice_tax
:
0
,
...
...
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