dsmzx
2024-06-13 f72fb9ca31fbf27b4abbc0156e60ea162f58df81
router/router.go
@@ -94,6 +94,7 @@
      operationAPI.GET("getSupplierList", operationController.GetSupplierList)
      operationAPI.GET("getClientList", operationController.GetClientList)
      operationAPI.POST("listByCondition", operationController.ListByCondition)
      operationAPI.GET("getPersonnelList", operationController.GetPersonnelList)
   }
@@ -140,20 +141,27 @@
   locationProductAmountController := new(controllers.LocationProductAmountController)
   locationProductAmountAPI := r.Group(urlPrefix + "/locationProductAmount")
   {
      locationProductAmountAPI.POST("add", locationProductAmountController.Add)                 //添加库存盘点信息
      locationProductAmountAPI.POST("list", locationProductAmountController.List)               //查看库存盘点列表
      locationProductAmountAPI.POST("update", locationProductAmountController.Update)           //修改库存盘点信息
      locationProductAmountAPI.POST("finish", locationProductAmountController.Finish)           //应用、验证库存盘点信息
      locationProductAmountAPI.POST("getRuleList", locationProductAmountController.GetRuleList) //获取上架规则
      locationProductAmountAPI.POST("add", locationProductAmountController.Add)                                           //添加库存盘点信息
      locationProductAmountAPI.POST("list", locationProductAmountController.List)                                         //查看库存盘点列表
      locationProductAmountAPI.POST("update", locationProductAmountController.Update)                                     //修改库存盘点信息
      locationProductAmountAPI.POST("finish", locationProductAmountController.Finish)                                     //应用、验证库存盘点信息
      locationProductAmountAPI.POST("getRuleList", locationProductAmountController.GetRuleList)                           //获取上架规则
      locationProductAmountAPI.POST("getLocationProductAmount", locationProductAmountController.GetLocationProductAmount) //获取位置产品信息
   }
   //报表
   reportFormsController := new(controllers.ReportFormsController)
   reportFormsAPI := r.Group(urlPrefix + "/forms")
   {
      reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms) //获取库存报表
      reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)               //获取库存历史
      reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)   //获取位置报表
      reportFormsAPI.POST("getInventoryForms", reportFormsController.GetInventoryForms)           //获取库存报表
      reportFormsAPI.POST("downloadInventoryForms", reportFormsController.DownloadInventoryForms) //下载库存报表
      reportFormsAPI.POST("getHistory", reportFormsController.GetHistory)                         //获取库存历史
      reportFormsAPI.POST("downloadHistory", reportFormsController.DownloadHistory)               //下载库存报表
      reportFormsAPI.POST("getLocationForms", reportFormsController.GetLocationForms)             //获取位置报表
      reportFormsAPI.POST("downloadLocationForms", reportFormsController.DownloadLocationForms)   //下载位置报表
      reportFormsAPI.POST("monthStats", reportFormsController.MonthStats)                         //获取月度统计报表
      reportFormsAPI.POST("downloadMonthStats", reportFormsController.DownloadMonthStats)         //下载月度统计报表
      reportFormsAPI.POST("doMonthStats", reportFormsController.DoMonthStats)                     //手动跑月度统计库存报表
   }
   //重订货规则