| | |
| | | description: 环境值 |
| | | type: string |
| | | grpc-admin-url: |
| | | description: grpc服务地址 |
| | | description: admin grpc服务地址 |
| | | type: string |
| | | grpc-port: |
| | | description: 对外提供服务grpc端口 |
| | | type: string |
| | | grpc-url: |
| | | description: grpc服务地址 |
| | | description: aps grpc服务地址 |
| | | type: string |
| | | iplimit-count: |
| | | type: integer |
| | | iplimit-time: |
| | | type: integer |
| | | oss-type: |
| | | description: Oss类型 |
| | | grpc-wms-url: |
| | | description: wms grpc服务地址 |
| | | type: string |
| | | router-prefix: |
| | | type: string |
| | | use-multipoint: |
| | | description: 多点登录拦截 |
| | | type: boolean |
| | | use-redis: |
| | | description: 使用redis |
| | | type: boolean |
| | | type: object |
| | | config.Zap: |
| | | properties: |
| | |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | - 5 |
| | | type: integer |
| | | x-enum-comments: |
| | | OrderStatusCanceled: 已取消 |
| | | OrderStatusCompleted: 已完成 |
| | | OrderStatusConfirmed: 已下单 |
| | | OrderStatusReceived: 已到货 |
| | | OrderStatusConfirmed: 待确认 |
| | | OrderStatusReceived: 待入库 |
| | | OrderStatusStored: 已入库 |
| | | x-enum-varnames: |
| | | - OrderStatusConfirmed |
| | | - OrderStatusReceived |
| | | - OrderStatusStored |
| | | - OrderStatusCompleted |
| | | - OrderStatusCanceled |
| | | purchase.PriceAdjustmentType: |
| | | enum: |
| | | - 1 |
| | |
| | | purchase: |
| | | $ref: '#/definitions/purchaserequest.Purchase' |
| | | type: object |
| | | request.GetById: |
| | | properties: |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | type: object |
| | | request.IdsReq: |
| | | properties: |
| | | ids: |
| | |
| | | $ref: '#/definitions/test.Industry' |
| | | type: array |
| | | type: object |
| | | request.Product: |
| | | properties: |
| | | categoryName: |
| | | type: string |
| | | deliveryTime: |
| | | type: integer |
| | | modelNumber: |
| | | type: string |
| | | name: |
| | | type: string |
| | | number: |
| | | type: string |
| | | purchasePrice: |
| | | type: number |
| | | shippingDuration: |
| | | type: integer |
| | | specifications: |
| | | type: string |
| | | supplier: |
| | | type: string |
| | | supplierId: |
| | | type: integer |
| | | supplierName: |
| | | type: string |
| | | supplierNumber: |
| | | type: string |
| | | unit: |
| | | type: string |
| | | type: object |
| | | request.ProductCreate: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/test.Product' |
| | | $ref: '#/definitions/request.Product' |
| | | type: array |
| | | type: object |
| | | request.SupplierStatus: |
| | |
| | | uuid: |
| | | type: string |
| | | type: object |
| | | test.Product: |
| | | properties: |
| | | created_at: |
| | | type: string |
| | | deliveryTime: |
| | | type: integer |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | maximumStock: |
| | | type: integer |
| | | minimumStock: |
| | | type: integer |
| | | modelNumber: |
| | | type: string |
| | | name: |
| | | type: string |
| | | number: |
| | | type: string |
| | | productType: |
| | | type: string |
| | | purchasePrice: |
| | | type: number |
| | | remark: |
| | | type: string |
| | | shippingDuration: |
| | | type: integer |
| | | specifications: |
| | | type: string |
| | | supplier: |
| | | $ref: '#/definitions/test.Supplier' |
| | | supplierId: |
| | | type: integer |
| | | supplierName: |
| | | type: string |
| | | unit: |
| | | type: string |
| | | updated_at: |
| | | type: string |
| | | type: object |
| | | test.Supplier: |
| | | properties: |
| | | account: |
| | |
| | | updated_at: |
| | | type: string |
| | | url: |
| | | type: string |
| | | type: object |
| | | test.SupplierMaterial: |
| | | properties: |
| | | categoryName: |
| | | description: 产品类别名称 |
| | | type: string |
| | | created_at: |
| | | type: string |
| | | deliveryTime: |
| | | description: 供货时长 |
| | | type: integer |
| | | id: |
| | | description: 主键ID |
| | | type: integer |
| | | maximumStock: |
| | | type: integer |
| | | minimumStock: |
| | | type: integer |
| | | modelNumber: |
| | | type: string |
| | | name: |
| | | type: string |
| | | number: |
| | | type: string |
| | | purchasePrice: |
| | | type: number |
| | | shippingDuration: |
| | | description: 物流时长 |
| | | type: integer |
| | | specifications: |
| | | type: string |
| | | supplier: |
| | | $ref: '#/definitions/test.Supplier' |
| | | supplierId: |
| | | type: integer |
| | | unit: |
| | | type: string |
| | | updated_at: |
| | | type: string |
| | | type: object |
| | | test.SupplierType: |
| | |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Product' |
| | | $ref: '#/definitions/request.GetById' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | consumes: |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: created_at |
| | | type: string |
| | | - in: query |
| | | name: deliveryTime |
| | | type: integer |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - in: query |
| | | name: maximumStock |
| | | type: integer |
| | | - in: query |
| | | name: minimumStock |
| | | type: integer |
| | | - in: query |
| | | name: modelNumber |
| | | type: string |
| | | - in: query |
| | | name: name |
| | | type: string |
| | | - in: query |
| | | name: number |
| | | type: string |
| | | - in: query |
| | | name: productType |
| | | type: string |
| | | - in: query |
| | | name: purchasePrice |
| | | type: number |
| | | - in: query |
| | | name: remark |
| | | type: string |
| | | - in: query |
| | | name: shippingDuration |
| | | type: integer |
| | | - in: query |
| | | name: specifications |
| | | type: string |
| | | - in: query |
| | | name: supplierId |
| | | type: integer |
| | | - in: query |
| | | name: supplierName |
| | | type: string |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | - in: query |
| | | name: updated_at |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: created_at |
| | | name: categoryName |
| | | type: string |
| | | - in: query |
| | | name: deliveryTime |
| | | type: integer |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: maximumStock |
| | | type: integer |
| | | - in: query |
| | | name: minimumStock |
| | | type: integer |
| | | - in: query |
| | | name: modelNumber |
| | | type: string |
| | |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: productType |
| | | type: string |
| | | - in: query |
| | | name: purchasePrice |
| | | type: number |
| | | - in: query |
| | | name: remark |
| | | type: string |
| | | - in: query |
| | | name: shippingDuration |
| | | type: integer |
| | |
| | | name: specifications |
| | | type: string |
| | | - in: query |
| | | name: startCreatedAt |
| | | name: supplier |
| | | type: string |
| | | - in: query |
| | | name: supplierId |
| | |
| | | type: string |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | - in: query |
| | | name: updated_at |
| | | type: string |
| | | produces: |
| | | - application/json |
| | |
| | | - application/json |
| | | parameters: |
| | | - in: query |
| | | name: created_at |
| | | name: categoryName |
| | | type: string |
| | | - in: query |
| | | name: deliveryTime |
| | | type: integer |
| | | - in: query |
| | | name: endCreatedAt |
| | | type: string |
| | | - description: 主键ID |
| | | in: query |
| | | name: id |
| | | type: integer |
| | | - description: 关键字 |
| | | in: query |
| | | name: keyword |
| | | type: string |
| | | - in: query |
| | | name: maximumStock |
| | | type: integer |
| | | - in: query |
| | | name: minimumStock |
| | | type: integer |
| | | - in: query |
| | | name: modelNumber |
| | | type: string |
| | |
| | | name: pageSize |
| | | type: integer |
| | | - in: query |
| | | name: productType |
| | | type: string |
| | | - in: query |
| | | name: purchasePrice |
| | | type: number |
| | | - in: query |
| | | name: remark |
| | | type: string |
| | | - in: query |
| | | name: shippingDuration |
| | | type: integer |
| | |
| | | name: specifications |
| | | type: string |
| | | - in: query |
| | | name: startCreatedAt |
| | | name: supplier |
| | | type: string |
| | | - in: query |
| | | name: supplierId |
| | |
| | | type: string |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | - in: query |
| | | name: updated_at |
| | | type: string |
| | | produces: |
| | | - application/json |
| | |
| | | name: data |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/test.Product' |
| | | $ref: '#/definitions/test.SupplierMaterial' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - description: 供应商id |
| | | in: query |
| | | name: supplierId |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - description: 供应商id |
| | | in: query |
| | | name: supplierId |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 分页获取质检单列表 |
| | | tags: |
| | | - QualityInspect |
| | | /purchase/submit/{id}: |
| | | /purchase/submit: |
| | | post: |
| | | consumes: |
| | | - application/json |