生產工單BOM以及批號完善
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 57s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-22 15:39:35 +08:00
parent 1ae21febb5
commit 1d134c9ad8
31 changed files with 2684 additions and 694 deletions

View File

@@ -12,6 +12,7 @@ interface Props {
id: string;
productName: string;
productCode: string;
batchNumber?: string;
quantity: number;
};
transactions: Transaction[];
@@ -40,9 +41,12 @@ export default function InventoryHistory({ warehouse, inventory, transactions }:
<History className="h-6 w-6 text-primary-main" />
</h1>
<p className="text-gray-500 mt-1">
<span className="font-medium text-gray-900">{inventory.productName}</span>
{inventory.productCode && <span className="text-gray-500 ml-2">({inventory.productCode})</span>}
<p className="text-gray-500 mt-1 flex gap-4 items-center">
<span><span className="font-medium text-gray-900">{inventory.productName}</span></span>
{inventory.productCode && <span className="text-gray-500">({inventory.productCode})</span>}
{inventory.batchNumber && (
<span><span className="font-medium text-primary-main bg-primary-main/10 px-2 py-0.5 rounded border border-primary-main/20">{inventory.batchNumber}</span></span>
)}
</p>
</div>
</div>