- 购货订单
- 购货入库单
- 购货退货单
- 销货订单
- 销货出库单
- 销货退货单
- 库存查询
- 批次查询
- 序列 查询
- 盘点单
- 调拨单
- 组装单
- 拆卸单
- 其他入库单
- 其他出库单
- 成本调整单
- 付款单
- 收款单
- 转账单
- 结算单
- 应收减免单
- 应付减免单
- 其他收入单
- 其他支出单
- 单据费用
- 单据发票
- 购货订单跟踪表(单据)
- 购货订单跟踪表(商品)
- 购货明细表
- 购货汇总表
- 购货付款表
- 购货排行表
- 销货订单跟踪表(单据)
- 销货订单跟踪表(商品)
- 销货明细表
- 销货汇总表
- 销货收款单
- 销货排行表
- 销货利润表
- 销货利润明细表
- 商品库存余额表
- 商品收发明细表
- 商品收发汇总表
- 现金银行报表
- 应收账款明细表
- 应付账款明细表
- 客户对账单
- 供应商对账单
- 利润表
- 其他收支明细表
- 往来单位欠款表
- 客户管理
- 客户类别
- 客户期初
- 供应商管理
- 供应商类别
- 供应商期初
- 资金账户
- 收入类别
- 支出类别
- 结账管理
- 仓库管理
- 货位管理
- 人员管理
- 物流管理
- 商品管理
- BOM管理
- 商品类别
- 商品品牌
- 规格属性
- 多规格型号
- 计量单位
- 多计量单位
- 价格等级
- 条码管理
- 商品期初
- 系统参数
- 组织架构
- 用户角色
- 用户管理
- 通知消息
- 操作日志
- 数据备份
- 菜单管理
- 报表模板
- 扩展字段
- 编号规则
- 公用接口
列表
开发中
GET
/api/cst/cps
请求参数
Query 参数
page
string
当前页数
示例值:
1
size
string
数据条数
示例值:
30
number[]
array[string]
供应商编号
supplier[]
array[string]
供应商
time[]
array[string]
起始时间-结束时间
示例值:
["",""]
type
string
供应商类型
Header 参数
Authorization
string
API密钥
默认值:
Bearer 3|Reh29fr0WqqSDz8rRbpKbSU84sTBoo3zLDMhTZNH1b15d5e5
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/api/cst/cps?page=1&size=30&number[]=&supplier[]=&time[]=&time[]=&type=' \
--header 'Authorization;'
返回响应
🟢200成功
application/json
Body
state
string
必需
info
object
必需
total
integer
必需
data
array [object {6}]
必需
示例
{
"state": "success",
"info": {
"total": 1,
"data": [
{
"key": "s_2",
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": null,
"frame": 1,
"user": 1,
"customer": null,
"person": null,
"file": "[]",
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": "0.00",
"type": 0,
"field": "{\"a\": \"\", \"b\": \"\", \"c\": \"\", \"d\": \"\", \"e\": \"\"}",
"state": 1,
"data": "",
"contact": "[]",
"balance": "-10.0000"
},
"zero": 10,
"one": 0,
"summary": -10,
"children": [
{
"key": "i_2",
"name": "期初",
"summary": 0
},
{
"key": "buy_1",
"link": {
"type": "buy",
"id": "1"
},
"name": "购货入库单",
"form_data": {
"id": 1,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0001",
"total": 15,
"discount": 0,
"actual": 15,
"money": 15,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 15,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 0,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"time": 1727539200,
"direction": "1",
"one": 0,
"summary": 0
},
{
"key": "buy_2",
"link": {
"type": "buy",
"id": "2"
},
"name": "购货入库单",
"form_data": {
"id": 2,
"supplier": 2,
"time": "2024-09-29",
"number": "GHRKD0002",
"total": 0,
"discount": 0,
"actual": 0,
"money": 0,
"account": 3,
"cost": 0,
"frame": 1,
"user": 1,
"person": "",
"logistic": {
"key": "auto",
"number": ""
},
"file": [],
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"data": "",
"amount": 0,
"examine": 1,
"check": 0,
"nucleus": 2,
"cse": 3,
"invoice": 3,
"frame_data": {
"id": 1,
"pid": 0,
"name": "技术部",
"sort": 0,
"data": ""
},
"user_data": {
"id": 1,
"name": "管理员",
"py": "gly",
"frame": 1,
"role": 1,
"user": "admin",
"avatar": "/static/img/user/avatar.png",
"person": "",
"account": "",
"warehouse": "",
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": ""
},
"person_data": {
"id": 0
}
},
"time": 1727539200,
"direction": "1",
"one": 0,
"summary": 0
},
{
"key": "srn_1",
"link": {
"type": "srn",
"id": "1"
},
"name": "应付减免单",
"form_data": {
"id": 1,
"time": "2024-10-01",
"number": "YFJMD0001",
"supplier": 2,
"reduction": 10,
"data": "",
"amount": 0,
"nucleus": 0
},
"time": 1727712000,
"direction": "0",
"zero": 10,
"summary": -10
}
]
}
]
}
}
修改于 2024-10-01 06:07:56