文档
测试

订单列表

POST
http://127.0.0.1:2010/admin_api/purchase/list

请求头

参数名
类型
描述
必填
xiaoju-token
string
示例:
必填

请求参数

参数名
类型
描述
必填
sw
string
示例:
必填
supplier_id
int
示例:1
必填
purchase_date_start
string
示例:
必填
purchase_date_end
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:
必填
data
object
数据字典
必填
count
int
示例:1
必填
totalPages
int
示例:1
必填
pageSize
int
示例:30
必填
currentPage
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
seller_id
int
示例:1
必填
supplier_id
int
示例:1
必填
warehouse_id
int
示例:0
必填
purchase_no
string
示例:P2021091716328246859
必填
purchase_date
string
示例:2021-09-17 15:48:55
必填
deadline_date
string
示例:2021-10-17 15:48:58
必填
total_price
int
示例:220
必填
total_quantity
int
示例:10
必填
remark
string
示例:beizuh
必填
returned_no
string
示例:
必填
returned_time
object
示例:null
必填
shippment_no
string
示例:
必填
biz_user_id
object
示例:null
必填
status
int
示例:1
必填
add_time
string
示例:2021-09-17 16:32:53
必填
purchase_item
array
数据列表
必填
product_id
int
示例:1
必填
unit
string
示例:件
必填
price
int
示例:22
必填
total_price
int
示例:0
必填
quantity
int
示例:10
必填
real_count
int
示例:0
必填
rej_count
int
示例:0
必填
purchase_no
string
示例:P2021091716328246859
必填
products
object
数据字典
必填
id
int
示例:1
必填
p_asin
string
示例:M2001
必填
p_name
string
示例:产品名称
必填
p_type
string
示例:类型
必填
p_specifications
string
示例:
必填
imgs
string
示例:
必填
supplier
array
数据列表
必填
id
int
示例:1
必填
supplier_name
string
示例:小聚科技
必填
contact
string
示例:张三
必填
phone
string
示例:1787777222
必填

返回示例

```language ```