| | |
| | | status: |
| | | type: integer |
| | | type: object |
| | | purchaserequest.SubmitPurchase: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | status: |
| | | $ref: '#/definitions/purchase.OrderStatus' |
| | | type: object |
| | | purchaserequest.UpdatePurchase: |
| | | properties: |
| | | productList: |
| | |
| | | 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: |