退货申请单详情
<p><strong>简要描述:</strong> </p>
<ul>
<li>退货申请单详情</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://tapi.1uap.com/dms/sale-return-apply/view</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;id&quot;: &quot;4&quot;,
&quot;order_type&quot;: &quot;2&quot;,
&quot;service_type&quot;: &quot;1&quot;,
&quot;is_sales&quot;: &quot;2&quot;,
&quot;order_sn&quot;: &quot;AR22081800000004&quot;,
&quot;buy_org_id&quot;: &quot;63823&quot;,
&quot;buy_org_name&quot;: &quot;王宁测试智能仓新&quot;,
&quot;buy_name&quot;: &quot;王宁&quot;,
&quot;buy_mobile&quot;: &quot;15953151368&quot;,
&quot;return_order_sn&quot;: &quot;&quot;,
&quot;inner_org&quot;: &quot;0&quot;,
&quot;supply_org_id&quot;: &quot;1&quot;,
&quot;supplier_name&quot;: &quot;测试_优配车联测试&quot;,
&quot;supplier_contact_name&quot;: &quot;杰总&quot;,
&quot;supplier_mobile&quot;: &quot;15589105211&quot;,
&quot;proposer_id&quot;: &quot;1&quot;,
&quot;proposer_department_id&quot;: &quot;0&quot;,
&quot;proposer_department_name&quot;: &quot;&quot;,
&quot;proposer_name&quot;: &quot;管理员&quot;,
&quot;proposer_mobile&quot;: &quot;18953111000&quot;,
&quot;propose_time&quot;: &quot;2022-08-18 17:57:01&quot;,
&quot;payment_method&quot;: &quot;0&quot;,
&quot;pay_type&quot;: &quot;0&quot;,
&quot;pay_status&quot;: &quot;1&quot;,
&quot;payer_id&quot;: &quot;0&quot;,
&quot;payer_name&quot;: &quot;&quot;,
&quot;pay_time&quot;: &quot;0&quot;,
&quot;hang_amount&quot;: &quot;0.00&quot;,
&quot;return_type&quot;: &quot;3&quot;,
&quot;reason_type&quot;: &quot;1&quot;,
&quot;apply_count&quot;: &quot;0.00&quot;,
&quot;apply_kind&quot;: &quot;0&quot;,
&quot;apply_total_amount&quot;: &quot;0.0000&quot;,
&quot;count&quot;: 2,
&quot;kind&quot;: &quot;2&quot;,
&quot;total_amount&quot;: &quot;287.00&quot;,
&quot;total_amount_no&quot;: &quot;253.9822&quot;,
&quot;final_count&quot;: &quot;0.00&quot;,
&quot;final_kind&quot;: &quot;0&quot;,
&quot;final_total_amount&quot;: &quot;0.00&quot;,
&quot;logistics_type&quot;: &quot;0&quot;,
&quot;distribution_method&quot;: &quot;0&quot;,
&quot;logistics_id&quot;: &quot;0&quot;,
&quot;logistics_name&quot;: &quot;&quot;,
&quot;flight&quot;: &quot;&quot;,
&quot;logistics_order_sn&quot;: &quot;&quot;,
&quot;logistics_user_id&quot;: &quot;0&quot;,
&quot;logistics_user_name&quot;: &quot;&quot;,
&quot;distribution_timeliness&quot;: &quot;0&quot;,
&quot;freight&quot;: &quot;0.00&quot;,
&quot;logistics_pay_type&quot;: &quot;0&quot;,
&quot;logistics_remark&quot;: &quot;&quot;,
&quot;warehouse_id&quot;: &quot;308&quot;,
&quot;warehouse_name&quot;: &quot;优配车联仓库&quot;,
&quot;share_mark&quot;: &quot;1&quot;,
&quot;share_org_id&quot;: &quot;0&quot;,
&quot;consignee_warehouse_id&quot;: &quot;0&quot;,
&quot;consignee_id&quot;: &quot;1005&quot;,
&quot;consignee_name&quot;: &quot;张伟达测试&quot;,
&quot;consignee_mobile&quot;: &quot;14612123456&quot;,
&quot;consignee_address&quot;: &quot;山东省济南市山东省济南市槐荫区&quot;,
&quot;province&quot;: &quot;310000000&quot;,
&quot;city&quot;: &quot;310100000&quot;,
&quot;district&quot;: &quot;310113000&quot;,
&quot;town&quot;: &quot;310113000&quot;,
&quot;deliver_address&quot;: &quot;金职院&quot;,
&quot;is_receipt&quot;: &quot;3&quot;,
&quot;remark&quot;: &quot;&quot;,
&quot;check_remark&quot;: &quot;&quot;,
&quot;status&quot;: &quot;0&quot;,
&quot;check_status&quot;: &quot;0&quot;,
&quot;check_at&quot;: &quot;0&quot;,
&quot;check_day&quot;: &quot;0&quot;,
&quot;check_id&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;2022-08-18 17:57:02&quot;,
&quot;created_id&quot;: &quot;799&quot;,
&quot;updated_at&quot;: &quot;1660816623&quot;,
&quot;updated_id&quot;: &quot;799&quot;,
&quot;deleted&quot;: &quot;0&quot;,
&quot;sales_id&quot;: &quot;1&quot;,
&quot;sales_name&quot;: &quot;管理员&quot;,
&quot;sales_mobile&quot;: &quot;18953111000&quot;,
&quot;sales_department_id&quot;: &quot;0&quot;,
&quot;sales_department_name&quot;: &quot;&quot;,
&quot;sales_org_id&quot;: &quot;1&quot;,
&quot;customer_department_id&quot;: &quot;116&quot;,
&quot;customer_department_name&quot;: &quot;大客户事业部&quot;,
&quot;print&quot;: &quot;0&quot;,
&quot;is_need_return_checkout&quot;: &quot;0&quot;,
&quot;has_return_checkout&quot;: &quot;0&quot;,
&quot;is_notice&quot;: &quot;2&quot;,
&quot;is_validity_period&quot;: &quot;2&quot;,
&quot;confirm_at&quot;: &quot;0&quot;,
&quot;pass_at&quot;: &quot;0&quot;,
&quot;buy_area&quot;: &quot;1396&quot;,
&quot;parts_image&quot;: &quot;mall_banner/2021/05/143506294927.jpg,mall_banner/2021/05/143506294927.jpg&quot;,
&quot;pay_statusTxt&quot;: &quot;未支付&quot;,
&quot;reason_typeTxt&quot;: &quot;订单失误&quot;,
&quot;statusTxt&quot;: &quot;待确认&quot;,
&quot;disabledMark&quot;: 0,
&quot;image_info&quot;: [
&quot;http://www.terp.com/upload/mall_banner/2021/05/143506294927.jpg&quot;,
&quot;http://www.terp.com/upload/mall_banner/2021/05/143506294927.jpg&quot;
],
&quot;buy_customer_info&quot;: {
&quot;balance&quot;: &quot;416379.28&quot;,
&quot;setting_credit&quot;: 1,
&quot;is_unlimited_credit&quot;: &quot;0&quot;,
&quot;credit_limit&quot;: &quot;50.00&quot;,
&quot;freezing_amount&quot;: &quot;43.00&quot;,
&quot;used_limit&quot;: &quot;0.00&quot;,
&quot;available_amount&quot;: &quot;7.00&quot;,
&quot;credit_mode&quot;: &quot;2&quot;,
&quot;settlement_cycle&quot;: &quot;1 月&quot;,
&quot;sales_money&quot;: &quot;13354.27&quot;,
&quot;sales_return_money&quot;: &quot;48742.13&quot;,
&quot;buy_customer_id&quot;: 63823,
&quot;buy_customer_name&quot;: &quot;王宁测试智能仓新&quot;,
&quot;contact_number&quot;: &quot;15953151368&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;">buy_customer_id</td>
<td style="text-align: left;">int</td>
<td>客户id</td>
</tr>
<tr>
<td style="text-align: left;">buy_customer_name</td>
<td style="text-align: left;">string</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">contact_number</td>
<td style="text-align: left;">int</td>
<td>联系电话</td>
</tr>
<tr>
<td style="text-align: left;">sales_money</td>
<td style="text-align: left;">string</td>
<td>采购金额</td>
</tr>
<tr>
<td style="text-align: left;">used_limit</td>
<td style="text-align: left;">string</td>
<td>应收</td>
</tr>
<tr>
<td style="text-align: left;">credit_limit</td>
<td style="text-align: left;">string</td>
<td>信用额度</td>
</tr>
<tr>
<td style="text-align: left;">account_days</td>
<td style="text-align: left;">int</td>
<td>账期</td>
</tr>
</tbody>
</table>
<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;">order_sn</td>
<td style="text-align: left;">string</td>
<td>退货申请单号</td>
</tr>
<tr>
<td style="text-align: left;">buy_org_id</td>
<td style="text-align: left;">int</td>
<td>客户ID</td>
</tr>
<tr>
<td style="text-align: left;">buy_org_name</td>
<td style="text-align: left;">string</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">created_at</td>
<td style="text-align: left;">string</td>
<td>申请时间</td>
</tr>
<tr>
<td style="text-align: left;">kind</td>
<td style="text-align: left;">int</td>
<td>SKU数</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">int</td>
<td>总数量</td>
</tr>
<tr>
<td style="text-align: left;">image_info</td>
<td style="text-align: left;">array</td>
<td>退货图集</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">array</td>
<td>退货原因</td>
</tr>
<tr>
<td style="text-align: left;">statusTxt</td>
<td style="text-align: left;">string</td>
<td>状态</td>
</tr>
<tr>
<td style="text-align: left;">created_user</td>
<td style="text-align: left;">string</td>
<td>申请人</td>
</tr>
<tr>
<td style="text-align: left;">confirm_at</td>
<td style="text-align: left;">string</td>
<td>确认时间</td>
</tr>
<tr>
<td style="text-align: left;">buy_area_name</td>
<td style="text-align: left;">string</td>
<td>业务区域</td>
</tr>
<tr>
<td style="text-align: left;">check_remark</td>
<td style="text-align: left;">string</td>
<td>审批意见</td>
</tr>
<tr>
<td style="text-align: left;">top_apply_count</td>
<td style="text-align: left;">int</td>
<td>申请数量</td>
</tr>
<tr>
<td style="text-align: left;">top_apply_sku</td>
<td style="text-align: left;">int</td>
<td>申请sku</td>
</tr>
<tr>
<td style="text-align: left;">top_check_count</td>
<td style="text-align: left;">int</td>
<td>待审核数量</td>
</tr>
<tr>
<td style="text-align: left;">top_check_sku</td>
<td style="text-align: left;">string</td>
<td>待审核sku</td>
</tr>
<tr>
<td style="text-align: left;">top_refuse_count</td>
<td style="text-align: left;">string</td>
<td>拒绝数量</td>
</tr>
<tr>
<td style="text-align: left;">top_refuse_sku</td>
<td style="text-align: left;">int</td>
<td>拒绝sku</td>
</tr>
</tbody>
</table>