更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-11
View File
@@ -4,17 +4,10 @@ import (
"server/models"
)
// 移动端进销存报表接口:购销汇总、热销排行、收发存、毛利。
//
// 统计口径全部来自「已生效」单据与库存流水,与 Web 端报表共用 erp_report_core.go,
// 因此手机端看到的金额一定能和后台对得上;经营看板见 /api/erp/dashboard。
// AppErpReportController 报表(移动端)
type AppErpReportController struct {
AppErpBaseController
}
// PurchaseSummary GET /api/erp/report/purchase?dimension=product|supplier|month 采购汇总
func (c *AppErpReportController) PurchaseSummary() {
cl, err := c.erpClaims()
if c.erpDenied(err) {
@@ -27,7 +20,6 @@ func (c *AppErpReportController) PurchaseSummary() {
c.erpOk(erpSummaryReportData(group, items, docPartner, returnItems))
}
// SalesSummary GET /api/erp/report/sales?dimension=product|customer|month 销售汇总
func (c *AppErpReportController) SalesSummary() {
cl, err := c.erpClaims()
if c.erpDenied(err) {
@@ -40,7 +32,6 @@ func (c *AppErpReportController) SalesSummary() {
c.erpOk(erpSummaryReportData(group, items, docPartner, returnItems))
}
// Rank GET /api/erp/report/rank?order=desc|asc&top=10 热销/滞销排行
func (c *AppErpReportController) Rank() {
cl, err := c.erpClaims()
if c.erpDenied(err) {
@@ -56,7 +47,6 @@ func (c *AppErpReportController) Rank() {
c.erpOk(data)
}
// StockMove GET /api/erp/report/stockmove 收发存汇总表
func (c *AppErpReportController) StockMove() {
cl, err := c.erpClaims()
if c.erpDenied(err) {
@@ -73,7 +63,6 @@ func (c *AppErpReportController) StockMove() {
c.erpListOK(list, total, page, pageSize, map[string]interface{}{"summary": summary})
}
// Profit GET /api/erp/report/profit 毛利分析
func (c *AppErpReportController) Profit() {
cl, err := c.erpClaims()
if c.erpDenied(err) {