liujiandao
2024-04-17 67b13bb40517145cfadc05d7b22411b16f1528d7
docs/swagger.yaml
@@ -540,6 +540,10 @@
      deliveryAdvanceTime:
        description: 客户前置时间(天)
        type: number
      grossUnit:
        type: string
      grossWeight:
        type: number
      id:
        type: string
      inStorageExplain:
@@ -597,9 +601,19 @@
        - $ref: '#/definitions/constvar.MaterialMode'
        description: MaterialType constvar.ProductType  `gorm:"index;type:int(11);comment:物料类型(数字)"
          json:"materialType"`
      moreUnit:
        type: boolean
      moreUnitList:
        items:
          $ref: '#/definitions/models.UnitItems'
        type: array
      name:
        description: 物料名称
        type: string
      netUnit:
        type: string
      netWeight:
        type: number
      note:
        type: string
      orderAdvanceTime:
@@ -668,6 +682,62 @@
      volume:
        description: 体积
        type: number
      weight:
        description: 重量
        type: number
    type: object
  models.MonthStats:
    properties:
      MoreUnitsArr:
        description: 期末其他单位数组
        items:
          $ref: '#/definitions/models.UnitItems'
        type: array
      amount:
        description: 期末结余数量
        type: number
      beginAmount:
        description: 期初数量
        type: number
      beginMoreUnitsArr:
        description: 期初其他单位数组
        items:
          $ref: '#/definitions/models.UnitItems'
        type: array
      createTime:
        type: string
      date:
        description: 日期 2024-04
        type: string
      id:
        type: integer
      inputAmount:
        description: 入库数量
        type: number
      inputMoreUnitsArr:
        description: 入库其他单位数组
        items:
          $ref: '#/definitions/models.UnitItems'
        type: array
      outputAmount:
        description: 出库数量
        type: number
      outputMoreUnitsArr:
        description: 出库其他单位数组
        items:
          $ref: '#/definitions/models.UnitItems'
        type: array
      productId:
        description: 产品id
        type: string
      productName:
        description: 产品名称
        type: string
      unit:
        description: 单位
        type: string
      updateTime:
        type: string
      weight:
        description: 重量
        type: number
@@ -811,6 +881,10 @@
      toLocationId:
        description: 目标位置id
        type: integer
      totalGrossWeight:
        type: number
      totalNetWeight:
        type: number
      updateTime:
        type: string
    type: object
@@ -897,6 +971,15 @@
      isDefault:
        type: boolean
      name:
        type: string
    type: object
  models.UnitItems:
    properties:
      amount:
        type: number
      floating:
        type: boolean
      unit:
        type: string
    type: object
  models.Warehouse:
@@ -1284,6 +1367,19 @@
      type:
        type: integer
    type: object
  request.GetMonthStats:
    properties:
      date:
        type: string
      keyword:
        type: string
      page:
        description: 页码
        type: integer
      pageSize:
        description: 每页大小
        type: integer
    type: object
  request.GetProductList:
    properties:
      categoryId:
@@ -1368,6 +1464,12 @@
      toLocationId:
        description: 目标位置id
        type: integer
      totalGrossWeight:
        description: 总毛重
        type: number
      totalNetWeight:
        description: 总净重
        type: number
    type: object
  request.OperationList:
    properties:
@@ -2139,6 +2241,37 @@
      summary: 获取位置报表
      tags:
      - 报表
  /api-wms/v1/forms/monthStats:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.GetMonthStats'
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/util.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/models.MonthStats'
                  type: array
              type: object
      summary: 月度统计库存报表
      tags:
      - 报表
  /api-wms/v1/location/addLocation:
    post:
      parameters: