| | |
| | | // @Security ApiKeyAuth |
| | | // @accept application/json |
| | | // @Produce application/json |
| | | // @Param id path int true "采购单ID" |
| | | // @Param data body purchaserequest.SubmitPurchase true "参数" |
| | | // @Success 200 {object} response.Response{msg=string} "提交采购单" |
| | | // @Router /purchase/submit [post] |
| | | func (e *PurchaseApi) Submit(c *gin.Context) { |
| | |
| | | // @Security ApiKeyAuth |
| | | // @accept application/json |
| | | // @Produce application/json |
| | | // @Param id path int true "采购单ID" true "采购单ID" |
| | | // @Param data body purchaserequest.SubmitPurchase true "参数" |
| | | // @Success 200 {object} response.Response{msg=string} "新版提交" |
| | | // @Router /purchase/newSubmit [post] |
| | | func (e *PurchaseApi) NewSubmit(c *gin.Context) { |