feat: 實作銷售單匯入管理、貨道扣庫優化及 UI 細節調整
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 1m8s

This commit is contained in:
2026-02-09 14:36:47 +08:00
parent 590580e20a
commit b6fe9ad9f3
22 changed files with 1274 additions and 33 deletions

View File

@@ -23,7 +23,9 @@ import {
FileSpreadsheet,
BookOpen,
ClipboardCheck,
ArrowLeftRight
ArrowLeftRight,
TrendingUp,
FileUp
} from "lucide-react";
import { toast, Toaster } from "sonner";
import { useState, useEffect, useMemo, useRef } from "react";
@@ -159,6 +161,21 @@ export default function AuthenticatedLayout({
},
],
},
{
id: "sales-management",
label: "銷售管理",
icon: <TrendingUp className="h-5 w-5" />,
// permission: ["sales.view_imports"], // Temporarily disabled for immediate visibility
children: [
{
id: "sales-import-list",
label: "銷售單匯入",
icon: <FileUp className="h-4 w-4" />,
route: "/sales/imports",
// permission: "sales.view_imports",
},
],
},
{
id: "production-management",
label: "生產管理",