liujiandao
2024-03-26 1c17ff16fd13e4d8bbab75d8a728cf18465b20e0
docs/swagger.yaml
@@ -193,14 +193,20 @@
    - 2
    - 3
    - 4
    - 5
    - 6
    type: integer
    x-enum-comments:
      InStock: 备货中
      OverCLose: 已关闭
      OverOutbound: 出库完成
      WaitConfirmed: 待确认
      WaitDecompose: 待分解
      WaitOutbound: 待出库
    x-enum-varnames:
    - WaitConfirmed
    - WaitDecompose
    - InStock
    - WaitOutbound
    - OverOutbound
    - OverCLose
@@ -1134,8 +1140,12 @@
        type: number
      profit:
        type: string
      specs:
        type: string
      total:
        type: number
      type:
        type: string
      unit:
        type: string
    type: object
@@ -3446,6 +3456,29 @@
        type: array
    required:
    - ids
    type: object
  request.ConfirmOutput:
    properties:
      products:
        items:
          $ref: '#/definitions/request.ConfirmOutputProducts'
        type: array
      saleDetailNumber:
        type: string
    type: object
  request.ConfirmOutputOver:
    properties:
      saleDetailNumber:
        type: string
    type: object
  request.ConfirmOutputProducts:
    properties:
      number:
        description: 产品编号
        type: string
      outputAmount:
        description: 本次发货数量
        type: number
    type: object
  request.Contact:
    properties:
@@ -6103,6 +6136,14 @@
        items:
          $ref: '#/definitions/response.WorkOrderInfo'
        type: array
      outsourcingInfo:
        items:
          $ref: '#/definitions/response.OutsourcingInfo'
        type: array
      productInfo:
        items:
          $ref: '#/definitions/response.SalesDetailsProductInfo'
        type: array
      purchaseInfo:
        items:
          $ref: '#/definitions/response.Purchase'
@@ -6173,6 +6214,36 @@
          $ref: '#/definitions/model.OrderType'
        type: array
    type: object
  response.OutsourcingInfo:
    properties:
      amount:
        description: 订单数量
        type: integer
      endTime:
        type: string
      finishAmount:
        description: 完成数量
        type: integer
      outsourcingId:
        description: 委外订单id
        type: string
      outsourcingStatus:
        type: string
      productId:
        type: string
      productName:
        type: string
      specs:
        description: 物料规格
        type: string
      startTime:
        type: string
      supplierName:
        type: string
      unit:
        description: 单位
        type: string
    type: object
  response.PlanResponse:
    properties:
      count:
@@ -6199,14 +6270,28 @@
  response.Purchase:
    properties:
      amount:
        description: 订单数量
        type: integer
      finishAmount:
        description: 完成数量
        type: integer
      productId:
        type: string
      productName:
        type: string
      purchaseName:
        type: string
      purchaseNumber:
        type: string
      specs:
        description: 物料规格
        type: string
      status:
        type: integer
      supplierName:
        type: string
      unit:
        description: 单位
        type: string
    type: object
  response.QuotationResponse:
@@ -6290,6 +6375,61 @@
        items:
          $ref: '#/definitions/model.SaleType'
        type: array
    type: object
  response.SalesDetailsProductInfo:
    properties:
      amount:
        description: 订单数量
        type: number
      cost:
        description: 产品成本
        type: string
      deliveryAmount:
        description: 发货数量
        type: integer
      finishAmount:
        description: 完成数量
        type: integer
      makeAmount:
        description: 制造数量
        type: integer
      makeFinishAmount:
        description: 制造完成数量
        type: integer
      margin:
        description: 毛利率
        type: string
      outsourcingAmount:
        description: 委外数量
        type: integer
      outsourcingFinishAmount:
        description: 委外完成数量
        type: integer
      price:
        description: 产品价格
        type: number
      productId:
        type: string
      productName:
        type: string
      profit:
        description: 毛利
        type: string
      purchaseAmount:
        description: 采购数量
        type: integer
      purchaseFinishAmount:
        description: 采购完成数量
        type: integer
      specs:
        description: 物料规格
        type: string
      total:
        description: 产品总价
        type: number
      unit:
        description: 单位
        type: string
    type: object
  response.SalesDetailsResponse:
    properties:
@@ -6407,19 +6547,40 @@
    type: object
  response.WorkOrderInfo:
    properties:
      amount:
        description: 订单数量
        type: integer
      endTime:
        type: string
      finishAmount:
        description: 完成数量
        type: integer
      orderId:
        type: string
      orderStatus:
        type: string
      productId:
        type: string
      productName:
        type: string
      specs:
        description: 物料规格
        type: string
      startTime:
        type: string
      unit:
        description: 单位
        type: string
      workOrderId:
        type: string
      workOrderStatus:
        type: string
    type: object
  v1.GetWarehouseProductInfoReq:
    properties:
      saleDetailID:
        type: integer
      saleDetailNumber:
        type: string
    type: object
info:
@@ -9687,6 +9848,25 @@
      summary: 报价单列表
      tags:
      - Quotation
  /api/quotation/statistics:
    get:
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  additionalProperties:
                    type: integer
                  type: object
              type: object
      summary: 报价单统计
      tags:
      - Quotation
  /api/quotation/update:
    put:
      parameters:
@@ -10710,6 +10890,44 @@
      summary: 添加销售明细
      tags:
      - SalesDetails
  /api/salesDetails/confirmOutput:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ConfirmOutput'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 确认发货
      tags:
      - SalesDetails
  /api/salesDetails/confirmOutputOver:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.ConfirmOutputOver'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 确认发货
      tags:
      - SalesDetails
  /api/salesDetails/delete:
    delete:
      parameters:
@@ -10759,6 +10977,44 @@
      summary: 获取aps项目列表
      tags:
      - SalesDetails
  /api/salesDetails/getDeliveryList:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/v1.GetWarehouseProductInfoReq'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 发货明细
      tags:
      - SalesDetails
  /api/salesDetails/getDeliveryPrepareInfo:
    post:
      parameters:
      - description: 明细编码
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/v1.GetWarehouseProductInfoReq'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取产品入库信息
      tags:
      - SalesDetails
  /api/salesDetails/getProductInventoryInfo/{number}:
    get:
      parameters:
@@ -10774,7 +11030,7 @@
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取产品库存信息
      summary: 获取产品发货信息
      tags:
      - SalesDetails
  /api/salesDetails/list: