This commit is contained in:
zlwu committed 2026-08-01 17:29:37 +08:00
1 parent 06956b742b
commit e59b2aa6cb
104 files changed
+653227 -7621

No files matched your search

+2 -1
View File
@@ -722,7 +722,8 @@ def register_quote_routes(router):
try:
tenant_no = get_tenant_no(db, _user)
data = get_setting(db, tenant_no=tenant_no)
return success_response(data or {"approverIds": [], "status": "1"})
# 无配置时默认「启用」,避免设置页首次打开落到「停用」导致保存后无法预填
return success_response(data or {"approverIds": [], "status": "0"})
except Exception as e:
return error_response(500, str(e))