zhangqian
2024-07-01 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5
docs/swagger.yaml
@@ -60,6 +60,17 @@
    - BaseOperationTypeInternal
    - BaseOperationTypeDisuse
    - BaseOperationTypeAdjust
  constvar.BoolType:
    enum:
    - 1
    - 2
    type: integer
    x-enum-comments:
      BoolTypeFalse: "false"
      BoolTypeTrue: "true"
    x-enum-varnames:
    - BoolTypeTrue
    - BoolTypeFalse
  constvar.CostingMethod:
    enum:
    - 1
@@ -200,15 +211,18 @@
    - 1
    - 2
    - 3
    - 4
    type: integer
    x-enum-comments:
      StockoutType: 出库类型
      StorageType: 入库类型
      TakeStock: 盘点类型
      TransferType: 调拨类型
    x-enum-varnames:
    - TransferType
    - StorageType
    - StockoutType
    - TransferType
    - TakeStock
  constvar.OperationSource:
    enum:
    - 1
@@ -1006,6 +1020,8 @@
        type: integer
      updateTime:
        type: string
      warehouse:
        $ref: '#/definitions/models.Warehouse'
      warehouseId:
        type: integer
      waybillNumber:
@@ -1029,6 +1045,9 @@
        description: 成本单价
        type: number
      createTime:
        type: string
      dealerType:
        description: 出入库类型
        type: string
      fromLocation:
        allOf:
@@ -1223,6 +1242,10 @@
      name:
        description: 仓库名称
        type: string
      openMonthStats:
        allOf:
        - $ref: '#/definitions/constvar.BoolType'
        description: 是否开启月度统计
      outboundTransportation:
        description: 出库运输
        type: integer
@@ -1377,6 +1400,8 @@
          $ref: '#/definitions/request.OperationDetails'
        type: array
      id:
        type: integer
      inventoryDealerType:
        type: integer
      locationId:
        description: 源位置id
@@ -1540,6 +1565,11 @@
      token:
        type: string
    type: object
  request.DoWarehouseMonthStats:
    properties:
      token:
        type: string
    type: object
  request.EditMiniDict:
    properties:
      id:
@@ -1688,6 +1718,10 @@
        type: integer
      pageSize:
        description: 每页大小
        type: integer
      preload:
        type: boolean
      warehouseID:
        type: integer
    type: object
  request.GetProductList:
@@ -2077,6 +2111,8 @@
        type: array
      id:
        type: integer
      inventoryDealerType:
        type: integer
      locationId:
        description: 源位置id
        type: integer
@@ -2118,6 +2154,9 @@
        description: 状态
      toLocationId:
        description: 目标位置id
        type: integer
      warehouseId:
        description: 仓库id
        type: integer
      waybillNumber:
        description: 运单号
@@ -2771,6 +2810,37 @@
      summary: 手动跑月度统计库存报表
      tags:
      - 报表
  /api-wms/v1/forms/doWarehouseMonthStats:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.DoWarehouseMonthStats'
      - 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/forms/downloadHistory:
    post:
      parameters:
@@ -3017,6 +3087,37 @@
                  type: array
              type: object
      summary: 月度统计库存报表
      tags:
      - 报表
  /api-wms/v1/forms/warehouseMonthStats:
    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:
@@ -3482,7 +3583,14 @@
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/util.Response'
            allOf:
            - $ref: '#/definitions/util.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/models.Operation'
                  type: array
              type: object
      summary: 入库/出库列表
      tags:
      - 入库/出库
@@ -3631,8 +3739,8 @@
        type: integer
      - description: 仓库id
        in: query
        name: warehouseId
        type: integer
        name: warehouseIds
        type: string
      produces:
      - application/json
      responses: