From 5569a56b7538665133e13e6942464042f630e9c4 Mon Sep 17 00:00:00 2001 From: ZhangYaozong Date: Tue, 5 Dec 2023 10:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/供应商/修改供应商.md | 11 +++++++++-- mes/供应商/列出供应商.md | 20 +++++++++++++++----- mes/供应商/查询供应商详情.md | 6 +++++- mes/供应商/添加供应商.md | 11 +++++++++-- 4 files changed, 38 insertions(+), 10 deletions(-) diff --git a/mes/供应商/修改供应商.md b/mes/供应商/修改供应商.md index 37d9e31..09d6feb 100644 --- a/mes/供应商/修改供应商.md +++ b/mes/供应商/修改供应商.md @@ -21,6 +21,9 @@ URL: http://localhost:8033/open/UpdateSupplier | profile | string | 是 | 厂区编码 | | supplierCode | string | 是 | 供应商编码 | | descriptions | string | 是 | 供应商名称 | +| status | int | 否(默认启用) | 状态 0:不启用 1:启用 | +| country | string | 否 | 国家 | +| region | string | 否 | 省市 | 示例 1:修改供应商 @@ -29,7 +32,9 @@ URL: http://localhost:8033/open/UpdateSupplier "data": { "profile": "测试", "supplierCode": "1045543weee", - "descriptions": "新的公司2" + "descriptions": "新的公司2", + "country": "china", + "region": "tianjing", } } ``` @@ -48,7 +53,9 @@ URL: http://localhost:8033/open/UpdateSupplier "data": { "info": { "supplierCode": "1045543weee", - "descriptions": "新的公司22" + "descriptions": "新的公司22", + "country": "china", + "region": "tianjing", } } } diff --git a/mes/供应商/列出供应商.md b/mes/供应商/列出供应商.md index 8693e45..9e611ba 100644 --- a/mes/供应商/列出供应商.md +++ b/mes/供应商/列出供应商.md @@ -41,7 +41,9 @@ URL: http://localhost:8033/open/ListSupplier | 字段 | 类型 | 说明 | | :-- | :-- | :-- | | supplierCode | string | 供应商编码 | -| descriptions | string | 供应商名称 |= +| descriptions | string | 供应商名称 | +| country | string | 国家 | +| region | string | 省市 | 查询成功时,响应如下: @@ -53,19 +55,27 @@ URL: http://localhost:8033/open/ListSupplier "list": [ { "supplierCode": "1002210180004606", - "descriptions": "国网江苏省电力有限公司宿迁供电分公司" + "descriptions": "国网江苏省电力有限公司宿迁供电分公司", + "country": "china", + "region": "beijing", }, { "supplierCode": "1002210180004613", - "descriptions": "国网江苏省电力有限公司徐州供电分公司" + "descriptions": "国网江苏省电力有限公司徐州供电分公司", + "country": "china", + "region": "beijing", }, { "supplierCode": "1002210180004620", - "descriptions": "国网江苏综合能源服务有限公司" + "descriptions": "国网江苏综合能源服务有限公司", + "country": "china", + "region": "beijing", }, { "supplierCode": "1002210180012203", - "descriptions": "国网江苏省电力有限公司徐州市铜山区供电分公司" + "descriptions": "国网江苏省电力有限公司徐州市铜山区供电分公司", + "country": "china", + "region": "beijing", } ] } diff --git a/mes/供应商/查询供应商详情.md b/mes/供应商/查询供应商详情.md index 09a2801..e8612c6 100644 --- a/mes/供应商/查询供应商详情.md +++ b/mes/供应商/查询供应商详情.md @@ -42,6 +42,8 @@ URL: http://localhost:8033/open/GetSupplier | :-- | :-- | :-- | | supplierCode | string | 供应商编码 | | descriptions | string | 供应商名称 | +| country | string | 国家 | +| region | string | 省市 | 查询成功时,响应如下: @@ -52,7 +54,9 @@ URL: http://localhost:8033/open/GetSupplier "data": { "info": { "supplierCode": "1002210180009192", - "descriptions": "无锡联晟光伏科技有限公司" + "descriptions": "无锡联晟光伏科技有限公司", + "country": "china", + "region": "beijing", } } } diff --git a/mes/供应商/添加供应商.md b/mes/供应商/添加供应商.md index 613dae6..6d522fa 100644 --- a/mes/供应商/添加供应商.md +++ b/mes/供应商/添加供应商.md @@ -21,6 +21,9 @@ URL: http://localhost:8033/open/AddSupplier | profile | string | 是 | 厂区编码 | | supplierCode | string | 是 | 供应商编码 | | descriptions | string | 是 | 供应商名称 | +| status | int | 否(默认启用) | 状态 0:不启用 1:启用 | +| country | string | 否 | 国家 | +| region | string | 否 | 省市 | 示例 1:添加供应商 @@ -29,7 +32,9 @@ URL: http://localhost:8033/open/AddSupplier "data": { "profile": "测试", "supplierCode": "1045543weee", - "descriptions": "新的公司" + "descriptions": "新的公司", + "country": "china", + "region": "beijing", } } ``` @@ -48,7 +53,9 @@ URL: http://localhost:8033/open/AddSupplier "data": { "info": { "supplierCode": "1045543weee", - "descriptions": "新的公司" + "descriptions": "新的公司", + "country": "china", + "region": "beijing", } } }