Commit 42f620f7 authored by XieZhiXiong's avatar XieZhiXiong

feat: 新增常量

parent 94ce8c7e
......@@ -152,8 +152,74 @@ export const VIP_RULE_COMMENT = 3;
/**
* 服务提供者
*/
export const MEMBER_ROLE_TYPE_SERVICE_PROVIDER = 1;
/**
* 服务消费者
*/
export const MEMBER_ROLE_TYPE_SERVICE_CONSUMER = 2;
export const MEMBER_ROLE_TYPE_SERVICE_PROVIDER = 1;
/**
* 服务消费者
*/
export const MEMBER_ROLE_TYPE_SERVICE_CONSUMER = 2;
/* --------------------------------- 发票类型 -------------------------------- */
/**
* 增值税专用发票
*/
export const MEMBER_INVOICE_TYPE_1 = 1;
/**
* 普通发票
*/
export const MEMBER_INVOICE_TYPE_2 = 2;
/**
* 机动车专用发票
*/
export const MEMBER_INVOICE_TYPE_3 = 3;
/**
* 机打发票
*/
export const MEMBER_INVOICE_TYPE_4 = 4;
/**
* 定额发票
*/
export const MEMBER_INVOICE_TYPE_5 = 5;
/**
* 会员等级类型枚举对应中文
*/
export const MEMBER_INVOICE_TYPE = {
[MEMBER_INVOICE_TYPE_1]: '增值税专用发票',
[MEMBER_INVOICE_TYPE_2]: '普通发票',
[MEMBER_INVOICE_TYPE_3]: '机动车专用发票',
[MEMBER_INVOICE_TYPE_4]: '机打发票',
[MEMBER_INVOICE_TYPE_5]: '定额发票',
};
/* --------------------------------- 税点 -------------------------------- */
/**
* 17%
*/
export const MEMBER_TAX_POINT_1 = 17;
/**
* 11%
*/
export const MEMBER_TAX_POINT_2 = 11;
/**
* 6%
*/
export const MEMBER_TAX_POINT_3 = 6;
/**
* 3%
*/
export const MEMBER_TAX_POINT_4 = 3;
/**
* 0%
*/
export const MEMBER_TAX_POINT_5 = 0;
/**
* 会员等级类型枚举对应中文
*/
export const MEMBER_TAX_POINT = {
[MEMBER_TAX_POINT_1]: '17%',
[MEMBER_TAX_POINT_2]: '11%',
[MEMBER_TAX_POINT_3]: '6%',
[MEMBER_TAX_POINT_4]: '3%',
[MEMBER_TAX_POINT_5]: '0%',
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment