Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Property
Project
Project
Details
Activity
Releases
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
liudong1993
Property
Commits
ea41876d
Commit
ea41876d
authored
Aug 20, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电商订单+财务单据关联
parent
27f8990a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
WarehouseOutModule.cs
Property.Module.Mall/WarehouseOutModule.cs
+14
-1
No files found.
Property.Module.Mall/WarehouseOutModule.cs
View file @
ea41876d
...
...
@@ -293,6 +293,18 @@ namespace Property.Module.Mall
{
#
region
生成财务单据
#
region
关联财务订单
List
<
object
>
ECList
=
new
List
<
object
>();
foreach
(
var
item
in
applyModel
.
WarehouseOutGoodsList
)
{
ECList
.
Add
(
new
{
ECOrderId
=
item
.
OrderId
,
ECOrderDetailId
=
item
.
OrderGoodsId
});
}
ECList
=
ECList
.
Distinct
().
ToList
();
#
endregion
var
detailList
=
financeList
.
Select
(
x
=>
new
{
CostTypeId
=
213
,
...
...
@@ -317,7 +329,8 @@ namespace Property.Module.Mall
Remark
=
System
.
DateTime
.
Now
.
ToString
(
"yyyy年MM月dd日"
)
+
"生成财务单据"
,
detailList
,
RB_Depart_Id
=
RB_Department_Id
,
ReFinanceId
=
Id
ReFinanceId
=
Id
,
ECOrderList
=
ECList
};
string
sign
=
EncryptionHelper
.
AesEncrypt
(
JsonHelper
.
Serialize
(
financeObj
),
Config
.
FinanceKey
);
var
resultInfo
=
new
...
...
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