liujiandao
2024-03-30 69f0410081da54e6cea8a04a07fd0119a8edc623
docs/swagger.yaml
@@ -506,7 +506,7 @@
        description: 签约日期
        type: string
      sourceOrder:
        description: 来源单据
        description: 来源单据 ,销售明细编码
        type: string
      status:
        allOf:
@@ -808,6 +808,13 @@
      status:
        type: integer
    type: object
  purchaserequest.SubmitPurchase:
    properties:
      id:
        type: integer
      status:
        $ref: '#/definitions/purchase.OrderStatus'
    type: object
  purchaserequest.UpdatePurchase:
    properties:
      productList:
@@ -881,14 +888,8 @@
          $ref: '#/definitions/test.SupplierType'
        type: array
    type: object
  response.OperationInfo:
  response.InWarehouseInfo:
    properties:
      amount:
        description: 采购数
        type: number
      modelNumber:
        description: 型号
        type: string
      name:
        description: 产品名称
        type: string
@@ -907,26 +908,22 @@
      principal:
        description: 负责人
        type: string
      purchasePrice:
        description: 单价
        type: number
      sendAmount:
        description: 发货数
        type: integer
      specifications:
        description: 规格
        type: string
      status:
        type: integer
      total:
        description: 总价
        type: number
      unit:
        description: 单位
        type: string
      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:
@@ -937,6 +934,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:
@@ -1974,6 +2004,11 @@
      - in: query
        name: unit
        type: string
      - description: token
        in: header
        name: Authorization
        required: true
        type: string
      produces:
      - application/json
      responses:
@@ -2110,6 +2145,29 @@
      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:
@@ -2215,16 +2273,17 @@
      summary: 获取仓库列表
      tags:
      - Purchase
  /purchase/newSubmit/{id}:
    get:
  /purchase/newSubmit:
    post:
      consumes:
      - application/json
      parameters:
      - description: 采购单ID
        in: path
        name: id
      - description: 参数
        in: body
        name: data
        required: true
        type: integer
        schema:
          $ref: '#/definitions/purchaserequest.SubmitPurchase'
      produces:
      - application/json
      responses:
@@ -2552,11 +2611,12 @@
      consumes:
      - application/json
      parameters:
      - description: 采购单ID
        in: path
        name: id
      - description: 参数
        in: body
        name: data
        required: true
        type: integer
        schema:
          $ref: '#/definitions/purchaserequest.SubmitPurchase'
      produces:
      - application/json
      responses: