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
66820ffb
Commit
66820ffb
authored
Apr 21, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
d5664c7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
xgg-saas-merchant/app/base/controller/impl/saas/invoiceCtl.js
+2
-2
xgg-saas-merchant/app/base/service/impl/saas/orderSve.js
+10
-0
No files found.
xgg-saas-merchant/app/base/controller/impl/saas/invoiceCtl.js
View file @
66820ffb
...
@@ -194,10 +194,10 @@ class InvoiceCtl extends CtlBase {
...
@@ -194,10 +194,10 @@ class InvoiceCtl extends CtlBase {
let
info
=
await
this
.
merchantSve
.
signInfo
({
id
:
params
.
saas_merchant_id
})
||
{};
let
info
=
await
this
.
merchantSve
.
signInfo
({
id
:
params
.
saas_merchant_id
})
||
{};
info
=
info
.
data
||
{};
info
=
info
.
data
||
{};
if
(
!
info
.
main
_trade
)
{
if
(
!
info
.
main
)
{
return
system
.
getResult
(
null
,
"商户未设置转账交易主体,请联系平台进行设置、"
);
return
system
.
getResult
(
null
,
"商户未设置转账交易主体,请联系平台进行设置、"
);
}
}
let
main
=
info
.
main
_trade
||
{};
let
main
=
info
.
main
||
{};
let
batch_no
=
await
this
.
redisClient
.
genrateId
(
"invoice_batch_no"
);
let
batch_no
=
await
this
.
redisClient
.
genrateId
(
"invoice_batch_no"
);
let
apply_no
=
batch_no
;
let
apply_no
=
batch_no
;
let
data
=
{
let
data
=
{
...
...
xgg-saas-merchant/app/base/service/impl/saas/orderSve.js
View file @
66820ffb
...
@@ -61,6 +61,15 @@ class OrderService extends ServiceBase {
...
@@ -61,6 +61,15 @@ class OrderService extends ServiceBase {
row
.
price
=
system
.
f2y
(
row
.
price
);
row
.
price
=
system
.
f2y
(
row
.
price
);
}
}
}
}
async
byIds
(
params
)
{
let
rs
=
await
this
.
callms
(
"order"
,
"itemByIds"
,
params
);
return
rs
;
}
async
updateInvoice
(
params
)
{
let
rs
=
await
this
.
callms
(
"order"
,
"updateItemInvoice"
,
params
);
return
rs
;
}
}
}
module
.
exports
=
OrderService
;
module
.
exports
=
OrderService
;
\ No newline at end of file
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