Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
cf1c24b2
Commit
cf1c24b2
authored
Apr 12, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
efbaaf2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
xggsve-invoice/app/base/service/impl/invoice/saasinvoiceapplySve.js
+2
-4
No files found.
xggsve-invoice/app/base/service/impl/invoice/saasinvoiceapplySve.js
View file @
cf1c24b2
...
@@ -88,16 +88,14 @@ class SaasinvoiceapplyService extends ServiceBase {
...
@@ -88,16 +88,14 @@ class SaasinvoiceapplyService extends ServiceBase {
}
}
async
audit
(
params
)
{
async
audit
(
params
)
{
let
status
=
Number
(
params
.
status
||
0
);
let
apply
=
await
this
.
dao
.
findById
(
params
.
id
);
let
apply
=
await
this
.
dao
.
findById
(
params
.
id
);
if
(
!
apply
)
{
if
(
!
apply
)
{
return
system
.
getResult
(
null
,
"发票申请不存在"
);
return
system
.
getResult
(
null
,
"发票申请不存在"
);
}
}
if
(
apply
.
status
!=
"1000"
)
{
if
(
apply
.
status
!=
"1000"
)
{
return
system
.
getResult
(
null
,
"发票申请已审核
成功,不要重复审核
"
);
return
system
.
getResult
(
null
,
"发票申请已审核"
);
}
}
apply
.
status
=
params
.
status
;
apply
.
status
=
status
?
"1010"
:
"1020"
;
apply
.
audit_remark
=
this
.
trim
(
params
.
remark
);
apply
.
audit_remark
=
this
.
trim
(
params
.
remark
);
await
apply
.
save
();
await
apply
.
save
();
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
...
...
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