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' ? ( <>