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
e653b206
Commit
e653b206
authored
Jan 15, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
e9921192
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
0 deletions
+116
-0
xgg-admin/app/base/controller/impl/business/businessmenCtl.js
+24
-0
xgg-admin/app/front/entry/public/apidoc/business/businessmen.md
+92
-0
No files found.
xgg-admin/app/base/controller/impl/business/businessmenCtl.js
View file @
e653b206
...
...
@@ -58,6 +58,30 @@ class BusinessmenCtl extends CtlBase {
}
}
async
signPage
(
pobj
,
pobj2
,
req
)
{
try
{
let
condition
=
{
currentPage
:
pobj
.
currentPage
,
pageSize
:
pobj
.
pageSize
,
order_id
:
this
.
trim
(
pobj
.
order_id
),
name
:
this
.
trim
(
pobj
.
name
),
bd_id
:
this
.
trim
(
pobj
.
bd_id
),
bd_path
:
this
.
trim
(
pobj
.
bd_path
),
legal_name
:
this
.
trim
(
pobj
.
legal_name
),
legal_mobile
:
this
.
trim
(
pobj
.
legal_mobile
),
legal_idcard
:
this
.
trim
(
pobj
.
legal_idcard
),
credit_code
:
this
.
trim
(
pobj
.
credit_code
),
isSign
:
true
,
}
return
await
this
.
businessmenSve
.
allPage
(
condition
);
}
catch
(
error
)
{
console
.
log
(
error
);
return
system
.
getResultFail
(
500
,
"接口异常:"
+
error
.
message
);
}
}
/**
* 个体户签约
...
...
xgg-admin/app/front/entry/public/apidoc/business/businessmen.md
View file @
e653b206
...
...
@@ -3,6 +3,8 @@
1.
[
我的个体户
](
#myPage
)
1.
[
个体户签约
](
#signing
)
1.
[
个体户建帐
](
#createAccount
)
1.
[
签约管理
](
#signPage
)
## **<a name="allPage"> 个体户信息 </a>**
...
...
@@ -240,3 +242,92 @@
}
```
## **<a name="signPage"> 签约管理 </a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/business/businessmenCtl/signPage
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
```
javascript
{
"currentPage"
:
"1"
,
"pageSize"
:
"10"
,
"order_id"
:
""
,
// 订单号
// 以下查询条件留着以后备用
"name"
:
""
,
// 个体户名称
"legal_name"
:
""
,
// 法人姓名
"legal_mobile"
:
""
,
// 法人手机号
"legal_idcard"
:
""
,
// 法人身份证号
"credit_code"
:
""
,
// 统一社会信用代码
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"count"
:
3
,
"rows"
:
[
{
"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"
:
""
,
// 是否建账,
}
]
},
"requestid"
:
"7443807c76b940a2bde2abd0311e2fd8"
}
```
\ 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