From e38484d384da5f9605a40b0e91f6b5fd423dac81 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Sat, 28 Mar 2026 18:38:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=A2=E6=88=B7=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=94=B9=E4=B8=BA=E4=B8=9A=E5=8A=A1=E7=BB=8F?= =?UTF-8?q?=E7=90=86=E5=8D=A1=E7=89=87=EF=BC=8C=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E8=B5=84=E4=BA=A7=E6=B1=87=E6=80=BB=E9=80=82=E9=85=8D=E5=8E=9F?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 68 ++++++++++++++++------------------------------------- 1 file changed, 20 insertions(+), 48 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index a298c51..3b4b96b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -999,48 +999,34 @@ export default function App() { {model.model}
- - - 运营 {model.operating} - + 资产 {model.total} + 库存 {model.inventory} + 运营 {model.operating}
{expandedModels.has(model.model) && (
-
setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Inventory' })} - > +
setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Inventory', source: 'asset', title: `${model.model} - 库存` })}> 总库存 {model.inventory}
-
- setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Pending' }) - } - > +
setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Pending', source: 'asset', title: `${model.model} - 待交车` })}> 待交车 {model.pending}
- {['嘉兴', '广东', '北京', '新疆', '其他'].map((reg) => ( + {['嘉兴', '广东', '北京', '新疆', '其他'].map(reg => (
-
- {reg === '嘉兴' ? '江浙沪' : reg} -
+
{reg === '嘉兴' ? '浙' : reg === '广东' ? '粤' : reg === '北京' ? '京' : reg === '新疆' ? '新' : '其'}
{(model.inventoryRegions[reg] || 0) > 0 ? (
-
- setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Delivered' }) - } - > +
setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Delivered', source: 'asset', title: `${model.model} - 本周交车` })}> 本周已交车 {model.weeklyDelivered}
-
- setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Returned' }) - } - > +
setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Returned', source: 'asset', title: `${model.model} - 本周还车` })}> 已还车 {model.weeklyReturned}
-
- setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Replaced' }) - } - > +
setShowPlateNumbers({ batch: 'All', model: model.model, location: 'All', category: 'Replaced', source: 'asset', title: `${model.model} - 本周替换` })}> 已替换 {model.weeklyReplaced}
@@ -2635,7 +2609,6 @@ export default function App() {
客户详情
{cust.customer}
-
主责业务负责人: {cust.manager}
主要车型
@@ -2644,8 +2617,8 @@ export default function App() {
-
运营状态
-
正常运营中
+
业务经理
+
{cust.manager}
资产占比
@@ -2695,7 +2668,6 @@ export default function App() {
客户详情
{cust.customer}
-
主责: {cust.manager}
主要车型
@@ -2704,8 +2676,8 @@ export default function App() {
-
运营状态
-
正常运营中
+
业务经理
+
{cust.manager}
资产占比