9.16/1
This commit is contained in:
18
frontend/common/constants.js
Normal file
18
frontend/common/constants.js
Normal file
@@ -0,0 +1,18 @@
|
||||
// 统一常量配置:其他收入/支出分类,禁止在业务中硬编码
|
||||
export const INCOME_CATEGORIES = [
|
||||
{ key: 'sale_income', label: '销售收入' },
|
||||
{ key: 'operation_income', label: '经营所得' },
|
||||
{ key: 'interest_income', label: '利息收入' },
|
||||
{ key: 'investment_income', label: '投资收入' },
|
||||
{ key: 'other_income', label: '其它收入' }
|
||||
]
|
||||
|
||||
export const EXPENSE_CATEGORIES = [
|
||||
{ key: 'operation_expense', label: '经营支出' },
|
||||
{ key: 'office_supplies', label: '办公用品' },
|
||||
{ key: 'rent', label: '房租' },
|
||||
{ key: 'interest_expense', label: '利息支出' },
|
||||
{ key: 'other_expense', label: '其它支出' }
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user