Commit Graph

75 Commits

Author SHA1 Message Date
2f30a78118 feat(integration): 實作並測試 POS 與販賣機訂單同步 API
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 56s
主要變更:
- 實作 POS 與販賣機訂單同步邏輯,支援多租戶與 Sanctum 驗證。
- 修正多租戶識別中間件與 Sanctum 驗證順序問題。
- 切換快取驅動至 Redis 以支援 Tenancy 標籤功能。
- 新增商品同步 API (Upsert) 及相關單元測試。
- 新增手動測試腳本 tests/manual/test_integration_api.sh。
- 前端新增銷售訂單來源篩選與欄位顯示。
2026-02-23 13:27:12 +08:00
904132e460 feat(integration): 擴充產品同步 API 欄位與驗證強化
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 1m14s
1. ProductSync API 新增防護機制,為既有欄位加上字串長度與金額上限限制
2. 開放並接收 ERP Product Model 實用欄位(品牌、規格、成本價、會員價、批發價)
3. 更新 ProductService 寫入邏輯以支援新增的可選欄位
4. 同步更新 api-integration.md 手冊,加入新欄位說明與 JSON 範例
2026-02-23 11:02:25 +08:00
a05acd96dc feat(integration): 完善外部 API 對接邏輯與安全性
1. 新增 API Rate Limiting (每分鐘 60 次)
2. 實作 ProductServiceInterface 與 findOrCreateWarehouseByName 解決跨模組耦合問題
3. 強化 OrderSync API 驗證 (price 欄位限制最小 0、payment_method 加上允許白名單)
4. 實作 OrderSync API 冪等性處理,重複訂單直接回傳現有資訊
5. 修正 ProductSync API 同步邏輯,每次同步皆會更新產品分類與單位
6. 完善 integration API 對接手冊內容與 UI 排版
2026-02-23 10:10:03 +08:00
e6cf03b991 feat: 實作系統操作手冊模組 (Markdown 渲染與導覽)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 54s
2026-02-13 15:51:51 +08:00
8ef82d49cb feat(inventory): 新增庫存分析模組
- 實作 InventoryAnalysisController 與 TurnoverService
- 新增庫存分析前端頁面 (Inventory/Analysis/Index.tsx)
- 整合路由與選單
- 統一分頁邏輯與狀態顯示
- 更新 UI Consistency Skill 文件
2026-02-13 15:43:12 +08:00
77a7d31dc1 fix(dashboard): 修正儀表板待處理數字邏輯與依賴更新
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 54s
2026-02-13 14:29:21 +08:00
e141a45eb9 feat(dashboard): 新增庫存積壓、熱銷數量與即將過期排行,優化熱銷商品顯示與 Tooltip
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 41s
2026-02-13 14:27:43 +08:00
4fa87925a2 UI優化: 全系統狀態標籤 (StatusBadge) 統一化重構完成 (Phase 3 & 4)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 1m8s
2026-02-13 13:16:05 +08:00
097708aab7 優化: 門市叫貨模組 UI 調整、權限標籤中文化及調撥單動態導覽 2026-02-13 10:39:10 +08:00
882091ce5f feat(notification): 實作通知輪詢與優化顯示名稱
- 新增通知輪詢 API 與前端自動更新機制
- 修正生產工單單號格式為 PRO-YYYYMMDD-XX
- 確保通知顯示實際建立者名稱而非系統
2026-02-12 17:13:09 +08:00
5be4d49679 feat: 修正 BOM 單位顯示與完工入庫彈窗 UI 統一規範 2026-02-12 16:30:34 +08:00
220478641d feat: 更新庫存報表、銷售匯入及採購單相關功能
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 1m3s
2026-02-10 17:18:59 +08:00
593ce94734 修正庫存報表分頁參數衝突導致明細顯示為空的問題 2026-02-10 16:07:31 +08:00
83d26de6f9 refactor: 調整統計基準為明細筆數,並恢復庫存查詢為單一細目顯示模式 2026-02-10 11:15:08 +08:00
38642cc58b feat: 統一度量衡,確保儀表板統計與庫存查詢清單數據精確一致 2026-02-10 11:09:22 +08:00
a6393e03d8 feat: 實作即時庫存查詢功能、儀表板庫存導盤,及優化手動入庫批號與儲位連動與選單顯示 2026-02-10 10:47:31 +08:00
08e360464e refactor(sales): remove import template download and update dialog instructions
Some checks failed
Koori-ERP-Deploy-System / deploy-production (push) Has been cancelled
Koori-ERP-Deploy-System / deploy-demo (push) Has been cancelled
2026-02-09 17:21:35 +08:00
7cf640b2f4 feat(sales): replace import page with dialog UI and support template download
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 50s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-02-09 17:16:00 +08:00
613eb555ba feat(inventory): 強化調撥單功能,支援販賣機貨道欄位、開放商品重複加入及優化過帳庫存檢核
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 59s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-02-09 16:52:35 +08:00
65eb1a1b64 feat: 實作銷售單匯入權限控管並全面精簡權限顯示名稱
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 59s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-02-09 15:04:08 +08:00
b6fe9ad9f3 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
2026-02-09 14:36:47 +08:00
590580e20a refactor: 移除 SKU 欄位,統一使用 code 作為商品代碼
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m22s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-02-09 11:15:52 +08:00
5e542752ba feat(inventory): 販賣機視覺優化、修復匯入日期缺失與倉庫刪除權限錯誤 2026-02-09 10:19:46 +08:00
f22df90e01 fix(Inventory): 修復庫存列表批號欄位與新增庫存頁面儲位欄位遺失問題,並還原批號輸入佈局 2026-02-06 17:35:50 +08:00
e018b75783 feat(inventory): 開放倉庫編號編輯、優化調撥單條碼搜尋與庫存匯入範本雙分頁說明 2026-02-06 16:36:14 +08:00
200d1989bd feat(inventory): 支援庫存新增不使用批號模式與自動累加邏輯 2026-02-06 15:56:50 +08:00
6bfdd92347 feat(procurement): 統一採購單按鈕樣式與術語更名為「作廢」,並加強權限控管
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m28s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-02-06 15:32:12 +08:00
70f1709bd0 修正:單位管理中的代碼 (code) 無法儲存的問題 2026-02-06 14:33:32 +08:00
3fd333085b feat: 實作 POS API 整合功能,包含商品與銷售訂單同步及韌性機制
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 57s
2026-02-06 11:56:29 +08:00
906b094c18 feat: [商品管理] 優化商品匯入邏輯,支援 13 碼條碼自動生成、Upsert 更新機制與 Excel 說明工作表
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 1m7s
2026-02-06 09:26:50 +08:00
e1aa452b3c fix(product): 補回清單頁面的 is_active 資料回傳並修正表格 colSpan
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 50s
2026-02-05 16:19:13 +08:00
397a8a6484 fix(product): 設定 is_active 欄位預設為 true 並更新現有資料為啟用 2026-02-05 16:18:03 +08:00
24aed44cd3 feat(product): 恢復並實作商品起停用狀態功能,包含表單開關與列表顯示 2026-02-05 16:15:06 +08:00
196fec3120 feat(product): 修正控制器邏輯並徹底移除商品起停用開關,統一設為啟用 2026-02-05 16:13:24 +08:00
096a114457 feat(product): 移除商品起停用功能,後端預設所有商品為啟用狀態 2026-02-05 16:12:55 +08:00
1d5bc68444 feat(product): 優化編輯後的跳轉邏輯,支援依來源回傳詳情頁或列表 2026-02-05 16:01:29 +08:00
075b9f1c98 feat(product): 新增商品詳情查看功能 2026-02-05 15:58:59 +08:00
a518d390bd feat(inventory): 實作過期與瑕疵庫存總計顯示,並強化庫存明細過期提示 2026-02-05 15:50:14 +08:00
ba3c10ac13 feat(warehouse): 庫存統計卡片加入總金額顯示 (可用/帳面)
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 48s
2026-02-05 13:18:22 +08:00
3ce96537b3 feat: 標準化全系統數值輸入欄位與擴充商品價格功能
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 1m0s
1. UI 標準化:
   - 針對全系統數值輸入欄位統一加上 step='any' 以支援小數點。
   - 表格形式 (Table) 的數值輸入欄位統一加上 text-right 靠右對齊。
   - 修正 Components 與 Pages 中所有涉及金額與數量的輸入框。

2. 功能擴充與修正:
   - 擴充 Product 模型與相關 Dialog 以支援多種價格設定。
   - 修正 Inventory/GoodsReceipt/Create.tsx 未使用的變數錯誤。
   - 優化庫存相關頁面的 UI 一致性。

3. 其他:
   - 更新相關的 Type 定義與 Controller 邏輯。
2026-02-05 11:45:08 +08:00
04f3891275 feat: 實作出貨單模組並暫時導向通用製作中頁面,同步優化盤點與調撥功能的活動日誌顯示
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 1m11s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped
2026-02-05 09:33:36 +08:00
4299e985e9 feat: 優化庫存調撥單操作紀錄與 UI 佈局 2026-02-04 17:51:29 +08:00
2eb136d280 feat(inventory): 完善庫存盤調更新與日誌邏輯,新增「無需盤調」狀態判定
1. 修正 AdjustDocController 缺失 update 方法導致的錯誤。
2. 修正 ActivityDetailDialog 前端 map 渲染 undefined 的 TypeError。
3. 優化盤調單「過帳」日誌,現在會同步包含當時的商品明細快照。
4. 實作盤點單「無需盤調」(no_adjust) 自動判定邏輯:
   - 當盤點數量與庫存完全一致時,自動標記為 no_adjust 結案。
   - 更新前端標籤樣式與操作按鈕對應邏輯。
   - 限制 no_adjust 單據不可重複建立盤調單。
5. 統一盤點單與盤調單的日誌配置,優化 ID 轉名稱顯示。
2026-02-04 16:56:08 +08:00
702af0a259 feat(inventory): 重構庫存盤點流程與優化操作日誌
1. 重構盤點流程:實作自動狀態轉換(盤點中/盤點完成)、整合按鈕為「儲存盤點結果」、更名 UI 狀態標籤。
2. 優化操作日誌:
   - 實作全域 ID 轉名稱邏輯(倉庫、使用者)。
   - 合併單次操作的日誌記錄,避免重複產生。
   - 修復日誌產生過程中的 Collection 修改錯誤。
3. 修正 TypeScript lint 錯誤(Index, Show 頁面)。
2026-02-04 15:12:10 +08:00
f4f597e96d fix(inventory): 修復 Controller 語法錯誤並補齊操作記錄 2026-02-04 13:25:49 +08:00
a8b88b3375 feat(inventory): 實作盤點、盤調與調撥操作紀錄,並支援前端本地化顯示 2026-02-04 13:24:33 +08:00
95fdec8a06 feat(procurement): 修正採購單與進貨單日期標籤、狀態與操作紀錄本地化 2026-02-04 13:20:18 +08:00
4ba85ce446 feat(production): 優化生產單 BOM 原物料選取邏輯,支援商品 -> 倉庫 -> 批號連動與 API 分佈查詢 2026-02-04 13:08:05 +08:00
bd999c7bb6 feat: 統一庫存管理分頁 UI 與寬度規範,並更新 SKILL 規範文件 2026-02-03 17:24:34 +08:00
27626e6aa8 feat(inventory): 商品管理新增儲位欄位
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Successful in 47s
2026-02-03 13:17:46 +08:00