liujiandao
2023-11-10 07079a17b93d1dc2f06d73a5a08f6ba63a87d9a3
docs/swagger.yaml
@@ -33,6 +33,20 @@
    - CostingMethodStandardPrice
    - CostingMethodFIFO
    - CostingMethodAverageCost
  constvar.FileType:
    enum:
    - file
    - picture
    - thumbnail
    type: string
    x-enum-comments:
      FileType_File: 文件
      FileType_Picture: 图片
      FileType_Thumbnail: 缩略图
    x-enum-varnames:
    - FileType_File
    - FileType_Picture
    - FileType_Thumbnail
  constvar.ForceRemovalStrategy:
    enum:
    - 1
@@ -203,6 +217,19 @@
    - WhetherTypeAsk
    - WhetherTypeAlways
    - ReservationNever
  models.Attachment:
    properties:
      FileUrl:
        type: string
      ext:
        type: string
      fileName:
        type: string
      fileType:
        $ref: '#/definitions/constvar.FileType'
      id:
        type: integer
    type: object
  models.Company:
    properties:
      createTime:
@@ -297,11 +324,38 @@
      updateTime:
        type: string
    type: object
  models.LogisticCompany:
    properties:
      contact:
        description: 联系人
        type: string
      contact_phone:
        description: 联系电话
        type: string
      hidden:
        description: 隐藏
        type: boolean
      id:
        type: string
      monthly_account:
        description: 月结账号
        type: string
      name:
        type: string
    type: object
  models.Material:
    properties:
      amount:
        description: 数量
        type: number
      attachmentIDs:
        items:
          type: integer
        type: array
      attachmentList:
        items:
          $ref: '#/definitions/models.Attachment'
        type: array
      barcode:
        description: 条码
        type: string
@@ -476,6 +530,13 @@
        type: integer
      id:
        type: integer
      logisticCompany:
        $ref: '#/definitions/models.LogisticCompany'
      logisticCompanyId:
        type: string
      logisticWeight:
        description: 物流重量
        type: number
      number:
        description: 单号
        type: string
@@ -503,6 +564,12 @@
        type: integer
      updateTime:
        type: string
      waybillNumber:
        description: 运单号
        type: string
      weight:
        description: 重量
        type: number
    type: object
  models.OperationDetails:
    properties:
@@ -733,6 +800,11 @@
        type: integer
      id:
        type: integer
      logisticCompanyId:
        type: string
      logisticWeight:
        description: 物流重量
        type: number
      number:
        description: 单号
        type: string
@@ -755,6 +827,12 @@
      toLocationId:
        description: 目标位置id
        type: integer
      waybillNumber:
        description: 运单号
        type: string
      weight:
        description: 重量
        type: number
    type: object
  request.AddOperationType:
    properties:
@@ -1971,6 +2049,25 @@
      summary: 更改记录状态
      tags:
      - 入库/出库
  /api-wms/v1/operation/getLogisticCompanyList:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/util.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/models.LogisticCompany'
                  type: array
              type: object
      summary: 获取物流公司列表
      tags:
      - 入库/出库
  /api-wms/v1/operation/list:
    post:
      parameters: