| | |
| | | x-enum-varnames: |
| | | - RuleType_Product |
| | | - RuleType_ProductCategory |
| | | constvar.SystemConfigType: |
| | | enum: |
| | | - 1 |
| | | type: integer |
| | | x-enum-comments: |
| | | SystemConfigTypeInventoryCutOffPoint: 库存结算时间点 |
| | | x-enum-varnames: |
| | | - SystemConfigTypeInventoryCutOffPoint |
| | | constvar.WhetherType: |
| | | enum: |
| | | - 1 |
| | |
| | | autoIncr: |
| | | type: integer |
| | | barCode: |
| | | description: 创建人 |
| | | type: string |
| | | barcode: |
| | | description: 条码 |
| | | type: string |
| | | buyExplain: |
| | |
| | | description: 单位 |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | models.SystemConfig: |
| | | properties: |
| | | configType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.SystemConfigType' |
| | | description: 每月库存结算时间点 |
| | | createTime: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | name: |
| | | description: 设置名称 |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | val: |
| | | description: 设置值 |
| | | type: string |
| | | type: object |
| | | models.UnitDict: |
| | |
| | | items: |
| | | $ref: '#/definitions/request.UnitDict' |
| | | type: array |
| | | type: object |
| | | request.SystemConfig: |
| | | properties: |
| | | ID: |
| | | type: integer |
| | | configType: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.SystemConfigType' |
| | | description: 1 每月库存结算时间点 |
| | | name: |
| | | description: 设置名称 |
| | | type: string |
| | | val: |
| | | description: 设置值 |
| | | type: string |
| | | type: object |
| | | request.UnitDict: |
| | | properties: |
| | |
| | | summary: 更新重订货规则 |
| | | tags: |
| | | - 重订货规则 |
| | | /api-wms/v1/systemConfig/get: |
| | | get: |
| | | parameters: |
| | | - description: 1 每月库存结算时间点 |
| | | enum: |
| | | - 1 |
| | | in: query |
| | | name: configType |
| | | required: true |
| | | type: integer |
| | | x-enum-comments: |
| | | SystemConfigTypeInventoryCutOffPoint: 库存结算时间点 |
| | | x-enum-varnames: |
| | | - SystemConfigTypeInventoryCutOffPoint |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/models.SystemConfig' |
| | | type: object |
| | | summary: 根据设置类型查询系统设置 |
| | | tags: |
| | | - 系统设置 |
| | | /api-wms/v1/systemConfig/save: |
| | | post: |
| | | parameters: |
| | | - description: 系统设置信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SystemConfig' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 保存系统设置 |
| | | tags: |
| | | - 系统设置 |
| | | /api-wms/v1/warehouse/getWarehouseDetails/{id}: |
| | | get: |
| | | parameters: |