setShippingView("write")}>
+
+ 출고 등록
+
+ }
+ searchPlaceholder=""
+ filterButton={false}
+ showSearch={false}
+ data={shippingList}
+ keyField="id"
+ columns={columns}
+ renderMobileCard={(item) => ({
+ title: item.item,
+ subtitle: item.spec,
+ icon: (
+
+
+ {item.shippingNumber}
+
+
+ ),
+ badge: {
+ label: item.status,
+ variant: getStatusBadgeVariant(item.status)
+ },
+ fields: [
+ {
+ label: "수량",
+ value: `${item.quantity} ${item.unit}`
+ },
+ {
+ label: "중량",
+ value: `${item.weight} kg`
+ },
+ {
+ label: "출고처",
+ value: item.destination
+ },
+ {
+ label: "요청일",
+ value: item.requestDate
+ },
+ {
+ label: "출고일",
+ value: item.shippingDate
+ },
+ {
+ label: "팀장승인",
+ value: item.managerApproval
+ }
+ ],
+ actions: []
+ })}
+ emptyIcon={Truck}
+ emptyTitle="출고 데이터가 없습니다"
+ emptyDescription="출고 내역을 등록해주세요"
+ />
+ );
+}
\ No newline at end of file
diff --git a/vite.config.ts b/vite.config.ts
index c11ad75..dbec539 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -61,7 +61,7 @@
outDir: 'build',
},
server: {
- port: 3000,
+ port: 3002,
open: true,
},
});
\ No newline at end of file