|
@@ -16,9 +16,10 @@ func Report(r *GinRouter) {
|
|
|
r.GET("/report/produce/list", ReportProduceList)
|
|
|
// 采购列表
|
|
|
r.GET("/report/purchase/list", ReportPurchaseList)
|
|
|
- r.GET("/report/product/list", ReportPorductList)
|
|
|
+ r.GET("/report/product/list", ReportProductList)
|
|
|
r.GET("/report/produce/download", ReportProduceDownload)
|
|
|
r.GET("/report/purchase/download", ReportPurchaseDownload)
|
|
|
+ r.GET("/report/product/download", ReportProductDownload)
|
|
|
}
|
|
|
|
|
|
// 加工单
|
|
@@ -47,7 +48,7 @@ func ReportPurchaseList(c *gin.Context, apictx *ApiSession) (interface{}, error)
|
|
|
|
|
|
}
|
|
|
|
|
|
-func ReportPorductList(c *gin.Context, apictx *ApiSession) (interface{}, error) {
|
|
|
+func ReportProductList(c *gin.Context, apictx *ApiSession) (interface{}, error) {
|
|
|
page, size, query := UtilQueryPageSize(c)
|
|
|
return repo.RepoPageSearch(apictx.CreateRepoCtx(), &repo.PageSearchOptions{
|
|
|
CollectName: repo.CollectionBillProduct,
|