Created
August 2, 2022 11:28
-
-
Save viacooky/bd23045b572a9a6da7e1a059fd774373 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { "version": "v1", "title": "业务接口" }, | |
"host": "127.0.0.1:10005", | |
"schemes": ["http"], | |
"paths": { | |
"/adapter/saveBill": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "保存接口", | |
"operationId": "Adapter_SaveBill", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "入参", | |
"required": true, | |
"schema": { "$ref": "#/definitions/SaveBillInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/checkBill": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "审核接口", | |
"operationId": "Adapter_CheckBill", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/CheckBillInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/unCheckBill": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "反审核接口", | |
"operationId": "Adapter_UnCheckBill", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/CheckBillInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/queryData": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "查询接口", | |
"operationId": "Adapter_QueryData", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/QueryDataInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/queryInventory": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "查询库存", | |
"operationId": "Adapter_QueryInventory", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/QueryInventryInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/noUiLogin": { | |
"get": { | |
"tags": ["Adapter"], | |
"summary": "登录接口", | |
"operationId": "Adapter_NoUiLogin", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "acctId", | |
"in": "query", | |
"description": "", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "userName", | |
"in": "query", | |
"description": "", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "password", | |
"in": "query", | |
"description": "", | |
"required": true, | |
"type": "string" | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/saveStockCount": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "保存盘点(累加)", | |
"operationId": "Adapter_SaveStockCount", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "入参", | |
"required": true, | |
"schema": { "$ref": "#/definitions/SaveStockCountInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/resetStockCount": { | |
"post": { | |
"tags": ["Adapter"], | |
"summary": "重置盘点方案", | |
"operationId": "Adapter_ResetStockCount", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "入参", | |
"required": true, | |
"schema": { "$ref": "#/definitions/ResetStockCountInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/getAccounts": { | |
"get": { | |
"tags": ["Adapter"], | |
"summary": "获取账套信息", | |
"operationId": "Adapter_GetAccounts", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/test": { | |
"get": { | |
"tags": ["Adapter"], | |
"operationId": "Adapter_test", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ "name": "name", "in": "query", "required": true, "type": "string" } | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/nowTime": { | |
"get": { | |
"tags": ["Adapter"], | |
"operationId": "Adapter_NowTime", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/adapter/saveBill2": { | |
"post": { | |
"tags": ["Adapter"], | |
"operationId": "Adapter_SaveBill2", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullOrganization": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "客户", | |
"operationId": "Business_PullOrganization", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/OrganizationInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/OrganizationOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullSupplier": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "供应商", | |
"operationId": "Business_PullSupplier", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/SupplierInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/SupplierOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullEmp": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "职员", | |
"operationId": "Business_PullEmp", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/EmpInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/EmpOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullUnit": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "单位", | |
"operationId": "Business_PullUnit", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/UnitInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/UnitOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullDepartment": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "部门", | |
"operationId": "Business_PullUnit", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/DepartmentInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/DepartmentOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullStock": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "仓库", | |
"operationId": "Business_PullUnit", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/StockInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/StockOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullStockPlace": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "仓位", | |
"operationId": "Business_PullUnit", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/StockPlaceInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/StockPlaceOutput" } | |
} | |
} | |
} | |
}, | |
"/business/pullItem": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "物料", | |
"operationId": "Business_PullItem", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/ItemInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/ItemOutput" } | |
} | |
} | |
} | |
}, | |
"/business/nowTime": { | |
"get": { | |
"tags": ["Business"], | |
"summary": "获取K3适配器服务当前时间", | |
"operationId": "Business_NowTime", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/business/test": { | |
"post": { | |
"tags": ["Business"], | |
"summary": "这个是测试用", | |
"operationId": "Business_test", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/BaseInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Output" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/zpStockBill": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "虚仓入库单", | |
"operationId": "DataCreate_ZpStockBill", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[ZpStockBill_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/zpStockBill2": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "虚仓出库单", | |
"operationId": "DataCreate_ZpStockBill2", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[ZpStockBill2_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill24": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "生产领料单", | |
"operationId": "DataCreate_IcStockBill24", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill24_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/IcItemScrap": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "生产物料报废/补料单", | |
"operationId": "DataCreate_IcItemScrap", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcItemScrap_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill2": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "产品入库单", | |
"operationId": "DataCreate_IcStockBill2", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill2_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill1": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "外购入库单", | |
"operationId": "DataCreate_IcStockBill1", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill1_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill5": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "委外加工入库单", | |
"operationId": "DataCreate_IcStockBill5", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill5_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill28": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "委外加工出库单", | |
"operationId": "DataCreate_IcStockBill28", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill28_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill21": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "销售出库单", | |
"operationId": "DataCreate_IcStockBill21", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill21_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill41": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "调拨单", | |
"operationId": "DataCreate_IcStockBill41", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill41_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill10": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "其他入库", | |
"operationId": "DataCreate_IcStockBill10", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill10_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataCreate/icStockBill29": { | |
"post": { | |
"tags": ["DataCreate"], | |
"summary": "其他出库单", | |
"operationId": "DataCreate_IcStockBill29", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcStockBill29_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/icmo": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "生产订单", | |
"operationId": "DataQuery_Icmo", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/IcmoInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/IcmoOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/ppbom": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "生产投料单", | |
"operationId": "DataQuery_Ppbom", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/PpbomInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/PpbomOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/poInStock": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "收料通知单", | |
"operationId": "DataQuery_PoInStock", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/PoInstockInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/PoInstockOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/ppbom2": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "委外投料单", | |
"operationId": "DataQuery_Ppbom2", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/PpbomInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/PpbomOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/poInStock2": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "退料通知单", | |
"operationId": "DataQuery_PoInStock2", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/PoInstockInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/PoInstockOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/seOutStock": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "发货通知单", | |
"operationId": "DataQuery_SeOutStock", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/SeOutStockInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/SeOutStockOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/seOutStock2": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "退货通知单", | |
"operationId": "DataQuery_SeOutStock2", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/SeOutStockInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/SeOutStockOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/IcInvBackup": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "盘点", | |
"operationId": "DataQuery_IcInvBackup", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/IcInvBackupInput" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/IcInvBackupOutput" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/IcStockBill40": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "盘盈单", | |
"operationId": "DataQuery_IcStockBill40", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/IcStockBill40Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/IcStockBill40Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/IcStockBill43": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "盘亏单", | |
"operationId": "DataQuery_IcStockBill43", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"required": true, | |
"schema": { "$ref": "#/definitions/IcStockBill43Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/IcStockBill43Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/organization": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "客户", | |
"operationId": "DataQuery_Organization", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Organization_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Organization_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/supplier": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "供应商", | |
"operationId": "DataQuery_Supplier", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Supplier_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Supplier_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/emp": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "职员", | |
"operationId": "DataQuery_Emp", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Emp_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Emp_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/unit": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "单位", | |
"operationId": "DataQuery_Unit", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Unit_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Unit_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/department": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "部门", | |
"operationId": "DataQuery_Unit", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Department_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Department_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/item": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "物料", | |
"operationId": "DataQuery_Item", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Item_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Item_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/stock": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "仓库", | |
"operationId": "DataQuery_Stock", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/Stock_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/Stock_Output" } | |
} | |
} | |
} | |
}, | |
"/dataQuery/stockPlace": { | |
"post": { | |
"tags": ["DataQuery"], | |
"summary": "仓位", | |
"operationId": "DataQuery_StockPlace", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { "$ref": "#/definitions/StockPlace_Input" } | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/StockPlace_Output" } | |
} | |
} | |
} | |
}, | |
"/dataUpdate/icInvBackup": { | |
"post": { | |
"tags": ["DataUpdate"], | |
"summary": "盘点", | |
"operationId": "DataUpdate_IcInvBackup", | |
"consumes": ["application/json", "text/json"], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "input", | |
"in": "body", | |
"description": "", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/DataCreateInput[IcInvBackup_Info]" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "$ref": "#/definitions/BaseOutput" } | |
} | |
} | |
} | |
}, | |
"/api/Values": { | |
"get": { | |
"tags": ["Values"], | |
"operationId": "Values_Get", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"responses": { | |
"200": { | |
"description": "OK", | |
"schema": { "type": "array", "items": { "type": "string" } } | |
} | |
} | |
}, | |
"post": { | |
"tags": ["Values"], | |
"operationId": "Values_Post", | |
"consumes": ["application/json", "text/json"], | |
"produces": [], | |
"parameters": [ | |
{ | |
"name": "value", | |
"in": "body", | |
"required": true, | |
"schema": { "type": "string" } | |
} | |
], | |
"responses": { "204": { "description": "No Content" } } | |
} | |
}, | |
"/api/Values/{id}": { | |
"get": { | |
"tags": ["Values"], | |
"operationId": "Values_Get", | |
"consumes": [], | |
"produces": ["application/json", "text/json"], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"type": "integer", | |
"format": "int32" | |
} | |
], | |
"responses": { | |
"200": { "description": "OK", "schema": { "type": "string" } } | |
} | |
}, | |
"put": { | |
"tags": ["Values"], | |
"operationId": "Values_Put", | |
"consumes": ["application/json", "text/json"], | |
"produces": [], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"type": "integer", | |
"format": "int32" | |
}, | |
{ | |
"name": "value", | |
"in": "body", | |
"required": true, | |
"schema": { "type": "string" } | |
} | |
], | |
"responses": { "204": { "description": "No Content" } } | |
}, | |
"delete": { | |
"tags": ["Values"], | |
"operationId": "Values_Delete", | |
"consumes": [], | |
"produces": [], | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"type": "integer", | |
"format": "int32" | |
} | |
], | |
"responses": { "204": { "description": "No Content" } } | |
} | |
} | |
}, | |
"definitions": { | |
"SaveBillInput": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/K3WiseCommitInfo", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"K3WiseCommitInfo": { | |
"type": "object", | |
"properties": { "commitData": { "type": "string" } } | |
}, | |
"BaseOutput": { | |
"description": "返回结构", | |
"type": "object", | |
"properties": { | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"CheckBillInput": { | |
"description": "审核入参", | |
"required": ["billKey", "billId", "accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"billKey": { "description": "单据Key", "type": "string" }, | |
"billId": { "description": "单据内码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"QueryDataInput": { | |
"description": "查询Sql入参", | |
"required": ["sql", "accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"sql": { "description": "查询语句", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"QueryInventryInput": { | |
"description": "查询库存", | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"itemNumber": { "description": "物料代码", "type": "string" }, | |
"stockNumber": { "description": "仓库代码", "type": "string" }, | |
"stockLocNumber": { "description": "仓位代码", "type": "string" }, | |
"batchNo": { "description": "批号", "type": "string" }, | |
"produceDate": { | |
"format": "date-time", | |
"description": "生产日期", | |
"type": "string" | |
}, | |
"expPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"auxPropNumber": { "description": "辅助属性代码", "type": "string" }, | |
"supplyNumber": { "description": "供应商代码", "type": "string" }, | |
"mtoNo": { "description": "计划跟踪号", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"SaveStockCountInput": { | |
"description": "保存入参", | |
"required": ["commitObject", "accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"isNew": { "description": "是否第一次提交盘点", "type": "boolean" }, | |
"commitObject": { | |
"$ref": "#/definitions/K3WiseCommitInfo", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"ResetStockCountInput": { | |
"description": "重置盘点单参数", | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"billId": { "description": "盘点单Id", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"OrganizationInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"OrganizationOutput": { | |
"description": "客户", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/OrganizationInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"OrganizationInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fPhone": { "description": "电话", "type": "string" }, | |
"fAddress": { "description": "地址", "type": "string" }, | |
"fContact": { "description": "联系人", "type": "string" }, | |
"fTaxNum": { "description": "传真", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"SupplierInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"SupplierOutput": { | |
"description": "供应商", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/SupplierInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"SupplierInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fPhone": { "description": "电话", "type": "string" }, | |
"fAddress": { "description": "地址", "type": "string" }, | |
"fContact": { "description": "联系人", "type": "string" }, | |
"fTaxNum": { "description": "传真", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"EmpInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"EmpOutput": { | |
"description": "职员", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/EmpInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"EmpInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"UnitInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"UnitOutput": { | |
"description": "单位", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/UnitInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"UnitInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"DepartmentInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"DepartmentOutput": { | |
"description": "部门", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/DepartmentInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"DepartmentInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"StockInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"StockOutput": { | |
"description": "仓库", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/StockInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"StockInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fSpGroupId": { | |
"format": "int32", | |
"description": "仓位组", | |
"type": "integer" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"StockPlaceInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"StockPlaceOutput": { | |
"description": "仓位", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/StockPlaceInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"StockPlaceInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fSpGroupId": { | |
"format": "int32", | |
"description": "仓位组", | |
"type": "integer" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"ItemInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"ItemOutput": { | |
"description": "单位", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/ItemInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"ItemInfo": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "物料内码", "type": "string" }, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fIsSnManage": { "description": "是否启用SN管理", "type": "boolean" }, | |
"fBatchManager": { | |
"description": "是否采用业务批次管理", | |
"type": "boolean" | |
}, | |
"fIsKfPeriod": { | |
"description": "是否进行保质期管理", | |
"type": "boolean" | |
}, | |
"fKfPeriod": { | |
"format": "double", | |
"description": "保质期(天)", | |
"type": "number" | |
}, | |
"fStockId": { | |
"format": "int32", | |
"description": "默认仓库内码", | |
"type": "integer" | |
}, | |
"fStockNumber": { "description": "默认仓库编码", "type": "string" }, | |
"fStockName": { "description": "默认仓库名称", "type": "string" }, | |
"fSpId": { | |
"format": "int32", | |
"description": "默认仓位内码", | |
"type": "integer" | |
}, | |
"fSpNumber": { "description": "默认仓位编码", "type": "string" }, | |
"fSpName": { "description": "默认仓位名称", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"BaseInput": { | |
"description": "入参基类,入参必填[账套id, 用户, 密码]", | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Output": { | |
"description": "出参", | |
"type": "object", | |
"properties": { | |
"data": { "description": "返回数据", "type": "object" }, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"DataCreateInput[ZpStockBill_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/ZpStockBill_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"ZpStockBill_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/ZpStockBillDetail_Info" } | |
} | |
} | |
}, | |
"ZpStockBillDetail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[ZpStockBill2_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/ZpStockBill2_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"ZpStockBill2_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/ZpStockBillDetail2_Info" } | |
} | |
} | |
}, | |
"ZpStockBillDetail2_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill24_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill24_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill24_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fDeptID": { | |
"format": "int32", | |
"description": "领料部门Id", | |
"type": "integer" | |
}, | |
"fPurposeID": { | |
"format": "int32", | |
"description": "领料类型", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill24Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill24Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fscStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcItemScrap_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcItemScrap_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcItemScrap_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fTypeID": { | |
"format": "int32", | |
"description": "类型", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcItemScrapDetail_Info" } | |
} | |
} | |
}, | |
"IcItemScrapDetail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "报废数量", | |
"type": "number" | |
}, | |
"fAuxQtySupply": { | |
"format": "double", | |
"description": "补料数量", | |
"type": "number" | |
}, | |
"fScrapReason": { "description": "报废原因", "type": "string" }, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill2_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill2_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill2_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill2Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill2Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill1_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill1_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill1_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"fpoMode": { | |
"format": "int32", | |
"description": "采购模式", | |
"type": "integer" | |
}, | |
"fpoStyle": { | |
"format": "int32", | |
"description": "采购方式", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill1Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill1Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fChkPassItem": { "description": "检验是否良品", "type": "boolean" }, | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fPlanMode": { | |
"format": "int32", | |
"description": "计划模式", | |
"type": "integer" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill5_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill5_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill5_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "加工单位Id", | |
"type": "integer" | |
}, | |
"fPurposeID": { | |
"format": "int32", | |
"description": "委外类型", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill5Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill5Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill28_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill28_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill28_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "加工单位Id", | |
"type": "integer" | |
}, | |
"fPurposeID": { | |
"format": "int32", | |
"description": "委外类型", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill28Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill28Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill21_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill21_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill21_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "购货单位Id", | |
"type": "integer" | |
}, | |
"fMarketingStyle": { | |
"format": "int32", | |
"description": "销售业务类型", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill21Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill21Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill41_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill41_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill41_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fRefType": { | |
"format": "int32", | |
"description": "调拔类型", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill41Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill41Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fscspid": { | |
"format": "int32", | |
"description": "调出仓位Id", | |
"type": "integer" | |
}, | |
"fscStockID": { | |
"format": "int32", | |
"description": "调出仓库Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "调入仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "调入仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill10_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill10_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill10_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fDeptID": { | |
"format": "int32", | |
"description": "部门Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill10Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill10Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"DataCreateInput[IcStockBill29_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcStockBill29_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill29_Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"ffManagerID": { | |
"format": "int32", | |
"description": "验收人Id", | |
"type": "integer" | |
}, | |
"fsManagerID": { | |
"format": "int32", | |
"description": "保管人Id", | |
"type": "integer" | |
}, | |
"fDeptID": { | |
"format": "int32", | |
"description": "部门Id", | |
"type": "integer" | |
}, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"details": { | |
"description": "明细集合", | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill29Detail_Info" } | |
} | |
} | |
}, | |
"IcStockBill29Detail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fSourceInterId": { | |
"format": "int32", | |
"description": "源单内码", | |
"type": "integer" | |
}, | |
"fSourceTranType": { | |
"format": "int32", | |
"description": "源单类型", | |
"type": "integer" | |
}, | |
"fSourceEntryId": { | |
"format": "int32", | |
"description": "源单分录", | |
"type": "integer" | |
}, | |
"fSourceBillNo": { "description": "源单单号", "type": "string" } | |
} | |
}, | |
"IcmoInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCheckDateBegin": { | |
"format": "date-time", | |
"description": "制单时间开始", | |
"type": "string" | |
}, | |
"fCheckDateEnd": { | |
"format": "date-time", | |
"description": "制单时间结束", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcmoOutput": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcmoInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"IcmoInfo": { | |
"type": "object", | |
"properties": { | |
"fCheckDate": { | |
"format": "date-time", | |
"description": "制单日期", | |
"type": "string" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fgmpBatchNo": { "description": "批号", "type": "string" }, | |
"fWorkShop": { | |
"format": "int32", | |
"description": "生产车间Id", | |
"type": "integer" | |
}, | |
"fWorkShopNumber": { "description": "生产车间编码", "type": "string" }, | |
"fWorkShopName": { "description": "生产车间名称", "type": "string" }, | |
"fAuxQty": { | |
"format": "double", | |
"description": "计划生产数量", | |
"type": "number" | |
}, | |
"fPlanCommitDate": { | |
"format": "date-time", | |
"description": "计划开工日期", | |
"type": "string" | |
}, | |
"fPlanFinishDate": { | |
"format": "date-time", | |
"description": "计划完工日期", | |
"type": "string" | |
}, | |
"fStatus": { | |
"format": "int32", | |
"description": "单据状态", | |
"type": "integer" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"PpbomInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fDateBegin": { | |
"format": "date-time", | |
"description": "日期开始", | |
"type": "string" | |
}, | |
"fDateEnd": { | |
"format": "date-time", | |
"description": "日期结束", | |
"type": "string" | |
}, | |
"fCheckDateBegin": { | |
"format": "date-time", | |
"description": "审核时间开始", | |
"type": "string" | |
}, | |
"fCheckDateEnd": { | |
"format": "date-time", | |
"description": "审核时间结束", | |
"type": "string" | |
}, | |
"ficmoBillNo": { "description": "生产订单编号", "type": "string" }, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"PpbomOutput": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/PpbomInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"PpbomInfo": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fCheckDate": { | |
"format": "date-time", | |
"description": "审核日期", | |
"type": "string" | |
}, | |
"fEntryID": { | |
"format": "int32", | |
"description": "行号", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fAuxQtyMust": { | |
"format": "double", | |
"description": "计划投料数量", | |
"type": "number" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"ficmoInterID": { "description": "生产订单Id", "type": "string" }, | |
"ficmoBillNo": { "description": "生产订单编号", "type": "string" }, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"PoInstockInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fDateBegin": { | |
"format": "date-time", | |
"description": "日期开始", | |
"type": "string" | |
}, | |
"fDateEnd": { | |
"format": "date-time", | |
"description": "日期结束", | |
"type": "string" | |
}, | |
"fCheckDateBegin": { | |
"format": "date-time", | |
"description": "审核时间开始", | |
"type": "string" | |
}, | |
"fCheckDateEnd": { | |
"format": "date-time", | |
"description": "审核时间结束", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"PoInstockOutput": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/PoInstockInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"PoInstockInfo": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fCheckDate": { | |
"format": "date-time", | |
"description": "审核日期", | |
"type": "string" | |
}, | |
"fDeptID": { | |
"format": "int32", | |
"description": "部门Id", | |
"type": "integer" | |
}, | |
"fDeptNumber": { "description": "部门编码", "type": "string" }, | |
"fDeptName": { "description": "部门名称", "type": "string" }, | |
"fSupplyID": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"fSupplyNumber": { "description": "供应商编码", "type": "string" }, | |
"fSupplyName": { "description": "供应商名称", "type": "string" }, | |
"fEntryID": { | |
"format": "int32", | |
"description": "行号", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fStockID": { | |
"format": "int32", | |
"description": "收料仓库Id", | |
"type": "integer" | |
}, | |
"fStockNumber": { | |
"format": "int32", | |
"description": "收料仓库编码", | |
"type": "integer" | |
}, | |
"fStockName": { | |
"format": "int32", | |
"description": "收料仓库名称", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcspNumber": { | |
"format": "int32", | |
"description": "仓位编码", | |
"type": "integer" | |
}, | |
"fdcspName": { | |
"format": "int32", | |
"description": "仓位名称", | |
"type": "integer" | |
}, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fPeriodDate": { | |
"format": "date-time", | |
"description": "有效期", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"SeOutStockInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fDateBegin": { | |
"format": "date-time", | |
"description": "日期开始", | |
"type": "string" | |
}, | |
"fDateEnd": { | |
"format": "date-time", | |
"description": "日期结束", | |
"type": "string" | |
}, | |
"fCheckDateBegin": { | |
"format": "date-time", | |
"description": "审核时间开始", | |
"type": "string" | |
}, | |
"fCheckDateEnd": { | |
"format": "date-time", | |
"description": "审核时间结束", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"SeOutStockOutput": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/SeOutStockInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"SeOutStockInfo": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fCheckDate": { | |
"format": "date-time", | |
"description": "审核日期", | |
"type": "string" | |
}, | |
"fDeptID": { | |
"format": "int32", | |
"description": "部门Id", | |
"type": "integer" | |
}, | |
"fDeptNumber": { "description": "部门编码", "type": "string" }, | |
"fDeptName": { "description": "部门名称", "type": "string" }, | |
"fCustID": { | |
"format": "int32", | |
"description": "客户Id", | |
"type": "integer" | |
}, | |
"fCustNumber": { "description": "客户编码", "type": "string" }, | |
"fCustName": { "description": "客户名称", "type": "string" }, | |
"fEntryID": { | |
"format": "int32", | |
"description": "行号", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fStockNumber": { | |
"format": "int32", | |
"description": "仓库编码", | |
"type": "integer" | |
}, | |
"fStockName": { | |
"format": "int32", | |
"description": "仓库名称", | |
"type": "integer" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"IcInvBackupInput": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fDateBegin": { | |
"format": "date-time", | |
"description": "日期开始", | |
"type": "string" | |
}, | |
"fDateEnd": { | |
"format": "date-time", | |
"description": "日期结束", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcInvBackupOutput": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockCheckProcessInfo" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"IcStockCheckProcessInfo": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fStockNumber": { | |
"format": "int32", | |
"description": "仓库编码", | |
"type": "integer" | |
}, | |
"fStockName": { | |
"format": "int32", | |
"description": "仓库名称", | |
"type": "integer" | |
}, | |
"fStockPlaceID": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fStockPlaceNumber": { | |
"format": "int32", | |
"description": "仓位编码", | |
"type": "integer" | |
}, | |
"fStockPlaceName": { | |
"format": "int32", | |
"description": "仓位名称", | |
"type": "integer" | |
}, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"IcStockBill40Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fDateBegin": { | |
"format": "date-time", | |
"description": "日期开始", | |
"type": "string" | |
}, | |
"fDateEnd": { | |
"format": "date-time", | |
"description": "日期结束", | |
"type": "string" | |
}, | |
"fCheckDateBegin": { | |
"format": "date-time", | |
"description": "审核时间开始", | |
"type": "string" | |
}, | |
"fCheckDateEnd": { | |
"format": "date-time", | |
"description": "审核时间结束", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill40Output": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill40Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"IcStockBill40Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fCheckDate": { | |
"format": "date-time", | |
"description": "审核日期", | |
"type": "string" | |
}, | |
"fEntryID": { | |
"format": "int32", | |
"description": "行号", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fdcStockNumber": { | |
"format": "int32", | |
"description": "仓库编码", | |
"type": "integer" | |
}, | |
"fdcStockName": { | |
"format": "int32", | |
"description": "仓库名称", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcspNumber": { | |
"format": "int32", | |
"description": "仓位编码", | |
"type": "integer" | |
}, | |
"fdcspName": { | |
"format": "int32", | |
"description": "仓位名称", | |
"type": "integer" | |
}, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fPeriodDate": { | |
"format": "date-time", | |
"description": "有效期", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"IcStockBill43Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fDateBegin": { | |
"format": "date-time", | |
"description": "日期开始", | |
"type": "string" | |
}, | |
"fDateEnd": { | |
"format": "date-time", | |
"description": "日期结束", | |
"type": "string" | |
}, | |
"fCheckDateBegin": { | |
"format": "date-time", | |
"description": "审核时间开始", | |
"type": "string" | |
}, | |
"fCheckDateEnd": { | |
"format": "date-time", | |
"description": "审核时间结束", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" }, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcStockBill43Output": { | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcStockBill43Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"IcStockBill43Info": { | |
"type": "object", | |
"properties": { | |
"fDate": { | |
"format": "date-time", | |
"description": "日期", | |
"type": "string" | |
}, | |
"fCheckDate": { | |
"format": "date-time", | |
"description": "审核日期", | |
"type": "string" | |
}, | |
"fEntryID": { | |
"format": "int32", | |
"description": "行号", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fItemModel": { "description": "规格型号", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fdcStockID": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fdcStockNumber": { | |
"format": "int32", | |
"description": "仓库编码", | |
"type": "integer" | |
}, | |
"fdcStockName": { | |
"format": "int32", | |
"description": "仓库名称", | |
"type": "integer" | |
}, | |
"fdcspid": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fdcspNumber": { | |
"format": "int32", | |
"description": "仓位编码", | |
"type": "integer" | |
}, | |
"fdcspName": { | |
"format": "int32", | |
"description": "仓位名称", | |
"type": "integer" | |
}, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fPeriodDate": { | |
"format": "date-time", | |
"description": "有效期", | |
"type": "string" | |
}, | |
"fInterId": { "description": "内码", "type": "string" }, | |
"fBillNo": { "description": "编码", "type": "string" } | |
} | |
}, | |
"Organization_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCreateDateBegin": { | |
"format": "date-time", | |
"description": "创建时间开始", | |
"type": "string" | |
}, | |
"fCreateDateEnd": { | |
"format": "date-time", | |
"description": "创建时间结束", | |
"type": "string" | |
}, | |
"fLastModDateBegin": { | |
"format": "date-time", | |
"description": "修改时间开始", | |
"type": "string" | |
}, | |
"fLastModDateEnd": { | |
"format": "date-time", | |
"description": "修改时间结束", | |
"type": "string" | |
}, | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Organization_Output": { | |
"description": "客户", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Organization_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Organization_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fPhone": { "description": "电话", "type": "string" }, | |
"fAddress": { "description": "地址", "type": "string" }, | |
"fContact": { "description": "联系人", "type": "string" }, | |
"fTaxNum": { "description": "传真", "type": "string" }, | |
"fCreateDate": { | |
"format": "date-time", | |
"description": "创建时间", | |
"type": "string" | |
}, | |
"fLastModDate": { | |
"format": "date-time", | |
"description": "修改时间", | |
"type": "string" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"Supplier_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCreateDateBegin": { | |
"format": "date-time", | |
"description": "创建时间开始", | |
"type": "string" | |
}, | |
"fCreateDateEnd": { | |
"format": "date-time", | |
"description": "创建时间结束", | |
"type": "string" | |
}, | |
"fLastModDateBegin": { | |
"format": "date-time", | |
"description": "修改时间开始", | |
"type": "string" | |
}, | |
"fLastModDateEnd": { | |
"format": "date-time", | |
"description": "修改时间结束", | |
"type": "string" | |
}, | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Supplier_Output": { | |
"description": "供应商", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Supplier_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Supplier_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fPhone": { "description": "电话", "type": "string" }, | |
"fAddress": { "description": "地址", "type": "string" }, | |
"fContact": { "description": "联系人", "type": "string" }, | |
"fTaxNum": { "description": "传真", "type": "string" }, | |
"fCreateDate": { | |
"format": "date-time", | |
"description": "创建时间", | |
"type": "string" | |
}, | |
"fLastModDate": { | |
"format": "date-time", | |
"description": "修改时间", | |
"type": "string" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"Emp_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCreateDateBegin": { | |
"format": "date-time", | |
"description": "创建时间开始", | |
"type": "string" | |
}, | |
"fCreateDateEnd": { | |
"format": "date-time", | |
"description": "创建时间结束", | |
"type": "string" | |
}, | |
"fLastModDateBegin": { | |
"format": "date-time", | |
"description": "修改时间开始", | |
"type": "string" | |
}, | |
"fLastModDateEnd": { | |
"format": "date-time", | |
"description": "修改时间结束", | |
"type": "string" | |
}, | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Emp_Output": { | |
"description": "职员", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Emp_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Emp_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fCreateDate": { | |
"format": "date-time", | |
"description": "创建时间", | |
"type": "string" | |
}, | |
"fLastModDate": { | |
"format": "date-time", | |
"description": "修改时间", | |
"type": "string" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"Unit_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Unit_Output": { | |
"description": "单位", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Unit_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Unit_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"Department_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCreateDateBegin": { | |
"format": "date-time", | |
"description": "创建时间开始", | |
"type": "string" | |
}, | |
"fCreateDateEnd": { | |
"format": "date-time", | |
"description": "创建时间结束", | |
"type": "string" | |
}, | |
"fLastModDateBegin": { | |
"format": "date-time", | |
"description": "修改时间开始", | |
"type": "string" | |
}, | |
"fLastModDateEnd": { | |
"format": "date-time", | |
"description": "修改时间结束", | |
"type": "string" | |
}, | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Department_Output": { | |
"description": "部门", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Department_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Department_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fCreateDate": { | |
"format": "date-time", | |
"description": "创建时间", | |
"type": "string" | |
}, | |
"fLastModDate": { | |
"format": "date-time", | |
"description": "修改时间", | |
"type": "string" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"Item_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCreateDateBegin": { | |
"format": "date-time", | |
"description": "创建时间开始", | |
"type": "string" | |
}, | |
"fCreateDateEnd": { | |
"format": "date-time", | |
"description": "创建时间结束", | |
"type": "string" | |
}, | |
"fLastModDateBegin": { | |
"format": "date-time", | |
"description": "修改时间开始", | |
"type": "string" | |
}, | |
"fLastModDateEnd": { | |
"format": "date-time", | |
"description": "修改时间结束", | |
"type": "string" | |
}, | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Item_Output": { | |
"description": "单位", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Item_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Item_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "物料内码", "type": "string" }, | |
"fItemNumber": { "description": "物料编码", "type": "string" }, | |
"fItemName": { "description": "物料名称", "type": "string" }, | |
"fIsSnManage": { "description": "是否启用SN管理", "type": "boolean" }, | |
"fBatchManager": { | |
"description": "是否采用业务批次管理", | |
"type": "boolean" | |
}, | |
"fIsKfPeriod": { | |
"description": "是否进行保质期管理", | |
"type": "boolean" | |
}, | |
"fKfPeriod": { | |
"format": "double", | |
"description": "保质期(天)", | |
"type": "number" | |
}, | |
"fStockId": { | |
"format": "int32", | |
"description": "默认仓库内码", | |
"type": "integer" | |
}, | |
"fStockNumber": { "description": "默认仓库编码", "type": "string" }, | |
"fStockName": { "description": "默认仓库名称", "type": "string" }, | |
"fSpId": { | |
"format": "int32", | |
"description": "默认仓位内码", | |
"type": "integer" | |
}, | |
"fSpNumber": { "description": "默认仓位编码", "type": "string" }, | |
"fSpName": { "description": "默认仓位名称", "type": "string" }, | |
"fUnitId": { | |
"format": "int32", | |
"description": "计量单位内码", | |
"type": "integer" | |
}, | |
"fUnitNumber": { "description": "计量单位编码", "type": "string" }, | |
"fUnitName": { "description": "计量单位名称", "type": "string" }, | |
"fCreateDate": { | |
"format": "date-time", | |
"description": "创建时间", | |
"type": "string" | |
}, | |
"fLastModDate": { | |
"format": "date-time", | |
"description": "修改时间", | |
"type": "string" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"Stock_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fCreateDateBegin": { | |
"format": "date-time", | |
"description": "创建时间开始", | |
"type": "string" | |
}, | |
"fCreateDateEnd": { | |
"format": "date-time", | |
"description": "创建时间结束", | |
"type": "string" | |
}, | |
"fLastModDateBegin": { | |
"format": "date-time", | |
"description": "修改时间开始", | |
"type": "string" | |
}, | |
"fLastModDateEnd": { | |
"format": "date-time", | |
"description": "修改时间结束", | |
"type": "string" | |
}, | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"Stock_Output": { | |
"description": "仓库", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/Stock_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"Stock_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fSpGroupId": { | |
"format": "int32", | |
"description": "仓位组", | |
"type": "integer" | |
}, | |
"fCreateDate": { | |
"format": "date-time", | |
"description": "创建时间", | |
"type": "string" | |
}, | |
"fLastModDate": { | |
"format": "date-time", | |
"description": "修改时间", | |
"type": "string" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"StockPlace_Input": { | |
"required": ["accountNumber", "userName"], | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳", | |
"type": "integer" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"StockPlace_Output": { | |
"description": "仓位", | |
"type": "object", | |
"properties": { | |
"data": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/StockPlace_Info" } | |
}, | |
"code": { | |
"format": "int32", | |
"description": "返回码\r\n0 - 成功 其它失败", | |
"type": "integer" | |
}, | |
"message": { "description": "错误信息", "type": "string" } | |
} | |
}, | |
"StockPlace_Info": { | |
"description": "", | |
"type": "object", | |
"properties": { | |
"fItemId": { "description": "内码", "type": "string" }, | |
"fNumber": { "description": "编码", "type": "string" }, | |
"fName": { "description": "名称", "type": "string" }, | |
"fSpGroupId": { | |
"format": "int32", | |
"description": "仓位组", | |
"type": "integer" | |
}, | |
"fModifyTime": { | |
"format": "int64", | |
"description": "时间戳(非标准时间戳,MSSQL的timestamp)", | |
"type": "integer" | |
}, | |
"fDeleted": { "description": "是否可用", "type": "boolean" } | |
} | |
}, | |
"DataCreateInput[IcInvBackup_Info]": { | |
"description": "保存入参", | |
"required": [ | |
"sourceBillKey", | |
"destBillKey", | |
"rob", | |
"commitObject", | |
"accountNumber", | |
"userName" | |
], | |
"type": "object", | |
"properties": { | |
"sourceBillKey": { "description": "源单Key", "type": "string" }, | |
"destBillKey": { "description": "目标单Key", "type": "string" }, | |
"rob": { | |
"format": "int32", | |
"description": "红蓝单标记 1-蓝 -1-红", | |
"type": "integer" | |
}, | |
"commitObject": { | |
"$ref": "#/definitions/IcInvBackup_Info", | |
"description": "提交结构" | |
}, | |
"accountNumber": { "description": "账套编码", "type": "string" }, | |
"userName": { "description": "登录用户", "type": "string" }, | |
"password": { "description": "登录密码", "type": "string" } | |
} | |
}, | |
"IcInvBackup_Info": { | |
"type": "object", | |
"properties": { | |
"fInterId": { | |
"format": "int32", | |
"description": "内码", | |
"type": "integer" | |
}, | |
"fProcessID": { "description": "单据编号", "type": "string" }, | |
"details": { | |
"type": "array", | |
"items": { "$ref": "#/definitions/IcInvBackupDetail_Info" } | |
} | |
} | |
}, | |
"IcInvBackupDetail_Info": { | |
"type": "object", | |
"properties": { | |
"fAuxPropID": { | |
"format": "int32", | |
"description": "辅助属性Id", | |
"type": "integer" | |
}, | |
"fItemId": { | |
"format": "int32", | |
"description": "物料Id", | |
"type": "integer" | |
}, | |
"fBrNo": { "description": "", "type": "string" }, | |
"fBatchNo": { "description": "批号", "type": "string" }, | |
"fmtoNo": { "description": "", "type": "string" }, | |
"fStockId": { | |
"format": "int32", | |
"description": "仓位Id", | |
"type": "integer" | |
}, | |
"fStockPlaceId": { | |
"format": "int32", | |
"description": "仓库Id", | |
"type": "integer" | |
}, | |
"fkfDate": { | |
"format": "date-time", | |
"description": "生产/采购日期", | |
"type": "string" | |
}, | |
"fkfPeriod": { | |
"format": "int32", | |
"description": "保质期(天)", | |
"type": "integer" | |
}, | |
"fUnitID": { | |
"format": "int32", | |
"description": "单位Id", | |
"type": "integer" | |
}, | |
"fSecUnitId": { | |
"format": "int32", | |
"description": "辅助单位Id", | |
"type": "integer" | |
}, | |
"fSupplyId": { | |
"format": "int32", | |
"description": "供应商Id", | |
"type": "integer" | |
}, | |
"fAuxQty": { | |
"format": "double", | |
"description": "数量", | |
"type": "number" | |
}, | |
"fAuxCheckQty": { | |
"format": "double", | |
"description": "盘点数量", | |
"type": "number" | |
}, | |
"fTranType": { | |
"format": "int32", | |
"description": "", | |
"type": "integer" | |
}, | |
"fCoefficient": { | |
"format": "double", | |
"description": "换算率", | |
"type": "number" | |
}, | |
"fSecCoefficient": { | |
"format": "double", | |
"description": "辅助换算率", | |
"type": "number" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment