申请单详情商品列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>申请单详情商品列表</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/dms/sale-return-apply/return-parts-list</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;">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;">query</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>规格型号、名称、出厂编码..</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>1:显示全部 2:待处理>0 3:待处理=0 4:仅显示待审>0</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;partsList&quot;: [
{
&quot;id&quot;: &quot;5&quot;,
&quot;return_apply_id&quot;: &quot;4&quot;,
&quot;return_order_sn&quot;: &quot;AR22081800000004&quot;,
&quot;stock_order_sn&quot;: &quot;WO22072600124989&quot;,
&quot;stock_order_parts_id&quot;: &quot;353939&quot;,
&quot;details_id&quot;: &quot;0&quot;,
&quot;org_distribution_order_sn&quot;: &quot;AA22080300000688&quot;,
&quot;org_distribution_order_parts_id&quot;: &quot;1134&quot;,
&quot;parts_id&quot;: &quot;13091&quot;,
&quot;parts_name&quot;: &quot;合成机油&quot;,
&quot;parts_code&quot;: &quot;SN 5W30 4L&quot;,
&quot;parts_factory_code&quot;: &quot;19336087&quot;,
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;minimum_package_count&quot;: 1,
&quot;parts_adaptable_vehicle&quot;: &quot;银标韩国&quot;,
&quot;parts_unit_id&quot;: &quot;20&quot;,
&quot;parts_unit_name&quot;: &quot;桶&quot;,
&quot;parts_category_id&quot;: &quot;164&quot;,
&quot;parts_category_name&quot;: &quot;汽机油&quot;,
&quot;parts_brand_id&quot;: &quot;4&quot;,
&quot;parts_brand_name&quot;: &quot;AC&quot;,
&quot;parts_e_code&quot;: &quot;&quot;,
&quot;buy_org_id&quot;: &quot;63823&quot;,
&quot;supply_org_id&quot;: &quot;1&quot;,
&quot;merit_price&quot;: &quot;130.00&quot;,
&quot;sales_price&quot;: &quot;104.07&quot;,
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;return_price&quot;: &quot;188.00&quot;,
&quot;return_price_no&quot;: &quot;166.3716&quot;,
&quot;apply_count&quot;: 0,
&quot;apply_price&quot;: &quot;0.0000&quot;,
&quot;apply_price_sum&quot;: &quot;0.0000&quot;,
&quot;agency_price&quot;: &quot;99.0200&quot;,
&quot;return_count&quot;: 1,
&quot;discount_rate&quot;: &quot;100.00&quot;,
&quot;return_price_sum&quot;: &quot;188.00&quot;,
&quot;return_price_sum_no&quot;: &quot;166.3716&quot;,
&quot;final_return_count&quot;: 0,
&quot;final_price_sum&quot;: &quot;0.00&quot;,
&quot;gross_profit&quot;: &quot;88.9800&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;deleted&quot;: &quot;0&quot;,
&quot;created_org_id&quot;: &quot;1&quot;,
&quot;updated_org_id&quot;: &quot;1&quot;,
&quot;created_at&quot;: &quot;1660816622&quot;,
&quot;created_id&quot;: &quot;799&quot;,
&quot;updated_at&quot;: &quot;1660816622&quot;,
&quot;updated_id&quot;: &quot;799&quot;,
&quot;manual_batch&quot;: &quot;&quot;,
&quot;ticket_count&quot;: &quot;0.00&quot;,
&quot;ticket_price&quot;: &quot;0.0000&quot;,
&quot;ticket_price_sum&quot;: &quot;0.0000&quot;,
&quot;refuse_count&quot;: &quot;0.00&quot;,
&quot;pending_count&quot;: &quot;0.00&quot;,
&quot;apply_money&quot;: &quot;0.0000&quot;,
&quot;deal_money&quot;: &quot;0.0000&quot;,
&quot;dec_pattern&quot;: &quot;&quot;,
&quot;inch&quot;: &quot;&quot;,
&quot;flat_ratio&quot;: &quot;&quot;,
&quot;load_index&quot;: &quot;&quot;,
&quot;speed_class&quot;: &quot;&quot;,
&quot;parts_promotion_id&quot;: 0,
&quot;is_gift&quot;: 2,
&quot;price_range&quot;: &quot;17&quot;,
&quot;bottom_price&quot;: 0,
&quot;top_price&quot;: &quot;166.6600&quot;,
&quot;price_method&quot;: 1,
&quot;price_message&quot;: &quot;&quot;,
&quot;last_sales_price&quot;: 0,
&quot;distribution_remain_count&quot;: 135,
&quot;remain_mark&quot;: 1,
&quot;standard_price&quot;: &quot;104.07&quot;,
&quot;showName&quot;: &quot;合成机油|SN 5W30 4L|19336087|AC|汽机油&quot;,
&quot;wl_order_sn&quot;: &quot;&quot;,
&quot;agency_price_mark&quot;: 0,
&quot;parts_top&quot;: &quot;AC|合成机油|桶&quot;,
&quot;parts_bottom&quot;: &quot;SN 5W30 4L|19336087&quot;
}
],
&quot;total_page&quot;: &quot;2&quot;
}
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">id</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;">int</td>
<td>商品ID</td>
</tr>
<tr>
<td style="text-align: left;">picurl</td>
<td style="text-align: left;">string</td>
<td>商品名称</td>
</tr>
<tr>
<td style="text-align: left;">parts_top</td>
<td style="text-align: left;">string</td>
<td>品牌</td>
</tr>
<tr>
<td style="text-align: left;">parts_bottom</td>
<td style="text-align: left;">string</td>
<td>规格型号</td>
</tr>
<tr>
<td style="text-align: left;">sales_price</td>
<td style="text-align: left;">string</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;">return_count</td>
<td style="text-align: left;">int</td>
<td>申请数量</td>
</tr>
<tr>
<td style="text-align: left;">have_80count</td>
<td style="text-align: left;">int</td>
<td>小票 <=90天 数量</td>
</tr>
<tr>
<td style="text-align: left;">have_90count</td>
<td style="text-align: left;">int</td>
<td>小票 >90天 数量</td>
</tr>
<tr>
<td style="text-align: left;">ticket_count</td>
<td style="text-align: left;">int</td>
<td>无小票 数量</td>
</tr>
<tr>
<td style="text-align: left;">ticket_price</td>
<td style="text-align: left;">string</td>
<td>无小票 单价</td>
</tr>
<tr>
<td style="text-align: left;">refuse_count</td>
<td style="text-align: left;">int</td>
<td>拒绝数量</td>
</tr>
<tr>
<td style="text-align: left;">pending_count</td>
<td style="text-align: left;">int</td>
<td>待处理数量</td>
</tr>
<tr>
<td style="text-align: left;">apply_money</td>
<td style="text-align: left;">string</td>
<td>申请金额</td>
</tr>
<tr>
<td style="text-align: left;">deal_money</td>
<td style="text-align: left;">string</td>
<td>处理金额</td>
</tr>
</tbody>
</table>
<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;">pending_status</td>
<td style="text-align: left;">int</td>
<td>1 待处理数量>0 , 2 待处理数量=0</td>
</tr>
<tr>
<td style="text-align: left;">test_status</td>
<td style="text-align: left;">int</td>
<td>1 待审核数量>0</td>
</tr>
<tr>
<td style="text-align: left;">ticket_arr</td>
<td style="text-align: left;">arr</td>
<td>已选批次信息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>