APP(合伙人)

合伙人、dms、66智修文档相关


我的订单

<p><strong>简要描述:</strong> </p> <ul> <li>我的订单</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/dms/sales-order-app/order-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;">buy_customer_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;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>默认为1 我的订单 2是所有类型订单</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>订单状态:7待提交 0待确认 1待付款 2待出库 3已发货 4已关闭 5已签收 6已评价</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;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>页数</td> </tr> <tr> <td style="text-align: left;">count</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>每页展示数</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "errCode": 1000, "errMsg": "请求成功", "data": { "list": [ { "id": "85394", "order_type": "32", "is_shop": "2", "order_sn": "SO20061000085394", "buy_customer_id": "61022", "buy_customer_name": "ios宁开新总店1下分店全称", "customer_area_id": "1425", "kind": "2", "count": 2, "total_amount": "484.00", "distribution_method": "0", "pay_status": "1", "pay_time": "-", "sales_remark": "", "status": "7", "created_at": "2020-06-10", "buy_short_name": "ios宁开新总店1下分店", "customer_area_idTxt": "gyn-市内23区", "distribution_methodTxt": "-", "pay_statusTxt": "未支付", "statusTxt": "待提交", "created_atTime": "2020-06-10 14:11:02", "parts_info": [ { "id": "231127", "parts_name": "机油滤清器", "parts_code": "NO-2890", "parts_factory_code": "NO-2890", "parts_specifications": "", "minimum_package_count": "1.00", "parts_category_name": "机油滤清器", "parts_unit_name": "副", "parts_brand_name": "耐诺思", "sales_count": "1.00", "sales_price": "50.00", "parts_top": "耐诺思|机油滤清器|副", "parts_bottom": "NO-2890|NO-2890" }, { "id": "231126", "parts_name": "MOTOR(合成油)", "parts_code": "SM 5W40 1L", "parts_factory_code": "0Z427001", "parts_specifications": "", "minimum_package_count": "20.00", "parts_category_name": "汽机油", "parts_unit_name": "只", "parts_brand_name": "引能仕", "sales_count": "1.00", "sales_price": "124.00", "parts_top": "引能仕|MOTOR(合成油)|只", "parts_bottom": "SM 5W40 1L|0Z427001" } ], "finish_status_status": "-", "order_name": "业务员订单" }, { "id": "85281", "order_type": "6", "is_shop": "2", "order_sn": "SO20052200085281", "buy_customer_id": "61023", "buy_customer_name": "ios宁开新总店2全", "customer_area_id": "1425", "kind": "1", "count": 1, "total_amount": "1.00", "distribution_method": "0", "pay_status": "1", "pay_time": "-", "sales_remark": "", "status": "0", "created_at": "2020-05-22", "buy_short_name": "ios宁开新总店2", "customer_area_idTxt": "gyn-市内23区", "distribution_methodTxt": "-", "pay_statusTxt": "未支付", "statusTxt": "待确认", "created_atTime": "2020-05-22 11:40:16", "parts_info": [ { "id": "230981", "parts_name": "柴油滤清器", "parts_code": "ND-5019", "parts_factory_code": "ND-5019", "parts_specifications": "", "minimum_package_count": "1.00", "parts_category_name": "燃油滤清器", "parts_unit_name": "个", "parts_brand_name": "耐诺思", "sales_count": "1.00", "sales_price": "1.00", "parts_top": "耐诺思|柴油滤清器|个", "parts_bottom": "ND-5019|ND-5019" } ], "finish_status_status": "-", "order_name": "PC订单" } ], "count": { "total": "33" } } }</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;">created_atTime</td> <td style="text-align: left;">string</td> <td>销售下单时间</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;">count</td> <td style="text-align: left;">int</td> <td>销售单总数量</td> </tr> <tr> <td style="text-align: left;">kind</td> <td style="text-align: left;">int</td> <td>销售单总种类</td> </tr> <tr> <td style="text-align: left;">total_amount</td> <td style="text-align: left;">string</td> <td>销售总金额</td> </tr> <tr> <td style="text-align: left;">buy_customer_name</td> <td style="text-align: left;">int</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;">finish_status_name</td> <td style="text-align: left;">string</td> <td>核销状态</td> </tr> <tr> <td style="text-align: left;">is_blue</td> <td style="text-align: left;">int</td> <td>1 黄色底部 2正常</td> </tr> </tbody> </table> <p><strong>---type == 2---</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;">order_name</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;">parts_top</td> <td style="text-align: left;">string</td> <td>商品名称</td> </tr> <tr> <td style="text-align: left;">sales_count</td> <td style="text-align: left;">string</td> <td>数量</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML