소스 검색

fix frontend build error

reset-do-picking-order
kelvin.yau 1 주 전
부모
커밋
d91928082f
1개의 변경된 파일11개의 추가작업 그리고 8개의 파일을 삭제
  1. +11
    -8
      src/app/(main)/chart/delivery/page.tsx

+ 11
- 8
src/app/(main)/chart/delivery/page.tsx 파일 보기

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


불러오는 중...
취소
저장