You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.3 KiB
81 lines
1.3 KiB
12 months ago
|
### 供应商列表
|
||
|
此接口用于查询WMS中的供应商
|
||
|
此接口需要认证,详情请查看《认证方式》。
|
||
|
|
||
|
---
|
||
|
|
||
|
### 基本信息
|
||
|
方法:POST
|
||
|
URL: http://localhost:8033/open/GetWmsSupplierList
|
||
|
|
||
|
---
|
||
|
|
||
|
### 请求
|
||
|
|
||
|
__请求参数__
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| profile | String | 是 | 厂区|
|
||
|
|
||
|
__请求示例:__
|
||
|
```
|
||
|
{
|
||
|
"data":{
|
||
|
"profile": "测试",
|
||
|
}
|
||
|
}
|
||
|
````
|
||
|
|
||
|
---
|
||
|
|
||
|
### 响应
|
||
|
__响应字段__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
| clock | string | 当前服务器时钟。 |
|
||
|
| status | string | 状态,ok:成功,error:错误,exception:异常 |
|
||
|
| data | object | 成功后返回具体内容 |
|
||
|
|
||
|
__data:__
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"clock": "2023-06-25 20:00:00.000",
|
||
|
"status": "ok",
|
||
|
"data": {
|
||
|
"records": [
|
||
|
{
|
||
|
"key": "943c1f4d0f164cddb74ad60be33c891d",
|
||
|
"status": 0,
|
||
|
"country": null,
|
||
|
"region": null,
|
||
|
"code": "GYS001",
|
||
|
"name": "供应商001",
|
||
|
"oaId": null,
|
||
|
"address": "1002",
|
||
|
"contact": "liu",
|
||
|
"phone": "156"
|
||
|
},
|
||
|
{
|
||
|
"key": "eb335cea0e894623859a68976a80342f",
|
||
|
"status": 0,
|
||
|
"country": null,
|
||
|
"region": null,
|
||
|
"code": "LM001",
|
||
|
"name": "螺帽",
|
||
|
"oaId": null,
|
||
|
"address": "",
|
||
|
"contact": "",
|
||
|
"phone": ""
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
```
|
||
|
|
||
|
|