feat: enhance draw processing and ticket validation logic

- Added a new function to check if the hall is awaiting draw processing, improving the draw status handling.
- Implemented validation for roll numbers in ticket orders, ensuring compliance with specified formats.
- Enhanced the draft line issue reasoning to provide detailed feedback on invalid ticket entries.
- Updated HallDrawPanel and related components to utilize the new draw processing checks and improve user notifications.
- Added new translations for draw processing and ticket validation messages in multiple languages.
This commit is contained in:
2026-05-25 16:44:00 +08:00
parent 3bcbf7d256
commit 3b83c6627c
10 changed files with 356 additions and 61 deletions

View File

@@ -75,6 +75,7 @@
"currentTime": "当前时间",
"closesIn": "距封盘",
"drawsIn": "距开奖",
"drawProcessing": "开奖处理中",
"coolDown": "冷静期",
"loadFailedRefresh": "加载失败,请下拉刷新",
"issueNo": "期号",
@@ -103,6 +104,11 @@
"notBettable": "当前已封盘或不可下注。",
"catalogNotReady": "玩法配置尚未加载完成。",
"emptyLines": "请至少填写一组有效号码和下注金额。",
"lineIssue": {
"invalid_number_length": "第 {{row}} 行「{{play}}」号码位数不正确,请检查号码列。",
"roll_requires_r": "第 {{row}} 行「{{play}}」须为 4 位且含 R如 12R4、RR34R 表示滚动位。",
"missing_digit_slot": "第 {{row}} 行「{{play}}」缺少位数,请刷新后重试。"
},
"previewFailed": "预览失败",
"closedSubmit": "已封盘,无法提交。",
"changedBeforeSubmit": "提交前数据已变化,请关闭预览后重试。",
@@ -177,6 +183,10 @@
"submitBet": "提交下注",
"insufficientBalance": "余额不足",
"amountPlaceholder": "金额",
"digitShort": {
"big": "大",
"small": "小"
},
"filledPlayCount": "已填写 {{count}} 个玩法",
"tapToFill": "点击填写玩法金额",
"rowActual": "实扣",