文档
测试

采购详情

GET
/api/restaurant_machine/purchase/info

请求头

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

请求参数

参数名
类型
描述
必填
id
long
id
必填

响应参数

参数名
类型
描述
必填
id
long
id
必填
purchaseNo
string
入库单号
必填
supplier
string
供应商
必填
companyId
long
门店ID
必填
employee
employee
采购员
必填
createdTime
string
创建时间
必填
updateTime
string
更新时间
必填
details
list
入库商品
必填
id
long
id
必填
wareName
string
材料名
必填
weight
BigDecimal
重量
必填
amount
BigDecimal
金额
必填
createdTime
string
创建时间
必填

说明 / 示例

{ "total": 0, "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" }, "createdTime": "2021-09-16 16:07:20", "purchaseTime": "2021-09-16 16:07:30", "updateTime": "2021-09-16 16:07:23", "details": [ { "id": 1, "wareName": "土豆", "weight": 120, "amount": 15680.00, "purchaseId": 1, "wareId": 1, "createdTime": "2021-09-16 16:07:57" } ] }, "message": "success" }