zhangqian
2024-04-19 cdb38521ea1f662b53bafb87412c38dfd0d5e11d
docs/swagger.yaml
@@ -1,4 +1,45 @@
definitions:
  code.CodeAuto:
    properties:
      AutoLength:
        type: integer
      Desc:
        type: string
      PrefixMethod:
        type: integer
      PrefixValue:
        type: string
      SuffixMethod:
        type: integer
    type: object
  code.CodeRule:
    properties:
      Desc:
        type: string
      Length:
        type: integer
      Name:
        type: string
    type: object
  code.CodeStandard:
    properties:
      AutoRule:
        $ref: '#/definitions/code.CodeAuto'
      ID:
        type: string
      List:
        items:
          $ref: '#/definitions/code.CodeRule'
        type: array
      Method:
        type: integer
      Name:
        type: string
      Status:
        type: string
      Type:
        type: string
    type: object
  config.CORS:
    properties:
      mode:
@@ -308,26 +349,19 @@
        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:
@@ -359,23 +393,208 @@
        description: 栈名
        type: string
    type: object
  constvar.MiniDictType:
    enum:
    - 1
    - 2
    - 3
    - 4
    - 5
    - 6
    - 7
    type: integer
    x-enum-comments:
      EarlyWarningDay: 预警天数
      InspectionWayType: 质检方式类型
      MiniDictTypeBomVersionType: Bom版本类型
      MiniDictTypePlcBrand: PLC品牌
      OutsourcingSupplierCreditGrade: 信用等级
      OutsourcingSupplierRange: 供货范围
      OutsourcingSupplierType: 委外供应商类型
    x-enum-varnames:
    - MiniDictTypePlcBrand
    - MiniDictTypeBomVersionType
    - EarlyWarningDay
    - InspectionWayType
    - OutsourcingSupplierType
    - OutsourcingSupplierCreditGrade
    - OutsourcingSupplierRange
  constvar.RecordStatus:
    enum:
    - 0
    - 1
    - 2
    type: integer
    x-enum-comments:
      RecordStatusActive: 启用
      RecordStatusCreate: 新建
      RecordStatusInactive: 停用
    x-enum-varnames:
    - RecordStatusCreate
    - RecordStatusActive
    - RecordStatusInactive
  contextx.Response:
    properties:
      code:
        type: integer
      data: {}
      msg:
        type: string
    type: object
  gorm.DeletedAt:
    properties:
      time:
        type: string
      valid:
        description: Valid is true if Time is not NULL
        type: boolean
    type: object
  model.MiniDict:
    properties:
      createdAt:
        type: string
      id:
        type: integer
      isDefault:
        type: boolean
      name:
        type: string
      type:
        $ref: '#/definitions/constvar.MiniDictType'
      updatedAt:
        type: string
      value:
        type: string
    type: object
  models.OutsourcingEnterprise:
    properties:
      address:
        description: 地址
        type: string
      contact:
        description: 联系人
        type: string
      createdAt:
        type: string
      creditGrade:
        description: 信用等级
        type: string
      deletedAt:
        $ref: '#/definitions/gorm.DeletedAt'
      enterpriseType:
        description: 企业类型
        type: string
      id:
        type: integer
      name:
        description: 委外企业编号名称
        type: string
      number:
        description: 委外企业编号
        type: string
      organizationCode:
        description: 组织机构代码
        type: string
      status:
        allOf:
        - $ref: '#/definitions/constvar.RecordStatus'
        description: 状态 0 新建 1 启用 2停用
      supplyCapacity:
        description: 供货能力
        type: string
      supplyRange:
        description: 供货范围
        type: string
      tel:
        description: 联系方式
        type: string
      updatedAt:
        type: string
    type: object
  outsourcingrequest.OutsourcingEnterprise:
    properties:
      address:
        description: 地址
        type: string
      contact:
        description: 联系人
        type: string
      creditGrade:
        description: 信用等级
        type: string
      enterpriseType:
        description: 企业类型
        type: string
      id:
        type: integer
      name:
        description: 委外供应商编号名称
        type: string
      number:
        description: 委外供应商编号
        type: string
      organizationCode:
        description: 组织机构代码
        type: string
      status:
        allOf:
        - $ref: '#/definitions/constvar.RecordStatus'
        description: 状态 0 新建 1 启用 2停用
      supplyCapacity:
        description: 供货能力
        type: string
      supplyRange:
        description: 供货范围
        type: string
      tel:
        description: 联系方式
        type: string
    required:
    - enterpriseType
    - name
    - number
    type: object
  outsourcingrequest.OutsourcingEnterpriseOverview:
    properties:
      close:
        description: 停用数量
        type: integer
      open:
        description: 启用数量
        type: integer
      total:
        description: 总量
        type: integer
    type: object
  purchase.OrderStatus:
    enum:
    - 1
    - 2
    - 3
    - 4
    - 5
    - 6
    - 7
    - 8
    type: integer
    x-enum-comments:
      OrderStatusCanceled: 已取消
      OrderStatusCompleted: 已完成
      OrderStatusConfirmed: 已下单
      OrderStatusReceived: 已到货
      OrderStatusConfirmed: 待确认
      OrderStatusPartReceive: 部分收货
      OrderStatusReceived: 待入库
      OrderStatusStored: 已入库
      OrderStatusWaitQuality: 待质检
      OrderStatusWaitReceive: 待收货
    x-enum-varnames:
    - OrderStatusConfirmed
    - OrderStatusReceived
    - OrderStatusStored
    - OrderStatusCompleted
    - OrderStatusCanceled
    - OrderStatusWaitReceive
    - OrderStatusPartReceive
    - OrderStatusWaitQuality
  purchase.PriceAdjustmentType:
    enum:
    - 1
@@ -405,7 +624,8 @@
        type: string
      id:
        description: 主键ID
        type: integer
        example: "0"
        type: string
      invoiceAmount:
        description: 已收票金额
        type: number
@@ -435,13 +655,14 @@
        - $ref: '#/definitions/purchase.PriceAdjustmentType'
        description: 价格调整类型
      principal:
        description: 采购负责人
        description: 仓库负责人
        type: string
      purchaseType:
        $ref: '#/definitions/purchase.PurchaseType'
      purchaseTypeId:
        description: 采购类型id
        type: integer
        example: "0"
        type: string
      quantity:
        description: 采购数量
        type: number
@@ -457,6 +678,9 @@
      signingDate:
        description: 签约日期
        type: string
      sourceOrder:
        description: 来源单据 ,销售明细编码
        type: string
      status:
        allOf:
        - $ref: '#/definitions/purchase.OrderStatus'
@@ -465,7 +689,8 @@
        $ref: '#/definitions/test.Supplier'
      supplierId:
        description: 供应商id
        type: integer
        example: "0"
        type: string
      totalPrice:
        description: 价税合计
        type: number
@@ -477,6 +702,9 @@
      warehouse:
        description: 收货仓库
        type: string
      warehouseAddress:
        description: 收货仓库地址
        type: string
      wholeDiscount:
        description: 整单折扣值
        type: number
@@ -484,6 +712,42 @@
        allOf:
        - $ref: '#/definitions/purchase.WholeDiscountType'
        description: 整单折扣类型
    type: object
  purchase.PurchaseProductConfirm:
    properties:
      amount:
        type: number
      created_at:
        type: string
      id:
        description: 主键ID
        example: "0"
        type: string
      notReceiveAmount:
        type: number
      nowReceiveAmount:
        description: 本次收货数量
        type: number
      overReceiveAmount:
        type: number
      principal:
        type: string
      productId:
        type: string
      productName:
        type: string
      purchaseNumber:
        type: string
      specs:
        type: string
      surplusReceiveAmount:
        type: number
      type:
        type: string
      unit:
        type: string
      updated_at:
        type: string
    type: object
  purchase.PurchaseProducts:
    properties:
@@ -500,7 +764,7 @@
        type: number
      productId:
        description: 产品id
        type: string
        type: integer
      purchaseId:
        description: 采购id
        type: integer
@@ -519,7 +783,8 @@
        type: string
      id:
        description: 主键ID
        type: integer
        example: "0"
        type: string
      name:
        description: 采购类型
        type: string
@@ -543,6 +808,25 @@
    x-enum-varnames:
    - WholeDiscountTypePercent
    - WholeDiscountTypeDiscount
  purchase_wms.SrmGetWarehouseInfoResponse:
    properties:
      info:
        items:
          $ref: '#/definitions/purchase_wms.SrmWarehouseInfo'
        type: array
    type: object
  purchase_wms.SrmWarehouseInfo:
    properties:
      address:
        description: 仓库地址
        type: string
      name:
        description: 仓库名
        type: string
      principal:
        description: 仓库负责人
        type: string
    type: object
  purchaserequest.AddPurchase:
    properties:
      productList:
@@ -551,6 +835,19 @@
        type: array
      purchase:
        $ref: '#/definitions/purchaserequest.Purchase'
    type: object
  purchaserequest.GetQualityInspectionInfo:
    properties:
      purchaseNumber:
        type: string
      status:
        items:
          type: integer
        type: array
      times:
        items:
          type: string
        type: array
    type: object
  purchaserequest.Purchase:
    properties:
@@ -562,12 +859,16 @@
        type: string
      id:
        description: 主键ID
        type: integer
        example: "0"
        type: string
      name:
        description: 采购名称
        type: string
      number:
        description: 采购编号
        type: string
      orderSource:
        description: 单据来源
        type: string
      phone:
        description: 联系人电话
@@ -579,9 +880,13 @@
        allOf:
        - $ref: '#/definitions/purchase.PriceAdjustmentType'
        description: 价格调整类型
      principal:
        description: 仓库负责人
        type: string
      purchaseTypeId:
        description: 采购类型id
        type: integer
        example: "0"
        type: string
      quantity:
        description: 采购数量
        type: number
@@ -594,16 +899,26 @@
      signingDate:
        description: 签约日期
        type: string
      sourceOrder:
        description: 来源单据
        type: string
      status:
        allOf:
        - $ref: '#/definitions/purchase.OrderStatus'
        description: 状态
      supplierId:
        description: 供应商id
        type: integer
        example: "0"
        type: string
      totalPrice:
        description: 价税合计
        type: number
      warehouse:
        description: 收货仓库
        type: string
      warehouseAddress:
        description: 收货仓库地址
        type: string
      wholeDiscount:
        description: 整单折扣值
        type: number
@@ -612,11 +927,39 @@
        - $ref: '#/definitions/purchase.WholeDiscountType'
        description: 整单折扣类型
    type: object
  purchaserequest.PurchaseProductConfirmInfo:
    properties:
      amount:
        type: number
      notReceiveAmount:
        type: number
      nowReceiveAmount:
        type: number
      overReceiveAmount:
        type: number
      principal:
        type: string
      productId:
        type: string
      productName:
        type: string
      purchaseNumber:
        type: string
      specs:
        type: string
      surplusReceiveAmount:
        type: number
      type:
        type: string
      unit:
        type: string
    type: object
  purchaserequest.PurchaseType:
    properties:
      id:
        description: 主键ID
        type: integer
        example: "0"
        type: string
      name:
        description: 采购类型
        type: string
@@ -627,6 +970,24 @@
        description: 排序
        type: integer
    type: object
  purchaserequest.SaveQualityInspectionInfo:
    properties:
      ids:
        items:
          type: integer
        type: array
      purchaseId:
        type: integer
      status:
        type: integer
    type: object
  purchaserequest.SubmitPurchase:
    properties:
      id:
        type: integer
      status:
        $ref: '#/definitions/purchase.OrderStatus'
    type: object
  purchaserequest.UpdatePurchase:
    properties:
      productList:
@@ -635,12 +996,6 @@
        type: array
      purchase:
        $ref: '#/definitions/purchaserequest.Purchase'
    type: object
  request.GetById:
    properties:
      id:
        description: 主键ID
        type: integer
    type: object
  request.IdsReq:
    properties:
@@ -658,6 +1013,8 @@
    type: object
  request.Product:
    properties:
      categoryName:
        type: string
      deliveryTime:
        type: integer
      modelNumber:
@@ -665,8 +1022,6 @@
      name:
        type: string
      number:
        type: string
      productType:
        type: string
      purchasePrice:
        type: number
@@ -706,6 +1061,43 @@
          $ref: '#/definitions/test.SupplierType'
        type: array
    type: object
  response.InWarehouseInfo:
    properties:
      name:
        description: 产品名称
        type: string
      number:
        description: 产品编码
        type: string
      operationNumber:
        description: 入库单号
        type: string
      overAmount:
        description: 入库数
        type: integer
      overTime:
        description: 入库时间
        type: string
      principal:
        description: 负责人
        type: string
      status:
        type: integer
      warehouseName:
        description: 仓库名
        type: string
    type: object
  response.OperationInfo:
    properties:
      inWarehouseInfos:
        items:
          $ref: '#/definitions/response.InWarehouseInfo'
        type: array
      productInfos:
        items:
          $ref: '#/definitions/response.ProductInfo'
        type: array
    type: object
  response.PageResult:
    properties:
      list: {}
@@ -715,6 +1107,39 @@
        type: integer
      total:
        type: integer
    type: object
  response.ProductInfo:
    properties:
      amount:
        description: 采购数
        type: number
      modelNumber:
        description: 型号
        type: string
      name:
        description: 产品名称
        type: string
      number:
        description: 产品编码
        type: string
      overAmount:
        description: 入库数
        type: integer
      purchasePrice:
        description: 单价
        type: number
      sendAmount:
        description: 收货数
        type: integer
      specifications:
        description: 规格
        type: string
      total:
        description: 总价
        type: number
      unit:
        description: 单位
        type: string
    type: object
  response.PurchaseProducts:
    properties:
@@ -742,6 +1167,9 @@
        type: integer
      purchasePrice:
        type: number
      remark:
        description: 描述
        type: string
      shippingDuration:
        type: integer
      specifications:
@@ -768,6 +1196,12 @@
      data: {}
      msg:
        type: string
    type: object
  srm_model_common_request.GetById:
    properties:
      id:
        description: 主键ID
        type: integer
    type: object
  system.System:
    properties:
@@ -838,7 +1272,8 @@
        type: integer
      id:
        description: 主键ID
        type: integer
        example: "0"
        type: string
      industry:
        type: string
      name:
@@ -860,6 +1295,9 @@
    type: object
  test.SupplierMaterial:
    properties:
      categoryName:
        description: 产品类别名称
        type: string
      created_at:
        type: string
      deliveryTime:
@@ -906,12 +1344,119 @@
      updated_at:
        type: string
    type: object
  utils.Response:
    properties:
      code:
        type: integer
      data: {}
      msg:
        type: string
    type: object
  utils.ResponseList:
    properties:
      code:
        type: integer
      data: {}
      msg:
        type: string
      page:
        type: integer
      pageSize:
        type: integer
      total:
        type: integer
    type: object
  v1.GetMiniDictList:
    properties:
      type:
        $ref: '#/definitions/constvar.MiniDictType'
    type: object
  v1.MiniDict:
    properties:
      isDefault:
        type: boolean
      name:
        type: string
      value:
        type: string
    type: object
  v1.SaveMiniDict:
    properties:
      list:
        items:
          $ref: '#/definitions/v1.MiniDict'
        type: array
      type:
        $ref: '#/definitions/constvar.MiniDictType'
    type: object
info:
  contact: {}
  description: This is a sample Server pets
  title: Swagger Example API
  version: 0.0.1
paths:
  /code/getAutoCode:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/code.CodeStandard'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  additionalProperties: true
                  type: object
              type: object
      summary: 获取自动编码
      tags:
      - 编码
  /code/getCodeList:
    get:
      parameters:
      - in: query
        name: codeStandID
        type: string
      - in: query
        name: name
        type: string
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - in: query
        name: type
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/code.CodeStandard'
                  type: array
              type: object
      summary: 获取编码列表
      tags:
      - 编码
  /con/createContract:
    post:
      consumes:
@@ -983,39 +1528,6 @@
      security:
      - ApiKeyAuth: []
      summary: 批量删除Contract
      tags:
      - Contract
  /con/downloadContract:
    get:
      consumes:
      - application/json
      parameters:
      - in: query
        name: created_at
        type: string
      - in: query
        name: fileName
        type: string
      - description: 主键ID
        in: query
        name: id
        type: integer
      - in: query
        name: supplierID
        type: integer
      - in: query
        name: updated_at
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"下载成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 下载Contract
      tags:
      - Contract
  /con/findContract:
@@ -1102,7 +1614,85 @@
      summary: 分页获取Contract列表
      tags:
      - Contract
  /con/previewContract:
  /con/updateContract:
    put:
      consumes:
      - application/json
      parameters:
      - description: 更新Contract
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/test.Contract'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"更新成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 更新Contract
      tags:
      - Contract
  /dict/getMiniDictList:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/v1.GetMiniDictList'
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/utils.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/model.MiniDict'
                  type: array
              type: object
      summary: 获取迷你字典列表
      tags:
      - 数据字典
  /dict/saveMiniDict:
    post:
      parameters:
      - description: 参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/v1.SaveMiniDict'
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/utils.Response'
      summary: 更新迷你字典
      tags:
      - 数据字典
  /downloadContract:
    get:
      consumes:
      - application/json
@@ -1127,35 +1717,12 @@
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"预览成功"}'
          description: '{"success":true,"data":{},"msg":"下载成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 预览Contract
      tags:
      - Contract
  /con/updateContract:
    put:
      consumes:
      - application/json
      parameters:
      - description: 更新Contract
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/test.Contract'
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"更新成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 更新Contract
      summary: 下载Contract
      tags:
      - Contract
  /i/createIndustry:
@@ -1564,6 +2131,129 @@
      summary: 更新Member
      tags:
      - Member
  /outsourcing/enterprise/add:
    post:
      parameters:
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/outsourcingrequest.OutsourcingEnterprise'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 企业新增
      tags:
      - 委外企业管理
  /outsourcing/enterprise/list:
    get:
      parameters:
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      - in: query
        name: keyword
        type: string
      - description: 页码
        in: query
        name: page
        type: integer
      - description: 每页大小
        in: query
        name: pageSize
        type: integer
      - description: 状态 0 新建 1 启用 2停用
        enum:
        - 0
        - 1
        - 2
        in: query
        name: status
        type: integer
        x-enum-comments:
          RecordStatusActive: 启用
          RecordStatusCreate: 新建
          RecordStatusInactive: 停用
        x-enum-varnames:
        - RecordStatusCreate
        - RecordStatusActive
        - RecordStatusInactive
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/utils.ResponseList'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/models.OutsourcingEnterprise'
                  type: array
              type: object
      summary: 企业列表
      tags:
      - 委外企业管理
  /outsourcing/enterprise/overview:
    get:
      parameters:
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/utils.ResponseList'
            - properties:
                data:
                  $ref: '#/definitions/outsourcingrequest.OutsourcingEnterpriseOverview'
              type: object
      summary: 企业统计
      tags:
      - 委外企业管理
  /outsourcing/enterprise/update:
    post:
      parameters:
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/outsourcingrequest.OutsourcingEnterprise'
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 企业修改
      tags:
      - 委外企业管理
  /p/createProduct:
    post:
      consumes:
@@ -1597,7 +2287,7 @@
        name: data
        required: true
        schema:
          $ref: '#/definitions/request.GetById'
          $ref: '#/definitions/srm_model_common_request.GetById'
      produces:
      - application/json
      responses:
@@ -1660,6 +2350,9 @@
      - application/json
      parameters:
      - in: query
        name: categoryName
        type: string
      - in: query
        name: deliveryTime
        type: integer
      - description: 关键字
@@ -1683,9 +2376,6 @@
        in: query
        name: pageSize
        type: integer
      - in: query
        name: productType
        type: string
      - in: query
        name: purchasePrice
        type: number
@@ -1710,6 +2400,11 @@
      - in: query
        name: unit
        type: string
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
@@ -1727,6 +2422,9 @@
      consumes:
      - application/json
      parameters:
      - in: query
        name: categoryName
        type: string
      - in: query
        name: deliveryTime
        type: integer
@@ -1751,9 +2449,6 @@
        in: query
        name: pageSize
        type: integer
      - in: query
        name: productType
        type: string
      - in: query
        name: purchasePrice
        type: number
@@ -1813,6 +2508,195 @@
      summary: 更新Product
      tags:
      - Product
  /previewContract:
    get:
      consumes:
      - application/json
      parameters:
      - in: query
        name: created_at
        type: string
      - in: query
        name: fileName
        type: string
      - description: 主键ID
        in: query
        name: id
        type: integer
      - in: query
        name: supplierID
        type: integer
      - in: query
        name: updated_at
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"预览成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 预览Contract
      tags:
      - Contract
  /purchase/allProductInWarehouse:
    post:
      consumes:
      - application/json
      parameters:
      - description: 参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo'
      produces:
      - application/json
      responses:
        "200":
          description: 获取确认信息
          schema:
            $ref: '#/definitions/response.Response'
      security:
      - ApiKeyAuth: []
      summary: 全部合格入库
      tags:
      - Purchase
  /purchase/getOperationInfo/{id}:
    get:
      consumes:
      - application/json
      produces:
      - application/json
      responses:
        "200":
          description: 获取操作信息
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/response.OperationInfo'
                  type: array
              type: object
      security:
      - ApiKeyAuth: []
      summary: 获取操作信息
      tags:
      - Purchase
  /purchase/getPurchaseProductConfirmInfo/{number}:
    get:
      consumes:
      - application/json
      parameters:
      - description: 采购单编码
        in: path
        name: number
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 获取确认信息
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/purchase.PurchaseProductConfirm'
                  type: array
              type: object
      security:
      - ApiKeyAuth: []
      summary: 获取确认信息
      tags:
      - Purchase
  /purchase/getPurchaseQualityInspectionInfo:
    post:
      consumes:
      - application/json
      parameters:
      - description: 参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/purchaserequest.GetQualityInspectionInfo'
      produces:
      - application/json
      responses:
        "200":
          description: 获取确认信息
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/purchase.PurchaseProductConfirm'
                  type: array
              type: object
      security:
      - ApiKeyAuth: []
      summary: 获取采购质检信息信息
      tags:
      - Purchase
  /purchase/getWarehouseInfo:
    get:
      consumes:
      - application/json
      produces:
      - application/json
      responses:
        "200":
          description: 获取采购类型列表
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/purchase_wms.SrmGetWarehouseInfoResponse'
                  type: array
              type: object
      security:
      - ApiKeyAuth: []
      summary: 获取仓库列表
      tags:
      - Purchase
  /purchase/newSubmit:
    post:
      consumes:
      - application/json
      parameters:
      - description: 参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/purchaserequest.SubmitPurchase'
      produces:
      - application/json
      responses:
        "200":
          description: 新版提交
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                msg:
                  type: string
              type: object
      security:
      - ApiKeyAuth: []
      summary: 新版提交
      tags:
      - Purchase
  /purchase/purchase:
    post:
      consumes:
@@ -1940,6 +2824,10 @@
        in: query
        name: pageSize
        type: integer
      - description: 供应商id
        in: query
        name: supplierId
        type: integer
      produces:
      - application/json
      responses:
@@ -2031,6 +2919,10 @@
        in: query
        name: pageSize
        type: integer
      - description: 供应商id
        in: query
        name: supplierId
        type: integer
      produces:
      - application/json
      responses:
@@ -2050,16 +2942,77 @@
      summary: 分页获取质检单列表
      tags:
      - QualityInspect
  /purchase/submit/{id}:
  /purchase/savePurchaseProductConfirm:
    post:
      consumes:
      - application/json
      parameters:
      - description: 采购单ID
        in: path
        name: id
      - description: list
        in: body
        name: data
        required: true
        type: integer
        schema:
          items:
            $ref: '#/definitions/purchaserequest.PurchaseProductConfirmInfo'
          type: array
      produces:
      - application/json
      responses:
        "200":
          description: 确认收货
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                msg:
                  type: string
              type: object
      security:
      - ApiKeyAuth: []
      summary: 确认收货
      tags:
      - Purchase
  /purchase/savePurchaseQualityInspectionInfo:
    post:
      consumes:
      - application/json
      parameters:
      - description: 参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/purchaserequest.SaveQualityInspectionInfo'
      produces:
      - application/json
      responses:
        "200":
          description: 获取确认信息
          schema:
            allOf:
            - $ref: '#/definitions/response.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/purchase.PurchaseProductConfirm'
                  type: array
              type: object
      security:
      - ApiKeyAuth: []
      summary: 保存采购质检信息信息
      tags:
      - Purchase
  /purchase/submit:
    post:
      consumes:
      - application/json
      parameters:
      - description: 参数
        in: body
        name: data
        required: true
        schema:
          $ref: '#/definitions/purchaserequest.SubmitPurchase'
      produces:
      - application/json
      responses:
@@ -2199,9 +3152,10 @@
        name: fileId
        type: integer
      - description: 主键ID
        example: "0"
        in: query
        name: id
        type: integer
        type: string
      - in: query
        name: industry
        type: string
@@ -2241,6 +3195,28 @@
      summary: 用id查询Supplier
      tags:
      - Supplier
  /s/getSupplierByNumber/{number}:
    get:
      consumes:
      - application/json
      parameters:
      - description: 供应商编码
        in: path
        name: number
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: '{"success":true,"data":{},"msg":"查询成功"}'
          schema:
            type: string
      security:
      - ApiKeyAuth: []
      summary: 用编码查询Supplier
      tags:
      - Supplier
  /s/getSupplierList:
    get:
      consumes:
@@ -2274,9 +3250,10 @@
        name: fileId
        type: integer
      - description: 主键ID
        example: "0"
        in: query
        name: id
        type: integer
        type: string
      - in: query
        name: industry
        type: string