新增门店订单与核销管理列表,对齐 Android 订单能力并完善账号级缓存。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-29 14:46:10 +08:00
parent c4de3d17d0
commit 08492df6ce
51 changed files with 3668 additions and 102 deletions

View File

@ -16,6 +16,23 @@ enum AppDesign {
static let placeholder = Color(hex: 0xA8B2C1)
static let success = Color(hex: 0x14964A)
static let warning = Color(hex: 0xFF7B00)
// MARK: - Android OrderListScreen
static let orderPageBackground = Color(hex: 0xF5F5F5)
static let orderInputBackground = Color(hex: 0xF4F4F4)
static let orderLabelColor = Color(hex: 0x4B5563)
static let orderBorderLight = Color(hex: 0xEEEEEE)
static let orderRefundText = Color(hex: 0xEF4444)
static let orderRefundBackground = Color(hex: 0xFFE7E7)
static let orderStatusPaidText = Color(hex: 0x0073FF)
static let orderStatusPaidBackground = Color(hex: 0xEFF6FF)
static let orderStatusCompletedText = Color(hex: 0x10B981)
static let orderStatusCompletedBackground = Color(hex: 0xF0FDF4)
static let orderStatusRefundedText = Color(hex: 0xEF4444)
static let orderStatusRefundedBackground = Color(hex: 0xFFE7E7)
static let orderStatusOtherText = Color(hex: 0xFF7B00)
static let orderStatusOtherBackground = Color(hex: 0xFFF0E2)
}
extension Color {

View File

@ -132,7 +132,7 @@ final class PushNotificationManager: NSObject, UNUserNotificationCenterDelegate
case .order:
router.selectOrders(entry: .storeOrders)
case .verificationOrder:
router.selectOrders(entry: .verificationOrders)
router.openWriteOffList()
case .task:
navigateHomeRoute(.taskManagement)
case .queue:

View File

@ -115,7 +115,7 @@ final class AccountSnapshotStore {
save(
AccountSnapshot(
profile: accountContext.profile ?? existing?.profile,
accountType: existing?.accountType,
accountType: accountContext.accountType ?? existing?.accountType,
businessUserId: existing?.businessUserId,
currentRoleCode: currentRoleCode ?? existing?.currentRoleCode,
scenicScopes: accountContext.scenicScopes,