Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
6ffb746e
Commit
6ffb746e
authored
Aug 03, 2019
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
速卖通的调整费改为0
parent
7d86fb08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
OrdersController.cs
Bailun.DC.Web/Areas/Reports/Controllers/OrdersController.cs
+3
-3
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/OrdersController.cs
View file @
6ffb746e
...
...
@@ -1634,7 +1634,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
countM
.
amount_product
=
Math
.
Round
((
countM
.
amount_product
),
2
,
MidpointRounding
.
AwayFromZero
);
countM
.
amount_shipping
=
Math
.
Round
((
countM
.
amount_shipping
),
2
,
MidpointRounding
.
AwayFromZero
);
countM
.
amount_tax
=
Math
.
Round
((
countM
.
amount_tax
),
2
,
MidpointRounding
.
AwayFromZero
);
countM
.
amount_adjustment
=
Math
.
Round
((
countM
.
amount_adjustment
),
2
,
MidpointRounding
.
AwayFromZero
);
countM
.
amount_adjustment
=
platform
==
"Aliexpress"
?
0
:(
Math
.
Round
((
countM
.
amount_adjustment
),
2
,
MidpointRounding
.
AwayFromZero
));
//速卖通的调整费改为0
countM
.
amount_gift_wrap
=
Math
.
Round
((
countM
.
amount_gift_wrap
),
2
,
MidpointRounding
.
AwayFromZero
);
countM
.
amount_refund
=
Math
.
Round
((
countM
.
amount_refund
),
2
,
MidpointRounding
.
AwayFromZero
);
...
...
@@ -1670,7 +1670,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
amount_product
=
p
.
amount_product
.
ToString
(
"N2"
),
amount_shipping
=
p
.
amount_shipping
.
ToString
(
"N2"
),
amount_tax
=
p
.
amount_tax
.
ToString
(
"N2"
),
amount_adjustment
=
p
.
amount_adjustment
.
ToString
(
"N2"
),
amount_adjustment
=
p
.
platform_type
==
"Aliexpress"
?
""
:
p
.
amount_adjustment
.
ToString
(
"N2"
),
amount_gift_wrap
=
p
.
amount_gift_wrap
.
ToString
(
"N2"
),
amount_refund
=
p
.
amount_refund
.
ToString
(
"N2"
),
...
...
@@ -1723,7 +1723,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
amount_product
=
p
.
amount_product
.
ToString
(
"N2"
),
amount_shipping
=
p
.
amount_shipping
.
ToString
(
"N2"
),
amount_tax
=
p
.
amount_tax
.
ToString
(
"N2"
),
amount_adjustment
=
p
.
amount_adjustment
.
ToString
(
"N2"
),
amount_adjustment
=
p
.
platform_type
==
"Aliexpress"
?
""
:
p
.
amount_adjustment
.
ToString
(
"N2"
),
amount_gift_wrap
=
p
.
amount_gift_wrap
.
ToString
(
"N2"
),
amount_refund
=
p
.
amount_refund
.
ToString
(
"N2"
),
...
...
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