| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/product/getProductOrderInfo/{number}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "产品" |
| | | ], |
| | | "summary": "获取产品订单信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "明细编码", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/product.WorkOrderInfo" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/product/info": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/createOperation": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "创建产品出库信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SalesDetails" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/getProductInventoryInfo/{number}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "获取产品库存信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "明细编码", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/list": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "更新销售明细", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSalesDetails" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "更新销售明细状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "SalesDetailsKeywordTypeProductName" |
| | | ] |
| | | }, |
| | | "constvar.SalesDetailsStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | ], |
| | | "x-enum-comments": { |
| | | "OverCLose": "已关闭", |
| | | "OverOutbound": "出库完成", |
| | | "WaitConfirmed": "待确认", |
| | | "WaitOutbound": "待出库" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "WaitConfirmed", |
| | | "WaitOutbound", |
| | | "OverOutbound", |
| | | "OverCLose" |
| | | ] |
| | | }, |
| | | "constvar.SalesRefundKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsStatus" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "Unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "product.WorkOrderInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "EndTime": { |
| | | "type": "string" |
| | | }, |
| | | "OrderId": { |
| | | "type": "string" |
| | | }, |
| | | "OrderStatus": { |
| | | "type": "string" |
| | | }, |
| | | "ProductName": { |
| | | "type": "string" |
| | | }, |
| | | "StartTime": { |
| | | "type": "string" |
| | | }, |
| | | "WorkOrderId": { |
| | | "type": "string" |
| | | }, |
| | | "WorkOrderStatus": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsStatus" |
| | | }, |
| | | "wechatOrderStatusId": { |
| | | "type": "integer" |
| | |
| | | "$ref": "#/definitions/constvar.SalesDetailsKeywordType" |
| | | }, |
| | | "number": { |
| | | "description": "销售子单号", |
| | | "description": "销售明细单号", |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsStatus" |
| | | }, |
| | | "wechatOrderStatusId": { |
| | | "type": "integer" |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/product/getProductOrderInfo/{number}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "产品" |
| | | ], |
| | | "summary": "获取产品订单信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "明细编码", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/product.WorkOrderInfo" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/product/info": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/createOperation": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "创建产品出库信息", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SalesDetails" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/getProductInventoryInfo/{number}": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "获取产品库存信息", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "明细编码", |
| | | "name": "number", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/list": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "更新销售明细", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateSalesDetails" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails" |
| | | ], |
| | | "summary": "更新销售明细状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "SalesDetailsKeywordTypeProductName" |
| | | ] |
| | | }, |
| | | "constvar.SalesDetailsStatus": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | ], |
| | | "x-enum-comments": { |
| | | "OverCLose": "已关闭", |
| | | "OverOutbound": "出库完成", |
| | | "WaitConfirmed": "待确认", |
| | | "WaitOutbound": "待出库" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "WaitConfirmed", |
| | | "WaitOutbound", |
| | | "OverOutbound", |
| | | "OverCLose" |
| | | ] |
| | | }, |
| | | "constvar.SalesRefundKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsStatus" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "Unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "product.WorkOrderInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | | "EndTime": { |
| | | "type": "string" |
| | | }, |
| | | "OrderId": { |
| | | "type": "string" |
| | | }, |
| | | "OrderStatus": { |
| | | "type": "string" |
| | | }, |
| | | "ProductName": { |
| | | "type": "string" |
| | | }, |
| | | "StartTime": { |
| | | "type": "string" |
| | | }, |
| | | "WorkOrderId": { |
| | | "type": "string" |
| | | }, |
| | | "WorkOrderStatus": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsStatus" |
| | | }, |
| | | "wechatOrderStatusId": { |
| | | "type": "integer" |
| | |
| | | "$ref": "#/definitions/constvar.SalesDetailsKeywordType" |
| | | }, |
| | | "number": { |
| | | "description": "销售子单号", |
| | | "description": "销售明细单号", |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "source": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.SalesDetailsStatus" |
| | | }, |
| | | "wechatOrderStatusId": { |
| | | "type": "integer" |
| | | } |
| | |
| | | - SalesDetailsKeywordTypeSignTime |
| | | - SalesDetailsKeywordTypePrincipal |
| | | - SalesDetailsKeywordTypeProductName |
| | | constvar.SalesDetailsStatus: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | type: integer |
| | | x-enum-comments: |
| | | OverCLose: 已关闭 |
| | | OverOutbound: 出库完成 |
| | | WaitConfirmed: 待确认 |
| | | WaitOutbound: 待出库 |
| | | x-enum-varnames: |
| | | - WaitConfirmed |
| | | - WaitOutbound |
| | | - OverOutbound |
| | | - OverCLose |
| | | constvar.SalesRefundKeywordType: |
| | | enum: |
| | | - 销售退货单编号 |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | source: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | updateTime: |
| | | type: string |
| | | wechatOrderStatus: |
| | |
| | | description: 型号 |
| | | type: string |
| | | Unit: |
| | | type: string |
| | | type: object |
| | | product.WorkOrderInfo: |
| | | properties: |
| | | EndTime: |
| | | type: string |
| | | OrderId: |
| | | type: string |
| | | OrderStatus: |
| | | type: string |
| | | ProductName: |
| | | type: string |
| | | StartTime: |
| | | type: string |
| | | WorkOrderId: |
| | | type: string |
| | | WorkOrderStatus: |
| | | type: string |
| | | type: object |
| | | request.AddAccountId: |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | source: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | |
| | | keywordType: |
| | | $ref: '#/definitions/constvar.SalesDetailsKeywordType' |
| | | number: |
| | | description: 销售子单号 |
| | | description: 销售明细单号 |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | source: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.SalesDetailsStatus' |
| | | wechatOrderStatusId: |
| | | type: integer |
| | | type: object |
| | |
| | | summary: 更新优先级别 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/product/getProductOrderInfo/{number}: |
| | | get: |
| | | parameters: |
| | | - description: 明细编码 |
| | | in: path |
| | | name: number |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/product.WorkOrderInfo' |
| | | type: array |
| | | type: object |
| | | summary: 获取产品订单信息 |
| | | tags: |
| | | - 产品 |
| | | /api/product/info: |
| | | get: |
| | | parameters: |
| | |
| | | summary: 添加销售明细 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/createOperation: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SalesDetails' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 创建产品出库信息 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/delete: |
| | | delete: |
| | | parameters: |
| | |
| | | summary: 删除销售明细 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/getProductInventoryInfo/{number}: |
| | | get: |
| | | parameters: |
| | | - description: 明细编码 |
| | | in: path |
| | | name: number |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/response.ListResponse' |
| | | summary: 获取产品库存信息 |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/list: |
| | | post: |
| | | parameters: |
| | |
| | | tags: |
| | | - SalesDetails |
| | | /api/salesDetails/update: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSalesDetails' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新销售明细状态 |
| | | tags: |
| | | - SalesDetails |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |