列表

# 列表 - **请求URL** > [{{URL}}/sale](#) - **请求方式** >**get** - **请求参数** | 请求参数 | 参数类型 | 参数说明 | 是否必填 | | :-------- | :--------| :------ | :------ | | categorys_small_id|string| 品名| M| | materials_id|string| 材质| M| | specs_id|string| 规格| M| | steel_mill_id|string| 钢厂| M| | start_time|string| 开始时间| M| | end_time|string| 结束时间| M| | bill_num|string| 订单号| M| | is_print|string| 是否打印 1打印 0没有| M| | statement_customer_id|string| 结算单位| M| | statement_customer_name|string| 结算单位名字(模糊查询)| M| | create_userid|string| 制单人| M| | model|string| 业务模式 1:先款后货,2:先货后款| M| - **错误码** ```java 500 失败 ``` - **返回示例** > ```java { "code": 200, "message": "", "data": { "current_page": 1, "data": [ { "id": 1, --id "bill_num": "XSHT2112080002",--订单号 "date": "2021-12-09 00:00:00", --创建时间 "statement_customer_id": 3, --结算单位id "company_id": 1, --公司id "num": 0, --数量 "weight": "30000.00",--重量 "model": 1, --业务模式 1:先款后货,2:先货后款 "tax_money": "3000.00", --总含税金额 "clause_details":, --条款内容(array) "remark": "备注哦哦哦", --卑职 "status": 1, --是否删除 1正常 0删除 "is_print": 0, --是否打印 0没有 1打印 "create_userid": 1, --制单人id "update_userid": 1, --修改人id "created_at": "2021-12-09 11:41:40", "updated_at": "2021-12-09 15:44:33", "statement_customer_name": "好朋友结算单位",--结算单位 "create_username": "你好", --制单人 "update_username": "你好" --修改人 "details": [ --明细 { "id": 1, --id "bill_num": "XSHT2112080002013", --明细订单号 "bill_num_sales_contract": "XSHT2112080002", -- 主表订单号 "categorys_small_id": 180, --品名id "categorys_small_name": "不知道",--品名 "materials_id": 262, --材质ID "materials_name": "不知道", --材质 "specs_id": 5139, --规格ID "specs_name": "不知道", --规格 "steel_mill_id": 215, --钢厂ID "steel_mill_name": "不知道哦",--钢厂 "tax_price": "100.00", --含税单价 "tax_money": "1000.00", --含税金额 "price": "0.00", --无税单价(不用) "money": "0.00", --无税金额(不用) "num": 0, --数量 "weight": "10000.00", --重量 "remark": "不知道", --备注 "status": 1, --状态(0: 删除,1:正常) "create_userid": 1, --创建人 "update_userid": 1, --更新人 "created_at": "2021-12-09 11:41:40", --创建时间 "updated_at": "2021-12-09 15:44:33", --修改时间 "company_id": 1 --公司id }, { "id": 3, "bill_num": "XSHT2112080002015", "bill_num_sales_contract": "XSHT2112080002", "categorys_small_id": 182, "categorys_small_name": "不知道2", "materials_id": 264, "materials_name": "不知道2", "specs_id": 5141, "specs_name": "不知道2", "steel_mill_id": 0, "steel_mill_name": "", "tax_price": "200.00", "tax_money": "2000.00", "price": "0.00", "money": "0.00", "num": 0, "weight": "20000.00", "remark": "不知道1", "status": 1, "create_userid": 1, "update_userid": 0, "created_at": "2021-12-09 15:44:33", "updated_at": null, "company_id": 1 } ], } ], "first_page_url": "http://st.text/pc/sale?page=1", "from": 1, "last_page": 1, "last_page_url": "http://st.text/pc/sale?page=1", "next_page_url": null, "path": "http://st.text/pc/sale", "per_page": 20, "prev_page_url": null, "to": 1, "total": 1, "all_page_sum": { --合计 "weight_sum": 30000, --重量 "tax_money_sum": 3000 --金额 } } } ```