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
d567c9e2
Commit
d567c9e2
authored
Apr 02, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
a781c844
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
+2
-2
No files found.
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
View file @
d567c9e2
...
@@ -161,10 +161,10 @@ class InvoiceService extends ServiceBase {
...
@@ -161,10 +161,10 @@ class InvoiceService extends ServiceBase {
return
system
.
getResult
(
`发票不存在`
);
return
system
.
getResult
(
`发票不存在`
);
}
}
//获取个体户信息 拿到customer 在order服务下 参数:通过merchant_credit_code或者是merchant_id (购买方商户)
//获取个体户信息 拿到customer 在order服务下 参数:通过merchant_credit_code或者是merchant_id (购买方商户)
if
(
!
invoice
.
data
.
invoicesummaryinfo
||!
invoice
.
data
.
invoicesummaryinfo
.
merchant
_credit_code
){
if
(
!
invoice
.
data
.
invoicesummaryinfo
||!
invoice
.
data
.
invoicesummaryinfo
.
businessmen
_credit_code
){
return
system
.
getResult
(
`发票信息错误`
);
return
system
.
getResult
(
`发票信息错误`
);
}
}
let
businessmen
=
await
this
.
callms
(
"order"
,
"queryObusinessmenByCreditCode"
,
{
credit_code
:
invoice
.
data
.
invoicesummaryinfo
.
merchant
_credit_code
});
let
businessmen
=
await
this
.
callms
(
"order"
,
"queryObusinessmenByCreditCode"
,
{
credit_code
:
invoice
.
data
.
invoicesummaryinfo
.
businessmen
_credit_code
});
//获取交付商信息 拿到companyID 在common服务下 参数:通过deliver_id
//获取交付商信息 拿到companyID 在common服务下 参数:通过deliver_id
if
(
!
invoice
.
data
.
invoicedeliver
[
0
].
deliver_id
){
if
(
!
invoice
.
data
.
invoicedeliver
[
0
].
deliver_id
){
return
system
.
getResult
(
`交付商不存在`
);
return
system
.
getResult
(
`交付商不存在`
);
...
...
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