文档
测试

采购记录

POST
/api/restaurant_machine/purchase/list

请求头

参数名
类型
描述
必填
token
token
必填

请求参数

application/json
参数名
类型
描述
必填
companyId
long
门店ID
必填
key
string
查询的关键字
必填
purchaseStartTime
string
采购的开始时间
必填
purchaseEndTime
string
采购的结束时间
必填
page
int
当前页
必填
limit
int
每页的记录数
必填

说明 / 示例

{ "total": 1, "code": 0, "data": [ { "id": 1, "purchaseNo": "123456", "supplier": "张三", "companyId": 1, "employee": { "id": 1, "employeeName": "李四", "employeeNumber": "1234", "phone": "1300000000", "companyId": 1, "position": "1", "salary": "8000", "profitSharing": "0.5", "profitSharingTime": "2021-09-13 16:18:56", "status": 1, "sex": 1, "birthday": "1995-07-14 16:19:09", "idCard": "51269519950714254x", "remarks": "111", "createdTime": "2021-09-16 16:19:49", "updateTime": "2021-09-16 16:19:53" }, "purchasePrice": null, "purchaseTime": "2021-09-16 16:07:30", "createdTime": "2021-09-16 16:07:20", "updateTime": "2021-09-16 16:07:23" } ], "message": "success" }