fix(settlement): 要求封盘后才能结算并优化预览流程

封盘前禁止录入比分与生成预览;待结算未确认前可解除封盘。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-11 17:49:34 +08:00
parent 03e72ca9b2
commit e469611138
9 changed files with 210 additions and 54 deletions

View File

@@ -129,6 +129,16 @@ export const API_ERROR_MESSAGES = {
'en-US': 'Match cannot be reopened in current status',
'ms-MY': 'Perlawanan tidak boleh dibuka semula dalam status semasa',
},
MATCH_NOT_SETTLEABLE: {
'zh-CN': '当前状态不可确认结算',
'en-US': 'Match cannot be settled in current status',
'ms-MY': 'Perlawanan tidak boleh diselesaikan dalam status semasa',
},
MATCH_MUST_CLOSE_FOR_SETTLEMENT: {
'zh-CN': '请先封盘后再结算',
'en-US': 'Close betting before settlement',
'ms-MY': 'Tutup pertaruhan sebelum penyelesaian',
},
MATCH_REOPEN_KICKOFF_REQUIRED: {
'zh-CN': '开赛时间已过,请设置新的未来开赛时间',
'en-US': 'Kickoff has passed; set a new future start time',