feat: improve asset inventory statistics and responsive UX (v1.1.16)

This commit is contained in:
shishengliang
2026-09-23 11:07:36 +08:00
parent 9b0980e349
commit b0cba26fbb
30 changed files with 626 additions and 498 deletions
+4
View File
@@ -17,6 +17,10 @@ export function maskCustomerNames<T>(items: T[]): T[] {
const copy = { ...obj };
if ('customer' in copy && copy.customer) copy.customer = maskCustomerName(copy.customer);
if ('customerName' in copy && copy.customerName) copy.customerName = maskCustomerName(copy.customerName);
if (copy.pendingDelivery) copy.pendingDelivery = {
...copy.pendingDelivery,
customerName: maskCustomerName(copy.pendingDelivery.customerName),
};
return copy as T;
});
}