zhangqian
2023-11-10 ae4076a20e4b93703028dc1af321f6920290375f
docs/swagger.yaml
@@ -187,6 +187,23 @@
    - SalesDetailsKeywordTypeSignTime
    - SalesDetailsKeywordTypePrincipal
    - SalesDetailsKeywordTypeProductName
  constvar.SalesDetailsStatus:
    enum:
    - 1
    - 2
    - 3
    - 4
    type: integer
    x-enum-comments:
      OverCLose: 已关闭
      OverOutbound: 出库完成
      WaitConfirmed: 待确认
      WaitOutbound: 待出库
    x-enum-varnames:
    - WaitConfirmed
    - WaitOutbound
    - OverOutbound
    - OverCLose
  constvar.SalesRefundKeywordType:
    enum:
    - 销售退货单编号
@@ -1477,6 +1494,10 @@
        type: integer
      signTime:
        type: string
      source:
        type: string
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
      updateTime:
        type: string
      wechatOrderStatus:
@@ -2179,6 +2200,23 @@
        description: 型号
        type: string
      Unit:
        type: string
    type: object
  product.WorkOrderInfo:
    properties:
      EndTime:
        type: string
      OrderId:
        type: string
      OrderStatus:
        type: string
      ProductName:
        type: string
      StartTime:
        type: string
      WorkOrderId:
        type: string
      WorkOrderStatus:
        type: string
    type: object
  request.AddAccountId:
@@ -2914,6 +2952,10 @@
        type: integer
      signTime:
        type: string
      source:
        type: string
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
      wechatOrderStatusId:
        type: integer
    type: object
@@ -3755,7 +3797,7 @@
      keywordType:
        $ref: '#/definitions/constvar.SalesDetailsKeywordType'
      number:
        description: 销售子单号
        description: 销售明细单号
        type: string
      page:
        description: 页码
@@ -4008,6 +4050,10 @@
        type: integer
      signTime:
        type: string
      source:
        type: string
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
      wechatOrderStatusId:
        type: integer
    type: object
@@ -5133,6 +5179,13 @@
        type: integer
      salesDetails:
        $ref: '#/definitions/request.SalesDetails'
    type: object
  request.UpdateSalesDetailsStatus:
    properties:
      id:
        type: integer
      status:
        $ref: '#/definitions/constvar.SalesDetailsStatus'
    type: object
  request.UpdateSalesLeads:
    properties:
@@ -9304,6 +9357,31 @@
      summary: 更新优先级别
      tags:
      - 优先级别管理
  /api/product/getProductOrderInfo/{number}:
    get:
      parameters:
      - description: 明细编码
        in: path
        name: number
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: 成功
          schema:
            allOf:
            - $ref: '#/definitions/contextx.Response'
            - properties:
                data:
                  items:
                    $ref: '#/definitions/product.WorkOrderInfo'
                  type: array
              type: object
      summary: 获取产品订单信息
      tags:
      - 产品
  /api/product/info:
    get:
      parameters:
@@ -10540,6 +10618,25 @@
      summary: 添加销售明细
      tags:
      - SalesDetails
  /api/salesDetails/createOperation:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.SalesDetails'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 创建产品出库信息
      tags:
      - SalesDetails
  /api/salesDetails/delete:
    delete:
      parameters:
@@ -10575,6 +10672,24 @@
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 删除销售明细
      tags:
      - SalesDetails
  /api/salesDetails/getProductInventoryInfo/{number}:
    get:
      parameters:
      - description: 明细编码
        in: path
        name: number
        required: true
        type: string
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/response.ListResponse'
      summary: 获取产品库存信息
      tags:
      - SalesDetails
  /api/salesDetails/list:
@@ -10620,6 +10735,25 @@
      summary: 更新销售明细
      tags:
      - SalesDetails
  /api/salesDetails/updateStatus:
    post:
      parameters:
      - description: 查询参数
        in: body
        name: object
        required: true
        schema:
          $ref: '#/definitions/request.UpdateSalesDetailsStatus'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/contextx.Response'
      summary: 更新销售明细状态
      tags:
      - SalesDetails
  /api/salesLeads/add:
    post:
      parameters: