| | |
| | | description: 签约日期 |
| | | type: string |
| | | sourceOrder: |
| | | description: 来源单据 |
| | | description: 来源单据 ,销售明细编码 |
| | | type: string |
| | | status: |
| | | allOf: |
| | |
| | | status: |
| | | type: integer |
| | | type: object |
| | | purchaserequest.SubmitPurchase: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | status: |
| | | $ref: '#/definitions/purchase.OrderStatus' |
| | | type: object |
| | | purchaserequest.UpdatePurchase: |
| | | properties: |
| | | productList: |
| | |
| | | $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 |
| | |
| | | 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: |
| | |
| | | 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: |
| | |
| | | - in: query |
| | | name: unit |
| | | type: string |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | 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: |
| | |
| | | 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: |
| | |
| | | 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: |