- 购货订单
- 购货入库单
- 购货退货单
- 销货订单
- 销货出库单
- 销货退货单
- 库存查询
- 批次查询
- 序列查 询
- 盘点单
- 调拨单
- 组装单
- 拆卸单
- 其他入库单
- 其他出库单
- 成本调整单
- 付款单
- 收款单
- 转账单
- 结算单
- 应收减免单
- 应付减免单
- 其他收入单
- 其他支出单
- 单据费用
- 单据发票
- 购货订单跟踪表(单据)
- 购货订单跟踪表(商品)
- 购货明细表
- 购货汇总表
- 购货付款表
- 购货排行表
- 销货订单跟踪表(单据)
- 销货订单跟踪表(商品)
- 销货明细表
- 销货汇总表
- 销货收款单
- 销货排行表
- 销货利润表
- 销货利润明细表
- 商品库存余额表
- 商品收发明细表
- 商品收发汇总表
- 现金银行报表
- 应收账款明细表
- 应付账款明细表
- 客户对账单
- 供应商对账单
- 利润表
- 其他收支明细表
- 往来单位欠款表
- 客户管理
- 客户类别
- 客户期初
- 供应商管理
- 供应商类别
- 供应商期初
- 资金账户
- 收入类别
- 支出类别
- 结账管理
- 仓库管理
- 货位管理
- 人员管理
- 物流管理
- 商品管理
- BOM管理
- 商品类别
- 商品品牌
- 规格属性
- 多规格型号
- 计量单位
- 多计量单位
- 价格等级
- 条码管理
- 商品期初
- 系统参数
- 组织架构
- 用户角色
- 用户管理
- 通知消息
- 操作日志
- 数据备份
- 菜单管理
- 报表模板
- 扩展字段
- 编号规则
- 公用接口
列表
开发中
GET
/api/cst/cst
请求参数
Query 参数
supplier
string
供应商
示例值:
2
time[]
array[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/cst?supplier=2&time[]=&time[]=' \
--header 'Authorization;'
返回响应
🟢200成功
application/json
Body
state
string
必需
info
array [object {10}]
必需
key
string
必需
supplier_data
object
可选
name
string
必需
zero
integer
必需
one
integer
必需
summary
integer
必需
children
array [object {3}]
必需
link
object
必需
form_data
object
必需
f
object
必需
示例
{
"state": "success",
"info": [
{
"key": "s_2",
"supplier_data": {
"id": 2,
"name": "点可云",
"py": "dky",
"number": "GYS0004",
"classify": "",
"frame": 1,
"user": 1,
"customer": "",
"person": "",
"file": [],
"title": "",
"tax": "",
"bank": "",
"account": "",
"rate": 0,
"type": 0,
"field": {
"a": "",
"b": "",
"c": "",
"d": "",
"e": ""
},
"state": true,
"data": "",
"contact": [],
"balance": -10
},
"name": "-",
"zero": 10,
"one": 0,
"summary": -10,
"children": []
},
{
"key": "i_2",
"name": "期初",
"summary": 0,
"children": []
},
{
"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
}
},
"children": [
{
"key": "buy_info_1",
"link": {
"type": "buy",
"id": 1
},
"info": {
"link": {
"type": "buy",
"id": 1
},
"name": "芒果",
"spec": "",
"cell": "斤",
"price": 10,
"tpe": 10,
"nums": 1.5,
"dsc": 0,
"total": 15,
"tat": 0,
"tpt": 15
}
}
],
"f": {
"total": 15,
"discount": 0,
"actual": 15,
"money": 15
},
"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
}
},
"children": [
{
"key": "buy_info_3",
"link": {
"type": "buy",
"id": 2
},
"info": {
"link": {
"type": "buy",
"id": 2
},
"name": "芒果",
"spec": "",
"cell": "箱",
"price": 0,
"tpe": 0,
"nums": 1,
"dsc": 0,
"total": 0,
"tat": 0,
"tpt": 0
}
}
],
"f": {
"total": 0,
"discount": 0,
"actual": 0,
"money": 0
},
"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
},
"children": [],
"zero": 10,
"summary": -10
}
]
}
修改于 2024-10-01 06:12:14