36 lines
1.3 KiB
JavaScript
36 lines
1.3 KiB
JavaScript
"use strict";
|
|
const INCOME_CATEGORIES = [
|
|
{ key: "sale_income", label: "销售收入" },
|
|
{ key: "operation_income", label: "经营所得" },
|
|
{ key: "interest_income", label: "利息收入" },
|
|
{ key: "investment_income", label: "投资收入" },
|
|
{ key: "other_income", label: "其它收入" }
|
|
];
|
|
const EXPENSE_CATEGORIES = [
|
|
{ key: "operation_expense", label: "经营支出" },
|
|
{ key: "office_supplies", label: "办公用品" },
|
|
{ key: "rent", label: "房租" },
|
|
{ key: "interest_expense", label: "利息支出" },
|
|
{ key: "other_expense", label: "其它支出" }
|
|
];
|
|
const ROUTES = {
|
|
home: "/pages/index/index",
|
|
productList: "/pages/product/list",
|
|
productForm: "/pages/product/form",
|
|
productSelect: "/pages/product/select",
|
|
productSettings: "/pages/product/settings",
|
|
orderCreate: "/pages/order/create",
|
|
detail: "/pages/detail/index",
|
|
my: "/pages/my/index",
|
|
myAbout: "/pages/my/about",
|
|
myVip: "/pages/my/vip",
|
|
report: "/pages/report/index",
|
|
customerSelect: "/pages/customer/select",
|
|
supplierSelect: "/pages/supplier/select",
|
|
accountSelect: "/pages/account/select"
|
|
};
|
|
exports.EXPENSE_CATEGORIES = EXPENSE_CATEGORIES;
|
|
exports.INCOME_CATEGORIES = INCOME_CATEGORIES;
|
|
exports.ROUTES = ROUTES;
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/constants.js.map
|