| | |
| | | - MaterialModeConsumables |
| | | - MaterialModeOther |
| | | - MaterialModeVirtual |
| | | constvar.OperationSource: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | - 5 |
| | | - 6 |
| | | type: integer |
| | | x-enum-comments: |
| | | OperationSourceOutsourcing: 委外入库 |
| | | OperationSourceOutsourcingApply: 委外领料 |
| | | OperationSourceProduction: 生产入库 |
| | | OperationSourceProductionApply: 生产领料 |
| | | OperationSourcePurchase: 采购入库 |
| | | OperationSourceSaleDelivery: 销售发货 |
| | | x-enum-varnames: |
| | | - OperationSourcePurchase |
| | | - OperationSourceProduction |
| | | - OperationSourceOutsourcing |
| | | - OperationSourceProductionApply |
| | | - OperationSourceOutsourcingApply |
| | | - OperationSourceSaleDelivery |
| | | constvar.OperationStatus: |
| | | enum: |
| | | - 1 |
| | |
| | | gorm:"foreignKey:CompanyId"` //公司 |
| | | updateTime: |
| | | type: string |
| | | warehouse: |
| | | allOf: |
| | | - $ref: '#/definitions/models.Warehouse' |
| | | description: 仓库 |
| | | warehouseId: |
| | | description: 仓库ID |
| | | type: integer |
| | | type: object |
| | | models.LogisticCompany: |
| | | properties: |
| | |
| | | ToLocationID int `json:"toLocationId" gorm:"type:int;not null;comment:目标位置id"` //目标位置id |
| | | ToLocation Location `json:"toLocation" gorm:"foreignKey:ToLocationID;references:Id"` //目标位置 |
| | | type: string |
| | | operationSource: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.OperationSource' |
| | | description: 操作来源 |
| | | operationTypeId: |
| | | description: 作业类型id |
| | | type: integer |
| | |
| | | receiverName: |
| | | type: string |
| | | receiverPhone: |
| | | type: string |
| | | salesDetailsNumber: |
| | | type: string |
| | | source: |
| | | type: string |
| | |
| | | type: boolean |
| | | code: |
| | | description: 仓库编码 |
| | | maxLength: 5 |
| | | minLength: 1 |
| | | type: string |
| | | company: |
| | | $ref: '#/definitions/models.Company' |
| | |
| | | description: 入向运输 |
| | | type: integer |
| | | locationId: |
| | | description: 位置id |
| | | description: 默认位置id |
| | | type: integer |
| | | name: |
| | | description: 仓库名称 |
| | |
| | | warehouseLocation: |
| | | description: 库存位置 |
| | | type: string |
| | | required: |
| | | - code |
| | | type: object |
| | | request.AddCompany: |
| | | properties: |
| | |
| | | description: 每页大小 |
| | | type: integer |
| | | productId: |
| | | type: string |
| | | type: object |
| | | request.SaveUnitDict: |
| | | properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/request.UnitDict' |
| | | type: array |
| | | type: object |
| | | request.UnitDict: |
| | | properties: |
| | | isDefault: |
| | | type: boolean |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateCompany: |
| | |
| | | summary: 产品历史出入库信息 |
| | | tags: |
| | | - 产品 |
| | | /api-wms/v1/product/saveUnitDict: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.SaveUnitDict' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 更新计量单位字典 |
| | | tags: |
| | | - 数据字典 |
| | | /api-wms/v1/product/updateDisuse: |
| | | post: |
| | | parameters: |