From 68cd309bdd3bcfcd05ee2dd776397ea236142ae6 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 18 Sep 2026 18:45:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor(consignment):=20=E6=B8=85=E7=90=86?= =?UTF-8?q?=E5=AF=84=E5=8D=96=E5=BA=93=E5=AD=98=E8=AF=A6=E6=83=85=E4=B8=8E?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E4=B8=AD=E7=9A=84=E4=B8=8A=E5=8F=B7=E5=87=AD?= =?UTF-8?q?=E6=8D=AE=E6=97=A7=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 物品详情弹窗中移除登录方式、账号、密码、上号说明等旧上号字段,保留履约信息与备注; 2. 编辑物品弹窗中移除上号凭据信息卡片,聚焦现货规格、成本、供货打手与备注。 --- .../panels/ConsignmentInventoryPanel.tsx | 42 +------------------ 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/apps/frontend/src/pages/admin/panels/ConsignmentInventoryPanel.tsx b/apps/frontend/src/pages/admin/panels/ConsignmentInventoryPanel.tsx index b2608220..ba3010ae 100644 --- a/apps/frontend/src/pages/admin/panels/ConsignmentInventoryPanel.tsx +++ b/apps/frontend/src/pages/admin/panels/ConsignmentInventoryPanel.tsx @@ -255,13 +255,6 @@ export default function ConsignmentInventoryPanel() { workerId: values.workerId || undefined, workerName: selectedWorker?.name || editingItem.workerName || undefined, workerPhone: selectedWorker?.phone || editingItem.workerPhone || undefined, - depositAmountFen, - credentialsJson: { - loginMethod: values.loginMethod, - account: values.account, - password: values.password, - authNote: values.authNote, - }, remark: values.remark, allowMatching: values.allowMatching !== false, }) @@ -590,10 +583,6 @@ export default function ConsignmentInventoryPanel() { depositAmount: record.depositAmountFen ? record.depositAmountFen / 100 : undefined, - loginMethod: (record.credentialsJson as any)?.loginMethod, - account: (record.credentialsJson as any)?.account, - password: (record.credentialsJson as any)?.password, - authNote: (record.credentialsJson as any)?.authNote, }) }} > @@ -950,24 +939,6 @@ export default function ConsignmentInventoryPanel() { - - - - - - - - - - - - - - - - - - @@ -1156,18 +1127,7 @@ export default function ConsignmentInventoryPanel() { ) : null} - - {(viewingItem.credentialsJson as any)?.loginMethod || '-'} - - - {(viewingItem.credentialsJson as any)?.account || '-'} - - - {(viewingItem.credentialsJson as any)?.password || '-'} - - - {(viewingItem.credentialsJson as any)?.authNote || '-'} - + {viewingItem.status === 'consumed' ? ( <>