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
c750e64c
Commit
c750e64c
authored
Jan 11, 2020
by
王昆
Browse files
Options
Browse Files
Download
Plain Diff
gsb
parents
33ba2431
f0491f06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
658 additions
and
176 deletions
+658
-176
xgg-deliver/app/base/controller/impl/order/orderCtl.js
+363
-6
xgg-deliver/app/front/entry/public/apidoc/order/order.md
+295
-170
No files found.
xgg-deliver/app/base/controller/impl/order/orderCtl.js
View file @
c750e64c
var
system
=
require
(
"../../../system"
)
const
http
=
require
(
"http"
)
const
querystring
=
require
(
'querystring'
);
var
settings
=
require
(
"../../../../config/settings"
);
const
CtlBase
=
require
(
"../../ctlms.base"
);
const
logCtl
=
system
.
getObject
(
"web.common.oplogCtl"
);
var
cacheBaseComp
=
null
;
class
OrderCtl
extends
CtlBase
{
constructor
()
{
super
();
...
...
@@ -72,5 +66,367 @@ class OrderCtl extends CtlBase {
return
system
.
getResultFail
(
500
,
"接口错误"
);
}
}
/**
* 分配业务员
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
deliverAssignSalesman
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 订单状态不能为空`
);
}
if
(
!
pobj
.
operator_id
)
{
return
system
.
getResult
(
null
,
`参数错误 业务员ID不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 工商注册中
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
businessRegister
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 订单状态不能为空`
);
}
if
(
!
pobj
.
operator_id
)
{
return
system
.
getResult
(
null
,
`参数错误 业务员ID不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 工商注册完成
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
businessRegisterComplete
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
pobj
.
name
)
{
return
system
.
getResult
(
null
,
`参数错误 个体工商户名称不能为空`
);
}
if
(
!
pobj
.
credit_code
)
{
return
system
.
getResult
(
null
,
`参数错误 统一社会信用代码不能为空`
);
}
if
(
!
pobj
.
business_place
)
{
return
system
.
getResult
(
null
,
`参数错误 经营场所不能为空`
);
}
if
(
!
pobj
.
business_scope
)
{
return
system
.
getResult
(
null
,
`参数错误 经营范围不能为空`
);
}
if
(
!
pobj
.
reg_date
)
{
return
system
.
getResult
(
null
,
`参数错误 注册日期不能为空`
);
}
if
(
!
pobj
.
business_img
)
{
return
system
.
getResult
(
null
,
`参数错误 执照照片不能为空`
);
}
if
(
!
pobj
.
business_gov_file
)
{
return
system
.
getResult
(
null
,
`参数错误 工商官方文件不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 刻章办理中
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
chapterEngraving
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 刻章办理已完成
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
chapterEngravedComplete
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
pobj
.
gongzhang
)
{
return
system
.
getResult
(
null
,
`参数错误 公章不能为空`
);
}
if
(
!
pobj
.
fapiaozhang
)
{
return
system
.
getResult
(
null
,
`参数错误 发票章不能为空`
);
}
if
(
!
pobj
.
caiwuzhang
)
{
return
system
.
getResult
(
null
,
`参数错误 财务章不能为空`
);
}
if
(
!
pobj
.
hetongzhang
)
{
return
system
.
getResult
(
null
,
`参数错误 合同章不能为空`
);
}
if
(
!
pobj
.
farenzhang
)
{
return
system
.
getResult
(
null
,
`参数错误 法人章不能为空`
);
}
if
(
!
pobj
.
zhang_gov_file
)
{
return
system
.
getResult
(
null
,
`参数错误 刻章官方文件不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 银行开户中
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
backAccountOpening
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 银行已开户
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
backAccountOpenComplete
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
pobj
.
bank_name
)
{
return
system
.
getResult
(
null
,
`参数错误 账户名称不能为空`
);
}
if
(
!
pobj
.
bank_no
)
{
return
system
.
getResult
(
null
,
`参数错误 账户号不能为空`
);
}
if
(
!
pobj
.
bank
)
{
return
system
.
getResult
(
null
,
`参数错误 开户行不能为空`
);
}
if
(
!
pobj
.
bank_img
)
{
return
system
.
getResult
(
null
,
`参数错误 账户信息不能为空`
);
}
if
(
!
pobj
.
bank_gov_file
)
{
return
system
.
getResult
(
null
,
`参数错误 银行开户官方文件不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 税务报道中
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
taxReporting
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 税务报道完成
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
taxReportComplete
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
pobj
.
tax_reg_day
)
{
return
system
.
getResult
(
null
,
`参数错误 税务登记日不能为空`
);
}
if
(
!
pobj
.
tax_org
)
{
return
system
.
getResult
(
null
,
`参数错误 税务机构名称不能为空`
);
}
if
(
!
pobj
.
ca_img
)
{
return
system
.
getResult
(
null
,
`参数错误 CA照片不能为空`
);
}
if
(
!
pobj
.
tax_gov_file
)
{
return
system
.
getResult
(
null
,
`参数错误 税务报道官方文件不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 核定税种
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
taxReportComplete
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
pobj
.
common_tax_ladder
)
{
return
system
.
getResult
(
null
,
`参数错误 普票个税阶梯不能为空`
);
}
if
(
!
pobj
.
common_other_ladder
)
{
return
system
.
getResult
(
null
,
`参数错误 普票增值税、附加税阶梯不能为空`
);
}
if
(
!
pobj
.
special_tax_ladder
)
{
return
system
.
getResult
(
null
,
`参数错误 专票个税阶梯不能为空`
);
}
if
(
!
pobj
.
special_other_ladder
)
{
return
system
.
getResult
(
null
,
`参数错误 专票增值税、附加税阶梯不能为空`
);
}
if
(
!
pobj
.
add_value_up_type
)
{
return
system
.
getResult
(
null
,
`参数错误 增值税累计类型不能为空`
);
}
if
(
!
pobj
.
tax_up_type
)
{
return
system
.
getResult
(
null
,
`参数错误 个税累计类型不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 交付商提交审核
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
taxReportComplete
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
/**
* 交付商订单交付
* @param {*} pobj
* @param {*} pobj2
* @param {*} req
*/
async
mailed
(
pobj
,
pobj2
,
req
)
{
if
(
!
pobj
.
id
)
{
return
system
.
getResult
(
null
,
`参数错误 订单ID不能为空`
);
}
if
(
!
pobj
.
status
)
{
return
system
.
getResult
(
null
,
`参数错误 状态码不能为空`
);
}
if
(
!
params
.
deliver_mail_no
)
{
return
system
.
getResult
(
null
,
`参数错误 交付商交付快递单号不能为空`
);
}
if
(
!
params
.
deliver_mail_img
)
{
return
system
.
getResult
(
null
,
`参数错误 交付商交付快递单号图片不能为空`
);
}
try
{
return
await
this
.
orderSve
.
handleStatus
(
pobj
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
}
}
}
module
.
exports
=
OrderCtl
;
\ No newline at end of file
xgg-deliver/app/front/entry/public/apidoc/order/order.md
View file @
c750e64c
...
...
@@ -2,11 +2,18 @@
1.
[
业务进度字典
](
#processList
)
1.
[
订单管理列表
](
#allOrders
)
1.
[
我的业务订单
](
#myorders
)
1.
[
平台业务员查询
](
#salesmanList
)
1.
[
平台分配业务员
](
#orderAssign
)
1.
[
订单服务内容
](
#orderChooseProducts
)
1.
[
查询订单详情
](
#orderInfo
)
1.
[
完善订单
](
#perfectInformation
)
1.
[
分配业务员
](
#deliverAssignSalesman
)
1.
[
工商注册中
](
#businessRegister
)
1.
[
工商注册完成
](
#businessRegisterComplete
)
1.
[
刻章办理中
](
#chapterEngraving
)
1.
[
刻章办理已完成
](
#chapterEngravedComplete
)
1.
[
银行开户中
](
#backAccountOpening
)
1.
[
银行已开户
](
#backAccountOpenComplete
)
1.
[
税务报道中
](
#taxReporting
)
1.
[
税务报道完成
](
#taxReportComplete
)
1.
[
核定税种
](
#taxCategoryDetermine
)
1.
[
交付商提交审核
](
#submitAudit
)
1.
[
交付商订单交付
](
#mailed
)
## **<a name="processList"> 业务进度字典 </a>**
[
返回到目录
](
#menu
)
...
...
@@ -47,6 +54,7 @@
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/allOrders
]
>>>>>>> f0491f0650119e1bb6786a9cb7dd588ba5c04e24
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
...
...
@@ -60,6 +68,7 @@
"createdBegin"
:
""
,
// 创建时间 开始
"createdEnd"
:
""
// 创建时间 结束
}
<<<<<<<
HEAD
按钮展示规则
...
...
@@ -105,7 +114,6 @@
"requestid"
:
"2749dcc10733440fbeacc8a49dd9758d"
}
```
...
...
@@ -212,18 +220,18 @@
```
## **<a name="
orderAssign"> 平台
分配业务员 </a>**
## **<a name="
deliverAssignSalesman">
分配业务员 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/
orderAssig
n
]
[
/web/order/orderCtl/
deliverAssignSalesma
n
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567429064001859"
,
// 订单id
"
bd_id"
:
"17"
,
// 选择业务员id
"status"
:
"10
1
0"
// 订单的next_status
"
operator_id"
:
"xxx"
,
// 选择业务员id
"status"
:
"10
4
0"
// 订单的next_status
}
```
...
...
@@ -240,10 +248,10 @@
```
## **<a name="
orderChooseProducts"> 订单服务内容
</a>**
## **<a name="
businessRegister"> 工商注册中
</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/
orderChooseProducts
]
[
/web/order/orderCtl/
businessRegister
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
...
...
@@ -251,6 +259,7 @@
{
"id"
:
"1567429064001859"
,
// 订单id
"status"
:
"1050"
// 订单的next_status
}
```
...
...
@@ -261,192 +270,95 @@
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
[
{
+
"id"
:
10010200
,
// id
"name"
:
"工商注册"
,
// 名称
},
],
"requestid"
:
"357fd59e0c7d4ea0be0362bb8ef81c52"
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="
orderInfo"> 查询订单详情
</a>**
## **<a name="
businessRegisterComplete"> 工商注册完成
</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/
orderInfo
]
[
/web/order/orderCtl/
businessRegisterComplete
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
// 订单id
"id"
:
"1567514119003310"
,
//订单ID
"status"
:
"1060"
,
//订单状态
"name"
:
"赵本山大舞"
,
//个体工商户名称
"credit_code"
:
"456123665965"
,
//统一社会信用代码
"business_place"
:
"象牙山"
,
//经营场所
"business_scope"
:
"桑拿,推油,温泉戏水"
,
//经营范围
"reg_date"
:
"2020-1-10"
,
//注册日期
"business_img"
:
"wwww.baidu.com"
,
//执照图片
"business_gov_file"
:
"xxxxxx"
//官方文件
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="chapterEngraving"> 刻章办理中 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/chapterEngraving
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"order"
:
{
// 订单表
"id"
:
"1567430558002579"
,
// 订单id,订单号,订单编号,都是这个
"status"
:
1000
,
// 订单状态
"statusName"
:
"待分配"
,
// 订单状态名称
"status_name"
:
"待分配"
// 订单状态名称
"assign_time"
:
null
,
// 分配时间
"assign_user_name"
:
"郭德纲46"
// 分配人
"product_id"
:
10010000
,
// 产品id
"bd_name"
:
""
,
// 业务员
"contact_mobile"
:
"13777777777"
,
// 联系电话
"created_at"
:
"2020-01-09T07:42:23.000Z"
,
// 创建时间
"desc"
:
""
,
// 订单描述
"osource"
:
{
"id"
:
1000
,
"name"
:
"企服通"
,
// 来源渠道名称
},
"oproduct"
:
{
// 产品object
"name"
:
"个体户注册一体化"
,
// 产品名称
"desc"
:
"工商注册,刻章,银行卡户,税务报到"
,
// 产品描述
},
"next_status"
:
[
// 下一个进度
{
"next_status"
:
"1010"
,
// 状态码
"next_name"
:
"待完善"
// 状态名称
}
],
},
"regInfo"
:
{
"id"
:
""
,
// 订单号
"legal_name"
:
""
,
// 法人姓名
"id_card"
:
""
,
// 法人身份证
"legal_mobile"
:
""
,
// 法人电话
"names"
:
""
,
// 个体户名称
"capital"
:
""
,
// 注册资本
"domicile_id"
:
""
,
// 注册地id
"domicile_name"
:
""
,
// 注册地名称
"business_scope_id"
:
""
,
// 经营范围id
"business_type"
:
""
,
// 经营范围
"business_scope"
:
""
,
// 经营范围详情
"idcard_front"
:
""
,
// 身份证正面照片
"idcard_back"
:
""
,
// 身份证反面照片
"other_file"
:
""
,
// 其他文件
"notes"
:
""
,
// 备注
"guest_mail_addr"
:
""
,
// 邮寄客户地址
"guest_mail_to"
:
""
,
// 客户收件人
"guest_mail_mobile"
:
""
,
// 客户收件人电话
"guest_mail_no"
:
""
,
// 客户快递单号
"guest_mail_img"
:
""
,
// 交付商交付快递单号
"guest_accpet_file"
:
""
,
// 客户验收文件
},
"businessmen"
:
{
"id"
:
""
,
// 主键,
"order_id"
:
""
,
// 订单id,
"legal_name"
:
""
,
// 法人姓名,
"legal_mobile"
:
""
,
// 法人电话,
"legal_idcard"
:
""
,
// 法人身份证号,
"name"
:
""
,
// 个体工商户名称,
"credit_code"
:
""
,
// 统一社会信用代码,
"business_place"
:
""
,
// 经营场所,
"business_scope"
:
""
,
// 经营范围,
"reg_date"
:
""
,
// 注册日期,
"business_img"
:
""
,
// 执照照片,
"business_gov_file"
:
""
,
// 工商官方文件,
"gongzhang"
:
""
,
// 公章,
"caiwuzhang"
:
""
,
// 财务章,
"fapiaozhang"
:
""
,
// 发票章,
"hetongzhang"
:
""
,
// 合同章,
"farenzhang"
:
""
,
// 法人章,
"zhang_gov_file"
:
""
,
// 刻章官方文件,
"is_bank"
:
""
,
// 是否开户,
"bank_name"
:
""
,
// 账户名称,
"bank_no"
:
""
,
// 账户号,
"bank"
:
""
,
// 开户行,
"bank_img"
:
""
,
// 账户信息,
"bank_gov_file"
:
""
,
// 银行开户官方文件,
"ca_img"
:
""
,
// CA照片,
"tax_reg_day"
:
""
,
// 税务登记日,
"tax_org"
:
""
,
// 税务机构名称,
"tax_gov_file"
:
""
,
// 税务报道官方文件,
"notes"
:
""
,
// 备注,
"common_tax_ladder"
:
""
,
// 普票个税阶梯,
"common_other_ladder"
:
""
,
// 普票增值税、附加税阶梯,
"special_tax_ladder"
:
""
,
// 专票个税阶梯,
"special_other_ladder"
:
""
,
// 专票增值税、附加税阶梯,
"service_begin_time"
:
""
,
// 服务开始时间,
"service_end_time"
:
""
,
// 服务结束时间,
"cost_rate"
:
""
,
// 核定成本费用率,
"tax_rate"
:
""
,
// 含税价百分比,
"add_value_up_type"
:
""
,
// 增值税累计类型 1按月 2按季度,
"tax_up_type"
:
""
,
// 个税累计类型 1按月累计 2按年累计,
"service_rate"
:
""
,
// 服务费比例,
"sign_notes"
:
""
,
// 签约备注,
"sign_time"
:
""
,
// 签约时间,
"is_create_account"
:
""
,
// 是否建账,
},
"orderDeliver"
:
{
"id"
:
""
,
// 主键
"order_id"
:
""
,
// 订单号
"deliver_id"
:
""
,
// 交付商id
"deliver_name"
:
""
,
// 交付商名称
"deliver_divide"
:
""
,
// 订单分成
"audit_result"
:
""
,
// 审核结果
"audit_remark"
:
""
,
// 交付审核备注
"deliver_mail_addr"
:
""
,
// 交付地址
"deliver_mail_to"
:
""
,
// 收件人
"deliver_mail_mobile"
:
""
,
// 联系电话
"deliver_content"
:
""
,
// 交付内容
"deliver_mail_no"
:
""
,
// 交付商交付快递单号
"deliver_mail_img"
:
""
,
// 交付商交付快递单号
"operator_id"
:
""
,
// 交付商业务员id
}
},
"requestid"
:
"447b691139bb47c7809f9cd93d6642b7"
"id"
:
"1567514231004112"
,
// 订单id
"status"
:
"1070"
,
// 订单下个状态
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="
perfectInformation"> 完善订单
</a>**
## **<a name="
chapterEngravedComplete"> 刻章办理已完成
</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/
perfectInformation
]
[
/web/order/orderCtl/
chapterEngravedComplete
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514231004112"
,
// 订单id
"status"
:
"1020"
,
// 订单下个状态
"legal_name"
:
"zhaobenshan"
,
// 法人姓名
"id_card"
:
"856965696696548"
,
// 法人身份呢正
"legal_mobile"
:
"18833836395"
,
// 法人联系电话
"names"
:
"zhanbenshanname"
,
// 姓名
"capital"
:
"xiaoshenyang"
,
// 注册资金
"domicile_id"
:
"xiaoshenyang"
,
// 注册地id
"domicile_name"
:
"xiaoshenyang"
,
// 注册地名称
"business_scope_id"
:
"4591"
,
// 经营范围id
"business_type"
:
"xiaoshenyang"
,
// 经营范围名称
"business_scope"
:
"xiaoshenyang"
,
// 经营范围详情
"idcard_front"
:
"xiaoshenyang"
,
// 身份证正面图
"idcard_back"
:
"xiaoshenyang"
,
// 身份证反面图
"other_file"
:
"xiaoshenyang"
,
// 其他文件
"guest_mail_addr"
:
"xiaoshenyang"
,
// 邮寄客户地址
"guest_mail_to"
:
"wangxiaoli"
,
// 收贱人
"guest_mail_mobile"
:
"1883383698"
,
// 收件人电话
"service_items"
:
"xxxxxxx"
,
// 订单服务项id
"service_remark"
:
"no note"
// 订单服务详情
}
"id"
:
"1567514119003310"
,
// 订单id
"status"
:
"1080"
,
// 订单下个状态
"gongzhang"
:
"公章"
,
"fapiaozhang"
:
"发票章"
,
"caiwuzhang"
:
"财税章"
,
"hetongzhang"
:
"合同"
,
"farenzhang"
:
"发票章"
,
"zhang_gov_file"
:
"官方文件"
}
```
...
...
@@ -456,13 +368,225 @@
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
[
{
"id"
:
10010200
,
// id
"name"
:
"工商注册"
,
// 名称
},
],
"requestid"
:
"357fd59e0c7d4ea0be0362bb8ef81c52"
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="backAccountOpening"> 银行开户中 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/backAccountOpening
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
// 订单id
"status"
:
"1090"
,
// 订单下个状态
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="backAccountOpenComplete"> 银行已开户 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/backAccountOpenComplete
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
//订单ID
"status"
:
"1100"
,
//订单状态
"bank_name"
:
"赵本山账号"
,
//账户名称
"bank_no"
:
"赵本山258258"
,
//账户号
"bank"
:
"象牙山银行"
,
//开户行
"bank_img"
:
"www.baidu.com"
,
//账户图片
"bank_gov_file"
:
"www.baidu.com"
//官方文件
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="taxReporting"> 税务报道中 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/taxReporting
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
//订单ID
"status"
:
"1110"
,
//订单状态
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="taxReportComplete"> 税务报道完成 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/taxReportComplete
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
//订单ID
"status"
:
"1120"
,
//订单状态
"tax_reg_day"
:
"2019-4-4"
,
//税务登记日期
"tax_org"
:
"刘老根大舞台"
,
//税务登记报道
"ca_img"
:
"www.baidu.com"
,
//ca照片
"tax_gov_file"
:
"www.baidu.com"
//官方文件
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="taxCategoryDetermine"> 核定税种 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/taxCategoryDetermine
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
"status"
:
"1130"
,
"common_tax_ladder"
:
"普票个税阶梯"
,
"common_other_ladder"
:
"普票增值税、附加税阶梯"
,
"special_tax_ladder"
:
"专票个税阶梯"
,
"special_other_ladder"
:
"专票增值税、附加税阶梯"
,
"add_value_up_type"
:
"1"
,
//增值税累计类型 1按月 2按季度
"tax_up_type"
:
"2"
//个税累计类型 1按月累计 2按年累计
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="submitAudit"> 交付商提交审核 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/submitAudit
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
"status"
:
"1140"
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
## **<a name="mailed"> 交付商订单交付 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/order/orderCtl/mailed
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"id"
:
"1567514119003310"
,
"status"
:
"1170"
,
"deliver_mail_no"
:
"112211122121121"
,
//邮寄编号
"deliver_mail_img"
:
"www.baidu.com"
//邮寄图片
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestid"
:
"6c308d46116945968592fbce5f3f4a95"
}
```
\ 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