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
bff3841f
Commit
bff3841f
authored
Jun 04, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整物流往来供应商报表
parent
4cdcbe6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Services.cs
Bailun.DC.DailyLogisticSupplierTransaction/Services.cs
+2
-2
No files found.
Bailun.DC.DailyLogisticSupplierTransaction/Services.cs
View file @
bff3841f
...
@@ -173,8 +173,8 @@ group by t1.receive_unit";
...
@@ -173,8 +173,8 @@ group by t1.receive_unit";
item
.
amount_other
=
obj
.
amount_other
;
item
.
amount_other
=
obj
.
amount_other
;
}
}
//期末 = 期初+发生额-付款额+收款额
-其他金额
//期末 = 期初+发生额-付款额+收款额
(负数)+其他金额(手工导入数据)
item
.
amount_end
=
item
.
amount_start
+
item
.
amount_happen
-
item
.
amount_pay
+
(
-
item
.
amount_receipt
)
+
item
.
amount_other
;
item
.
amount_end
=
item
.
amount_start
+
item
.
amount_happen
-
item
.
amount_pay
+
(
item
.
amount_receipt
)
+
item
.
amount_other
;
s
+=
(
$"('
{
item
.
day
.
ToString
(
"yyyy-MM-dd"
)}
',
{
item
.
supplierid
}
,'
{
item
.
suppliername
}
',
{
item
.
amount_start
}
,
{
item
.
amount_happen
}
,
{
item
.
amount_pay
}
,
{
item
.
amount_receipt
}
,
{
item
.
amount_other
}
,
{
item
.
amount_end
}
,'
{
item
.
createtime
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
','
{
item
.
lastupdatetime
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
',
{
item
.
lastupdateuserid
}
,'
{
item
.
lastupdateusername
}
'),"
);
s
+=
(
$"('
{
item
.
day
.
ToString
(
"yyyy-MM-dd"
)}
',
{
item
.
supplierid
}
,'
{
item
.
suppliername
}
',
{
item
.
amount_start
}
,
{
item
.
amount_happen
}
,
{
item
.
amount_pay
}
,
{
item
.
amount_receipt
}
,
{
item
.
amount_other
}
,
{
item
.
amount_end
}
,'
{
item
.
createtime
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
','
{
item
.
lastupdatetime
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
',
{
item
.
lastupdateuserid
}
,'
{
item
.
lastupdateusername
}
'),"
);
}
}
...
...
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