| | |
| | | operationAPI.GET("getSupplierList", operationController.GetSupplierList) |
| | | operationAPI.GET("getClientList", operationController.GetClientList) |
| | | operationAPI.POST("listByCondition", operationController.ListByCondition) |
| | | operationAPI.GET("getPersonnelList", operationController.GetPersonnelList) |
| | | |
| | | } |
| | | |
| | |
| | | productAPI.POST("updateDisuse", productController.UpdateDisuse) //修改报废信息 |
| | | productAPI.POST("listHistory", productController.ListHistory) //产品位置历史记录 |
| | | productAPI.PUT("cancelDisuse/:id", productController.CancelDisuse) //取消报废 |
| | | productAPI.GET("getUserInfo", productController.GetUserInfo) //获取登录用户信息 |
| | | productAPI.GET("getUnitInfo", productController.GetUnitInfo) //获取单位信息 |
| | | productAPI.POST("saveUnitDict", productController.SaveUnitDict) //更新计量单位字典 |
| | | |
| | | } |
| | | |
| | |
| | | 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) //手动跑月度统计库存报表 |
| | | } |
| | | |
| | | //重订货规则 |