Parcourir la source

no message

reset-do-picking-order
kelvin.yau il y a 1 semaine
Parent
révision
84baa17e9f
1 fichiers modifiés avec 11 ajouts et 8 suppressions
  1. +11
    -8
      src/app/(main)/chart/delivery/page.tsx

+ 11
- 8
src/app/(main)/chart/delivery/page.tsx Voir le fichier

@@ -286,14 +286,17 @@ export default function DeliveryChartPage() {
<TextField {...params} label="員工" placeholder="不選則全部" />
)}
renderTags={(value, getTagProps) =>
value.map((option, index) => (
<Chip
key={option.staffNo}
label={[option.staffNo, option.name].filter(Boolean).join(" - ")}
size="small"
{...getTagProps({ index })}
/>
))
value.map((option, index) => {
const { key: _key, ...tagProps } = getTagProps({ index });
return (
<Chip
key={option.staffNo}
label={[option.staffNo, option.name].filter(Boolean).join(" - ")}
size="small"
{...tagProps}
/>
);
})
}
sx={{ minWidth: 260 }}
/>


Chargement…
Annuler
Enregistrer