明细(发票引用)
# 列表
- **请求URL**
> [{{URL}}/shipment_details](#)
- **请求方式**
>**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_shipment_contract|string| 主订单号| M|
| bill_num|string| 订单号| M|
| is_print|string| 是否打印 1打印 0没有| M|
| statement_customer_id|string| 结算单位| M|
| create_userid|string| 制单人| M|
| delivery_person|string| 提货人| M|
| delivery_truck_number|string| 提货车号| M|
- **错误码**
```java
500 失败
```
- **返回示例**
>
```java
{
"code": 200,
"message": "",
"data": {
"current_page": 1,
"data": [
{
"id": 1, --id
"bill_num": "XSHT2112080002022", --子订单号
"bill_num_shipment_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", --含税单价
"amount_received": "0.00", --收款金额
"tax_money":"1000", --含税金额(根基计算单位走 :计算单位 * 单价)
"unit_of_measurement":1 --计算单位 (1 重量 2数量)ps:这里对应的数值变化金额才变化
"price": "0.00", --冗余
"money": "0.00", --冗余
"num": 0, --数据
"num_exec": 0,--开票数量
"num_locking": 0,--锁定数量
"num_usable": 0,--可用使用的数量
"weight": "10000.00", --重量
"weight_locking": "10000.00", --锁定重量
"weight_exec": "0.00", --开票重量
"weight_usable": "0.00", --可用使用的重量
"remark": "不知道", --备注
"status": 1, --是否删除 0删除 1正常
"company_id": 1, --公司
"create_userid": 1, --创建人
"update_userid": 1, --修改人
"created_at": "2021-12-09 19:08:12", --创建时间
"updated_at": "2021-12-09 19:20:54", -- 修改时间
"invoiced_amount": "0.00", --开票金额
"uninvoiced_amount": "1000.00", --未开票金额
"tax_money_usable":"100.00"--可用金额
"main": { --主
"id": 1, -- 主id
"bill_num": "XSHT2112080002", --订单号
"date": "2021-12-09 00:00:00", --时间
"statement_customer_id": 3, --结算单位
"delivery_person": "小黄", --提货人
"delivery_truck_number": "苏E28193",--提货车号
"company_id": 1, --公司
"num": 0, --数量
"weight": "30000.00", --重量
"tax_money": "3000.00", --含税金额
"remark": "备注哦哦哦", --备注
"status": 1,
"is_print": 0,
"create_userid": 1,
"update_userid": 1,
"created_at": "2021-12-09 19:19:55",
"updated_at": "2021-12-09 19:20:54"
"statement_customer_name": "好朋友结算单位", --结算单位
"create_username": "你好", --创建人
"update_username": "你好" --修改人
}
}
],
"first_page_url": "http://st.text/pc/shipment_details?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://st.text/pc/shipment_details?page=1",
"next_page_url": null,
"path": "http://st.text/pc/shipment_details",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
```