可退数量列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>可退数量列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://tapi.1uap.com/dms/sale-return-apply/get-history</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;">buy_org_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>客户ID</td>
</tr>
<tr>
<td style="text-align: left;">parts_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>商品ID</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;order_top&quot;: {
&quot;return_count&quot;: &quot;&quot;,
&quot;final_return_count&quot;: 3,
&quot;return_count_sum&quot;: 3
},
&quot;info&quot;: [
{
&quot;stock_order_parts_id&quot;: &quot;353241&quot;,
&quot;stock_order_id&quot;: &quot;124609&quot;,
&quot;stock_order_sn&quot;: &quot;WO22070100124609&quot;,
&quot;sales_order_sn&quot;: &quot;SO22070100096165&quot;,
&quot;sales_order_parts_id&quot;: &quot;249453&quot;,
&quot;parts_id&quot;: &quot;93643&quot;,
&quot;parts_name&quot;: &quot;空调滤清器&quot;,
&quot;parts_brand_id&quot;: &quot;193&quot;,
&quot;parts_category_id&quot;: &quot;196&quot;,
&quot;parts_code&quot;: &quot;LAK1291&quot;,
&quot;parts_factory_code&quot;: &quot;FLAK1291T&quot;,
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;parts_unit_id&quot;: &quot;19&quot;,
&quot;parts_unit_name&quot;: &quot;个&quot;,
&quot;parts_category_name&quot;: &quot;空调滤清器&quot;,
&quot;parts_brand_name&quot;: &quot;马勒&quot;,
&quot;price&quot;: &quot;10.0000&quot;,
&quot;discount_rate&quot;: &quot;95.00&quot;,
&quot;warehouse_id&quot;: &quot;308&quot;,
&quot;parts_final_count&quot;: 1,
&quot;manual_batch&quot;: &quot;&quot;,
&quot;stock_time&quot;: &quot;2022-07-01 16:34:39&quot;,
&quot;final_sales_price&quot;: &quot;9.50&quot;,
&quot;last_sales_price&quot;: &quot;9.50&quot;,
&quot;parts_promotion_id&quot;: 0,
&quot;is_gift&quot;: 2,
&quot;yet_return_count&quot;: 0,
&quot;max_return_count&quot;: 1,
&quot;return_count&quot;: 1,
&quot;sales_price&quot;: 0,
&quot;bottom_price&quot;: 0,
&quot;top_price&quot;: &quot;9.50&quot;,
&quot;abnormal_count&quot;: 0,
&quot;return_price&quot;: 9.5,
&quot;tax_rate&quot;: &quot;13&quot;,
&quot;return_price_no&quot;: &quot;8.4070&quot;,
&quot;return_price_sum&quot;: &quot;9.50&quot;,
&quot;return_price_sum_no&quot;: &quot;8.4070&quot;,
&quot;day&quot;: 51,
&quot;stock_time_txt&quot;: &quot;2022-07-01&quot;,
&quot;is_promotion&quot;: 2
},
]
}</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;">parts_final_count</td>
<td style="text-align: left;">int</td>
<td>出库数量</td>
</tr>
<tr>
<td style="text-align: left;">abnormal_count</td>
<td style="text-align: left;">int</td>
<td>冻结数量</td>
</tr>
<tr>
<td style="text-align: left;">max_return_count</td>
<td style="text-align: left;">int</td>
<td>可退数量</td>
</tr>
<tr>
<td style="text-align: left;">return_price</td>
<td style="text-align: left;">string</td>
<td>单价</td>
</tr>
<tr>
<td style="text-align: left;">sales_order_sn</td>
<td style="text-align: left;">string</td>
<td>订单号</td>
</tr>
<tr>
<td style="text-align: left;">stock_time_txt</td>
<td style="text-align: left;">string</td>
<td>出库时间</td>
</tr>
</tbody>
</table>