小程序用户改用门店登录

This commit is contained in:
liu
2026-08-20 13:46:04 +08:00
parent 6d9f02d831
commit c1d490134e
251 changed files with 689 additions and 2727 deletions
+4 -14
View File
@@ -17,7 +17,6 @@ import {
ShopOutlined,
ShoppingCartOutlined,
TruckOutlined,
UserOutlined,
WalletOutlined,
} from "@ant-design/icons";
import ReactECharts from "echarts-for-react";
@@ -55,7 +54,7 @@ const EMPTY: IDashboardAnalysis = {
top_stores: [],
recon: { bills: [], pending_payment: { count: 0, amount: 0 } },
latest_orders: [],
archives: { stores: 0, products: 0, suppliers: 0, users: 0 },
archives: { stores: 0, products: 0, suppliers: 0 },
};
/** 环比涨跌(红涨绿跌);上期为0无基准时显示 — */
@@ -597,7 +596,7 @@ const Index: React.FC = () => {
</Col>
{/* ===== 基础档案 ===== */}
<Col xxl={6} lg={12} xs={24}>
<Col xxl={8} lg={12} xs={24}>
<Card variant={"borderless"}>
<Statistic
title={t("dashboard.analysis.archivesStores")}
@@ -606,7 +605,7 @@ const Index: React.FC = () => {
/>
</Card>
</Col>
<Col xxl={6} lg={12} xs={24}>
<Col xxl={8} lg={12} xs={24}>
<Card variant={"borderless"}>
<Statistic
title={t("dashboard.analysis.archivesProducts")}
@@ -615,7 +614,7 @@ const Index: React.FC = () => {
/>
</Card>
</Col>
<Col xxl={6} lg={12} xs={24}>
<Col xxl={8} lg={12} xs={24}>
<Card variant={"borderless"}>
<Statistic
title={t("dashboard.analysis.archivesSuppliers")}
@@ -624,15 +623,6 @@ const Index: React.FC = () => {
/>
</Card>
</Col>
<Col xxl={6} lg={12} xs={24}>
<Card variant={"borderless"}>
<Statistic
title={t("dashboard.analysis.archivesUsers")}
value={archives.users}
prefix={<UserOutlined style={{ color: token.colorInfo }} />}
/>
</Card>
</Col>
</Row>
</Spin>
);