| | |
| | | cost: |
| | | description: 成本 |
| | | type: number |
| | | createBy: |
| | | description: 创建人 |
| | | type: string |
| | | currencyName: |
| | | description: 币种名称 |
| | | type: string |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.BaseOperationType' |
| | | description: 基础作业类型 |
| | | checkedAt: |
| | | type: string |
| | | checkedBy: |
| | | type: string |
| | | comment: |
| | |
| | | type: array |
| | | id: |
| | | type: integer |
| | | isInternalOutput: |
| | | description: 是否调拨产生的出库 |
| | | type: boolean |
| | | location: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | |
| | | type: number |
| | | auxiliaryUnit: |
| | | type: string |
| | | cost: |
| | | description: 成本单价 |
| | | type: number |
| | | createTime: |
| | | type: string |
| | | fromLocation: |
| | |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | note: |
| | | type: string |
| | | isInternalOutput: |
| | | description: 是否调拨产生的出库 |
| | | type: boolean |
| | | operationId: |
| | | description: 操作id |
| | | type: integer |
| | |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | remark: |
| | | type: string |
| | | salePrice: |
| | | description: 销售单价 |
| | | type: number |
| | | toLocation: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Location' |
| | |
| | | type: string |
| | | warehouseLocation: |
| | | description: 库存位置 |
| | | type: string |
| | | type: object |
| | | request.AddAttribute: |
| | | properties: |
| | | dataType: |
| | | description: 值类型(1字符串 2 int 3 下拉框 ) |
| | | type: integer |
| | | entityType: |
| | | description: 给谁用的 1 物料(产品) |
| | | type: integer |
| | | name: |
| | | description: 属性名称 |
| | | type: string |
| | | selectValues: |
| | | items: |
| | | type: string |
| | | type: array |
| | | type: object |
| | | request.AddAttributeValue: |
| | | properties: |
| | | attributeId: |
| | | type: integer |
| | | entityId: |
| | | type: string |
| | | value: |
| | | type: string |
| | | type: object |
| | | request.AddCompany: |
| | |
| | | required: |
| | | - code |
| | | type: object |
| | | request.AttributeList: |
| | | properties: |
| | | entityType: |
| | | type: integer |
| | | keyword: |
| | | type: string |
| | | page: |
| | | description: 页码 |
| | | type: integer |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | type: object |
| | | request.DoMonthStats: |
| | | properties: |
| | | token: |
| | |
| | | auxiliaryUnit: |
| | | description: 辅助单位 |
| | | type: string |
| | | cost: |
| | | description: 成本单价 |
| | | type: number |
| | | fromLocationId: |
| | | description: |- |
| | | Unit string `json:"unit" gorm:"type:varchar(31);comment:单位"` //单位 |
| | |
| | | productId: |
| | | description: 产品id |
| | | type: string |
| | | remark: |
| | | type: string |
| | | salePrice: |
| | | description: 销售单价 |
| | | type: number |
| | | toLocationId: |
| | | description: 目标位置id |
| | | type: integer |
| | |
| | | isDefault: |
| | | type: boolean |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateAttribute: |
| | | properties: |
| | | dataType: |
| | | description: 值类型(1字符串 2 int 3 下拉框 ) |
| | | type: integer |
| | | entityType: |
| | | description: 给谁用的 1 物料(产品) |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | name: |
| | | description: 属性名称 |
| | | type: string |
| | | selectValues: |
| | | items: |
| | | type: string |
| | | type: array |
| | | type: object |
| | | request.UpdateAttributeValue: |
| | | properties: |
| | | attributeId: |
| | | type: integer |
| | | entityId: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | value: |
| | | type: string |
| | | type: object |
| | | request.UpdateCompany: |
| | |
| | | summary: 上传附件 |
| | | tags: |
| | | - 附件管理 |
| | | /api-wms/v1/attribute/attribute: |
| | | post: |
| | | parameters: |
| | | - description: 属性值和对象信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AttributeList' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 添加属性值和对象 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/attribute/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | - description: 属性id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 删除属性 |
| | | tags: |
| | | - 属性 |
| | | /api-wms/v1/attribute/primary/{id}: |
| | | get: |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 查询属性值和对象 通过主键ID查询 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/attribute/updateAttribute/{id}: |
| | | put: |
| | | parameters: |
| | | - description: 属性信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateAttribute' |
| | | - description: 属性id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: string |
| | | - 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/attributeValue/add: |
| | | post: |
| | | parameters: |
| | | - description: 属性值和对象信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddAttributeValue' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 添加属性值和对象 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/attributeValue/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: id |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: string |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 删除属性值和对象 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/attributeValue/list: |
| | | post: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 查询属性值和对象 分页条件筛选Value like '%v%' 模糊查询 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/attributeValue/primary/{id}: |
| | | get: |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 查询属性值和对象 通过主键ID查询 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/attributeValue/update: |
| | | post: |
| | | parameters: |
| | | - description: 属性值和对象信息 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateAttributeValue' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 更新属性值和对象 |
| | | tags: |
| | | - 属性值和对象 |
| | | /api-wms/v1/code/getAutoCode: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 获取登录用户信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/inputProduct: |
| | | post: |
| | | produces: |
| | | - application/xlsx |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 导入物料 |
| | | tags: |
| | | - 物料管理 |
| | | /api-wms/v1/product/listDisuse: |
| | | post: |
| | | parameters: |