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
2c86ef91
Commit
2c86ef91
authored
Dec 05, 2019
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加交付商文档
parent
53530b7c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
5 deletions
+30
-5
xgg-deliver/app/base/controller/impl/business/businessmenCtl.js
+0
-1
xgg-deliver/app/base/controller/impl/invoice/invoiceCtl.js
+16
-0
xgg-deliver/app/base/controller/impl/order/orderCtl.js
+1
-1
xgg-deliver/app/base/service/impl/invoice/invoiceSve.js
+9
-0
xgg-deliver/app/base/system.js
+2
-2
xgg-deliver/app/config/routes/web.js
+1
-0
xgg-deliver/app/front/entry/public/apidoc/README.md
+1
-1
xgg-deliver/app/front/entry/public/apidoc/invoice/deliver.md
+0
-0
No files found.
xgg-deliver/app/base/controller/impl/business/businessmenCtl.js
View file @
2c86ef91
...
@@ -21,7 +21,6 @@ class BusinessmenCtl extends CtlBase {
...
@@ -21,7 +21,6 @@ class BusinessmenCtl extends CtlBase {
orderId
:
this
.
trim
(
pobj
.
orderId
),
orderId
:
this
.
trim
(
pobj
.
orderId
),
bstatus
:
pobj
.
status
,
bstatus
:
pobj
.
status
,
}
}
return
await
this
.
businessmenSve
.
allPage
(
condition
);
return
await
this
.
businessmenSve
.
allPage
(
condition
);
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
);
console
.
log
(
error
);
...
...
xgg-deliver/app/base/controller/impl/invoice/invoiceCtl.js
View file @
2c86ef91
...
@@ -264,5 +264,20 @@ class InvoiceCtl extends CtlBase {
...
@@ -264,5 +264,20 @@ class InvoiceCtl extends CtlBase {
return
system
.
getResultFail
(
500
,
`接口错误 错误信息
${
error
}
`
);
return
system
.
getResultFail
(
500
,
`接口错误 错误信息
${
error
}
`
);
}
}
}
}
/**
* 发票红冲列表
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
* @param {*} res
*/
async
redRushList
(
pobj
,
pobj2
,
req
,
res
){
try
{
return
await
this
.
invoiceSve
.
apiRedrushList
(
pobj
);
}
catch
(
error
)
{
return
system
.
getResultFail
(
500
,
`接口错误 错误信息
${
error
}
`
);
}
}
}
}
module
.
exports
=
InvoiceCtl
;
module
.
exports
=
InvoiceCtl
;
\ No newline at end of file
xgg-deliver/app/base/controller/impl/order/orderCtl.js
View file @
2c86ef91
...
@@ -125,7 +125,7 @@ class OrderCtl extends CtlBase {
...
@@ -125,7 +125,7 @@ class OrderCtl extends CtlBase {
id
:
pobj
.
id
,
id
:
pobj
.
id
,
currentPage
:
pobj
.
currentPage
||
1
,
currentPage
:
pobj
.
currentPage
||
1
,
pageSize
:
pobj
.
pageSize
||
1
,
pageSize
:
pobj
.
pageSize
||
1
,
orderId
:
this
.
trim
(
pobj
.
orderId
),
orderId
:
this
.
trim
(
pobj
.
orderId
)
||
this
.
trim
(
pobj
.
orderNo
)
,
status
:
this
.
trim
(
pobj
.
status
),
status
:
this
.
trim
(
pobj
.
status
),
deliverId
:
""
,
// TODO 传入具体办理人
deliverId
:
""
,
// TODO 传入具体办理人
}
}
...
...
xgg-deliver/app/base/service/impl/invoice/invoiceSve.js
View file @
2c86ef91
...
@@ -859,6 +859,14 @@ class InvoiceService extends ServiceBase {
...
@@ -859,6 +859,14 @@ class InvoiceService extends ServiceBase {
}
}
}
}
async
apiRedrushList
(
params
){
try
{
return
await
this
.
callms
(
"invoice"
,
"redrushList"
,
params
);
}
catch
(
error
)
{
return
system
.
getResult
(
-
1
,
`系统错误 错误信息
${
error
}
`
);
}
}
}
}
module
.
exports
=
InvoiceService
;
module
.
exports
=
InvoiceService
;
\ No newline at end of file
xgg-deliver/app/base/system.js
View file @
2c86ef91
...
@@ -189,8 +189,8 @@ class System {
...
@@ -189,8 +189,8 @@ class System {
invoice
:
"http://127.0.0.1:3105"
+
path
,
invoice
:
"http://127.0.0.1:3105"
+
path
,
// 发票服务
// 发票服务
//
uc: domain + ":3106" + path,
uc
:
domain
+
":3106"
+
path
,
uc
:
"http://127.0.0.1:3106"
+
path
,
//
uc: "http://127.0.0.1:3106" + path,
}
}
}
else
{
}
else
{
var
odomain
=
"http://123.57.217.203"
var
odomain
=
"http://123.57.217.203"
...
...
xgg-deliver/app/config/routes/web.js
View file @
2c86ef91
...
@@ -104,6 +104,7 @@ module.exports = function (app) {
...
@@ -104,6 +104,7 @@ module.exports = function (app) {
if
(
req
.
loginUser
)
{
if
(
req
.
loginUser
)
{
req
.
body
.
saas_id
=
req
.
loginUser
.
saas_id
;
req
.
body
.
saas_id
=
req
.
loginUser
.
saas_id
;
req
.
body
.
deliverId
=
req
.
loginUser
.
uctypeId
||
""
;
req
.
body
.
deliverId
=
req
.
loginUser
.
uctypeId
||
""
;
req
.
body
.
delivererId
=
req
.
loginUser
.
uctypeId
||
""
;
}
}
params
.
push
(
methodName
);
params
.
push
(
methodName
);
...
...
xgg-deliver/app/front/entry/public/apidoc/README.md
View file @
2c86ef91
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
2
[
全部发票
](
/doc/invoice/all.md
)
2
[
全部发票
](
/doc/invoice/all.md
)
3
[
发票办理
](
/doc/invoice/deliver.md
)
3
[
交付商发票接口
](
/doc/invoice/deliver.md
)
4
[
发票管理
](
/doc/invoice/info.md
)
4
[
发票管理
](
/doc/invoice/info.md
)
...
...
xgg-deliver/app/front/entry/public/apidoc/invoice/deliver.md
View file @
2c86ef91
This diff is collapsed.
Click to expand it.
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