Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
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
huatu_API
Commits
64ec7ef7
Commit
64ec7ef7
authored
Aug 21, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c338822a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
FinanceWorkFlowModule_p2.cs
REBORN.Module.FinanceModule/FinanceWorkFlowModule_p2.cs
+24
-0
No files found.
REBORN.Module.FinanceModule/FinanceWorkFlowModule_p2.cs
View file @
64ec7ef7
...
@@ -1218,6 +1218,30 @@ namespace REBORN.Module.FinanceModule
...
@@ -1218,6 +1218,30 @@ namespace REBORN.Module.FinanceModule
}
}
if
(
SetNextAuditor
(
list
,
null
,
userInfo
,
financeModel
))
if
(
SetNextAuditor
(
list
,
null
,
userInfo
,
financeModel
))
{
{
#
region
合并审核
默认需要发票
//全是支出单
if
(
flist
.
Where
(
x
=>
x
.
Type
==
WFTempLateClassEnum
.
OUT
).
Count
()
==
flist
.
Count
())
{
if
(
flist
.
Any
(
x
=>
x
.
KingdeeInvoice
==
0
))
{
foreach
(
var
fitem
in
flist
.
Where
(
x
=>
x
.
KingdeeInvoice
==
0
))
{
//修改为 需要发票
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Finance_Extend
.
KingdeeInvoice
),
1
}
};
List
<
WhereHelper
>
wheres
=
new
List
<
WhereHelper
>()
{
new
WhereHelper
()
{
FiledName
=
nameof
(
RB_Finance_Extend
.
FrID
),
FiledValue
=
fitem
.
FrID
,
OperatorEnum
=
OperatorEnum
.
Equal
}
};
RB_FinanceRepository
.
Update
(
keyValues
,
wheres
);
}
}
}
#
endregion
return
ApiResult
.
Success
(
"操作成功"
);
return
ApiResult
.
Success
(
"操作成功"
);
}
}
else
else
...
...
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