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
631269b8
Commit
631269b8
authored
Dec 04, 2019
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决月销售利润无法导入明细的问题
parent
341fee17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+15
-14
No files found.
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
631269b8
...
...
@@ -5979,27 +5979,28 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
var
amount
=
row
[
"金额"
].
ToString
();
var
note_one
=
row
[
"备注1"
].
ToString
();
var
note_two
=
row
[
"备注2"
].
ToString
();
list
.
Add
(
new
dc_month_sale_profit_details
{
type
=
type
,
amount
=
decimal
.
Parse
(
amount
),
note_one
=
note_one
,
note_two
=
note_two
,
month
=
month
,
colval
=
col
,
colname
=
colname
});
if
(
type
!=
""
&&
amount
!=
""
)
{
list
.
Add
(
new
dc_month_sale_profit_details
{
type
=
type
,
amount
=
decimal
.
Parse
(
amount
),
note_one
=
note_one
,
note_two
=
note_two
,
month
=
month
,
colval
=
col
,
colname
=
colname
});
}
}
catch
(
Exception
ex
)
{
return
Json
(
new
{
success
=
false
,
msg
=
"导入失败,异常信息:"
+
ex
.
Message
msg
=
"导入失败,
第"
+(
i
+
1
)+
"行报错,
异常信息:"
+
ex
.
Message
});
}
}
...
...
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