From 2fb5908b076a5e8107b7863cd3dca284e2b899ab Mon Sep 17 00:00:00 2001 From: HIsheR Date: Fri, 16 Oct 2026 15:46:01 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat(print):=20=E6=96=B0=E5=A2=9E=E5=88=97?= =?UTF-8?q?=E5=8D=B0=E5=BA=8F=E8=99=9F=E7=94=A2=E7=94=9F=E9=82=8F=E8=BC=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 分支重建後自目標版本分支 7.2.0.4 切出,避免帶入 7.2.0.3 線的權限盤點文件 --- src/modules/print-sequence.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/modules/print-sequence.ts diff --git a/src/modules/print-sequence.ts b/src/modules/print-sequence.ts new file mode 100644 index 0000000..6eb9e41 --- /dev/null +++ b/src/modules/print-sequence.ts @@ -0,0 +1,18 @@ +/** + * 列印序號模組(沙盤推演示意) + */ + +/** 列印序號設定 */ +export interface PrintSequence { + /** 序號前綴 */ + prefix: string; + /** 目前流水號 */ + current: number; +} + +/** + * 產生下一個列印序號 + * @param seq - 目前序號設定 + * @returns 遞增後的新序號字串 + */ +export const nextSequence = (seq: PrintSequence): string => `${seq.prefix}${seq.current + 1}`; From 185f243fdc11b36f178db2ba924cf54848a03845 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Fri, 16 Oct 2026 15:46:49 +0800 Subject: [PATCH 2/3] =?UTF-8?q?chore(config):=20=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=88=86=E6=94=AF=E6=94=B9=E7=94=A8=E7=8D=A8=E7=AB=8B=E5=8C=AF?= =?UTF-8?q?=E5=87=BA=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 與主分支的例外參數調整落在同一行,供衝突預檢推演 --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 5facd07..9976837 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,5 +9,5 @@ export const APP_NAME = "game-admin"; /** 目前對外公告的版本號 */ export const APP_VERSION = "2.0.0.0"; -/** 匯出服務端點(示範例外直進主分支的參數配置) */ -export const EXPORT_ENDPOINT = "https://api.example.com/export"; +/** 匯出服務端點(版本分支改用獨立匯出域名) */ +export const EXPORT_ENDPOINT = "https://export.example.com/api"; From f13cc01727823888345f95a42aa229ff2e2ab5a3 Mon Sep 17 00:00:00 2001 From: HIsheR Date: Fri, 16 Oct 2026 15:47:03 +0800 Subject: [PATCH 3/3] =?UTF-8?q?docs(release):=20=E8=A3=9C=E5=AF=AB=207.2.0?= =?UTF-8?q?.4=20=E6=8E=A8=E9=80=81=E5=89=8D=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E8=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 記載列印序號與匯出域名兩項更新,並標註需逐側比對的參數衝突 --- .ai/history/release-notes.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.ai/history/release-notes.md b/.ai/history/release-notes.md index 886821c..6dc3ecd 100644 --- a/.ai/history/release-notes.md +++ b/.ai/history/release-notes.md @@ -16,3 +16,11 @@ - 新增盤點差異計算,提供帳面與實盤數量差異 - 影響範圍:前端 `src/modules` 下的票據與盤點模組;同步更新 `.ai/module-registry.md`;不涉及後端同步、無破壞性變更 - 公告短文:本版新增票據模板查詢與盤點差異計算,前線出單與盤點作業可少一次手工換算。 + +## 7.2.0.4(推送日期:2026-10-16) + +- 更新項清單: + - 新增列印序號產生邏輯,依前綴加流水號遞增 + - 匯出服務改用獨立匯出域名 +- 影響範圍:`src/modules/print-sequence.ts` 與 `src/main.ts` 的匯出端點參數;匯出端點與主分支的例外參數調整落在同一行,併入主分支時需逐側比對(不可盲目採用單側);不涉及後端同步 +- 公告短文:本版新增列印序號自動遞增,並將匯出服務切換至獨立域名,出單列印與匯出更穩定。