内部人员订购

#### 简要描述: - 内部人员订购 #### 接口版本: |版本号|制定人|制定日期|修订日期| |:---- |:---|:----- |----- | |1.0.0 |张玉龙 |2020-12-03 |2020-12-03 | #### 请求URL: - http://ip:port/semi-api/order/internalOrder #### 请求方式: - POST/JSON #### 请求头: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |Content-Type |是 |string |请求类型: application/json | #### 请求示例: ```json { "inventoryId": "1000013", "count": 2, "dealerCode": "2033814563300001", "operatorMobile": "13789898882", "operatorName": "测试经营", "deliveryAddress": "北京市xxx区xxx街道xxx号", "modeDespatch": "快递", "transactionPrice": "100", "logisticsPaymentMethod":"到付", "logisticsFees":"30" } ``` #### 请求参数: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |inventoryId|是 |string |库存主键(从库存列表中获取id) | |count|是 |string | 订购数量| |dealerCode|是 |string |经销商编码| |operatorMobile|是 |string |联系人电话| |operatorName|是 |string |联系人姓名| |deliveryAddress|是 |string |收货地址| |modeDespatch|是 |string |发货方式| |transactionPrice|是 |string |实际成交| |logisticsPaymentMethod|是 |string |物流支付方式| |logisticsFees|是 |string |物流费用| #### 返回示例: **正确时返回:** ```json { "msg": "操作成功", "code": 200, "data": { "id": 1000020 } } ``` **错误时返回:** ```json { "msg": "请求失败", "code": -200, "data": {} } ``` #### 返回参数(通用参数)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |code|是 |string | 200 成功 其他失败 | |msg|是 |string |成功或失败消息内容 | |data|是 |string | 真实参数 | #### 返回参数(data)说明: |参数名|是否必须|类型|说明| |:---- |:---|:----- |----- | |id|是 |string | 主键id|