Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
42f620f7
Commit
42f620f7
authored
Jun 03, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 新增常量
parent
94ce8c7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
5 deletions
+71
-5
member.ts
src/constants/member.ts
+71
-5
No files found.
src/constants/member.ts
View file @
42f620f7
...
...
@@ -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%'
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment