| | |
| | | // @Security ApiKeyAuth |
| | | // @accept application/json |
| | | // @Produce application/json |
| | | // @Param data body purchaserequest.SaveQualityInspectionInfo true "参数" |
| | | // @Success 200 {object} response.Response{data=[]purchase.PurchaseProductConfirm} "获取确认信息" |
| | | // @Param data body purchaserequest.PurchaseProductConfirmInfo true "参数" |
| | | // @Success 200 {object} response.Response{} "获取确认信息" |
| | | // @Router /purchase/allProductInWarehouse [post] |
| | | func (e *PurchaseApi) AllProductInWarehouse(c *gin.Context) { |
| | | var params []*purchaserequest.PurchaseProductConfirmInfo |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/allProductInWarehouse": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "全部合格入库", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "获取确认信息", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/getOperationInfo/{id}": { |
| | | "get": { |
| | | "security": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/allProductInWarehouse": { |
| | | "post": { |
| | | "security": [ |
| | | { |
| | | "ApiKeyAuth": [] |
| | | } |
| | | ], |
| | | "consumes": [ |
| | | "application/json" |
| | | ], |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Purchase" |
| | | ], |
| | | "summary": "全部合格入库", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "data", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/purchaserequest.PurchaseProductConfirmInfo" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "获取确认信息", |
| | | "schema": { |
| | | "$ref": "#/definitions/response.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/purchase/getOperationInfo/{id}": { |
| | | "get": { |
| | | "security": [ |
| | |
| | | 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: |