获取进货订单详情接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取进货订单详情接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/orders/new-order/get-to-stock-detail</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>token</td>
</tr>
<tr>
<td style="text-align: left;">orderId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>订单ID orderId orderCode 必传一个</td>
</tr>
<tr>
<td style="text-align: left;">orderCode</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>订单编号 orderId orderCode 必传一个</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 600,
"msg": "获取成功",
"result": {
"order_id": "19", // 进货订单ID
"order_code": "GGC2018110516104946", //进货订单编号
"order_num": "1", // 商品数量
"order_money": "100.00", // 商品总金额
"order_status": "1", // 1:待发货 2:待收货 3:退款、售后 4:已完成 5:取消
"courier_name": null,// 物流名称
"courier_code": null, // 物流编号
"order_time": "2018-11-05 16:10:49", // 下单时间
"touser_remark": null, // 出货者备注
"remark": null, // 进货者备注
"shipping_fee": "0.00", // 配送费
"address": "测试地址", // 收货地址
"send_time": null, // 发货时间
"take_name": "测试", // 收货人
"take_tel": "15800000000", // 收货人电话
"detail": [ // 进货子单详情
{
"order_id": "19",
"lottery_id": "3", // 面额编号
"lottery_name": "糖葫芦", // 暂无,无需显示
"sub_value": "5", // 面额
"sheet_nums": "20", // 一包数量
"price": "100.00", // 一包单价
"money": "100.00", // 总价
"lottery_img": null, // 图片
"nums": "1" // 进货数量
}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>