liujiandao
2024-03-14 99e5ccc3e971607a997af7b3f700d397049d300a
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
@@ -6103,6 +6113,10 @@
        items:
          $ref: '#/definitions/response.WorkOrderInfo'
        type: array
      outsourcingInfo:
        items:
          $ref: '#/definitions/response.OutsourcingInfo'
        type: array
      purchaseInfo:
        items:
          $ref: '#/definitions/response.Purchase'
@@ -6173,6 +6187,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 +6243,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:
@@ -6407,16 +6465,30 @@
    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: