zhangqian
2024-03-28 81dd727204296b6b3c636007c2e8d19b309df335
docs/swagger.yaml
@@ -420,6 +420,7 @@
        description: 数量
        type: number
      attachmentIDs:
        description: 以下为不存库的字段
        items:
          type: integer
        type: array
@@ -496,6 +497,12 @@
      isSale:
        description: 是否销售
        type: boolean
      isStorage:
        description: 无库存的在wms以及srm中需要过滤掉
        type: integer
      isVirtual:
        description: 虚拟物料在MRP计算时跳过该层级直接领用下级物料,虚拟物料不生成工单
        type: integer
      makeAdvanceTime:
        description: 制造前置时间(天)
        type: number
@@ -558,6 +565,10 @@
        type: number
      purchaseType:
        $ref: '#/definitions/constvar.PurchaseType'
      purchaseTypeList:
        items:
          type: integer
        type: array
      reorderRuleNum:
        type: integer
      salePrice:
@@ -663,6 +674,13 @@
        allOf:
        - $ref: '#/definitions/constvar.OperationStatus'
        description: 状态
      toLocation:
        allOf:
        - $ref: '#/definitions/models.Location'
        description: 目标位置
      toLocationId:
        description: 目标位置id
        type: integer
      updateTime:
        type: string
      waybillNumber:
@@ -785,6 +803,15 @@
      updateTime:
        type: string
    type: object
  models.UnitDict:
    properties:
      id:
        type: integer
      isDefault:
        type: boolean
      name:
        type: string
    type: object
  models.Warehouse:
    properties:
      active:
@@ -805,6 +832,9 @@
        $ref: '#/definitions/models.Company'
      companyId:
        type: integer
      contacts:
        description: 联系人
        type: string
      createTime:
        type: string
      id:
@@ -957,6 +987,9 @@
        allOf:
        - $ref: '#/definitions/constvar.OperationStatus'
        description: 状态
      toLocationId:
        description: 目标位置id
        type: integer
      waybillNumber:
        description: 运单号
        type: string
@@ -1029,6 +1062,9 @@
        description: 仓库编码
        maxLength: 5
        minLength: 1
        type: string
      contacts:
        description: 联系人
        type: string
      inboundTransportation:
        description: 入向运输
@@ -1453,6 +1489,9 @@
        allOf:
        - $ref: '#/definitions/constvar.OperationStatus'
        description: 状态
      toLocationId:
        description: 目标位置id
        type: integer
      waybillNumber:
        description: 运单号
        type: string
@@ -2834,6 +2873,43 @@
      summary: 获取产品列表
      tags:
      - 产品
  /api-wms/v1/product/getUnitInfo:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/util.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/models.UnitDict'
                  type: array
              type: object
      summary: 获取单位信息
      tags:
      - 产品
  /api-wms/v1/product/getUserInfo:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/util.ResponseList'
            - properties:
                data:
                  additionalProperties: true
                  type: object
              type: object
      summary: 获取登录用户信息
      tags:
      - 产品
  /api-wms/v1/product/listDisuse:
    post:
      parameters: