Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
d9b3f0b1
Commit
d9b3f0b1
authored
Feb 02, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 添加最新常量
parent
a872e316
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
358 additions
and
352 deletions
+358
-352
index.ts
src/constants/index.ts
+66
-16
constants.ts
src/pages/exchangeManage/constants.ts
+136
-125
constants.ts
src/pages/returnManage/constants.ts
+156
-211
No files found.
src/constants/index.ts
View file @
d9b3f0b1
...
...
@@ -734,9 +734,9 @@ export const InquiryStateTexts = {
*/
export
const
REPAIR_INNER_STATUS_UNCOMMITTED
=
1
;
/**
*
已提交
*
审核通过(提交)
*/
export
const
REPAIR_INNER_STATUS_COMMIT
TED
=
2
;
export
const
REPAIR_INNER_STATUS_COMMIT
_SUCCESS
=
2
;
/**
* 一级审核通过
*/
...
...
@@ -746,9 +746,9 @@ export const REPAIR_INNER_STATUS_SUCCESS_1 = 3;
*/
export
const
REPAIR_INNER_STATUS_SUCCESS_2
=
4
;
/**
*
审核不通过(不接受申请)
*
二级审核不通过
*/
export
const
REPAIR_INNER_STATUS_FAILED
=
5
;
export
const
REPAIR_INNER_STATUS_FAILED
_2
=
5
;
/**
* 确认审核通过
*/
...
...
@@ -761,15 +761,25 @@ export const REPAIR_INNER_STATUS_CONFIRM_FAILED = 7;
* 确认售后完成
*/
export
const
REPAIR_INNER_STATUS_FINISHED
=
8
;
/**
* 审核不通过(提交)
*/
export
const
REPAIR_INNER_STATUS_COMMIT_FAILED
=
9
;
/**
* 审核不通过(一级)
*/
export
const
REPAIR_INNER_STATUS_FAILED_1
=
10
;
export
const
REPAIR_INNER_STATUS
=
{
[
REPAIR_INNER_STATUS_UNCOMMITTED
]:
'待提交'
,
[
REPAIR_INNER_STATUS_COMMIT
TED
]:
'已提交
'
,
[
REPAIR_INNER_STATUS_COMMIT
_SUCCESS
]:
'审核通过(提交)
'
,
[
REPAIR_INNER_STATUS_SUCCESS_1
]:
'一级审核通过'
,
[
REPAIR_INNER_STATUS_SUCCESS_2
]:
'二级审核通过'
,
[
REPAIR_INNER_STATUS_FAILED
]:
'
审核不通过'
,
[
REPAIR_INNER_STATUS_FAILED
_2
]:
'二级
审核不通过'
,
[
REPAIR_INNER_STATUS_CONFIRM_SUCCESS
]:
'确认审核通过'
,
[
REPAIR_INNER_STATUS_CONFIRM_FAILED
]:
'确认审核不通过'
,
[
REPAIR_INNER_STATUS_FINISHED
]:
'确认售后完成'
,
[
REPAIR_INNER_STATUS_COMMIT_FAILED
]:
'审核不通过(提交)'
,
[
REPAIR_INNER_STATUS_FAILED_1
]:
'审核不通过(一级)'
,
};
// 售后维修外部状态
...
...
@@ -807,9 +817,9 @@ export const REPAIR_OUTER_STATUS = {
*/
export
const
EXCHANGE_INNER_STATUS_UNCOMMITTED
=
1
;
/**
*
已提交
*
审核通过(提交)
*/
export
const
EXCHANGE_INNER_STATUS_COMMIT
TED
=
2
;
export
const
EXCHANGE_INNER_STATUS_COMMIT
_SUCCESS
=
2
;
/**
* 一级审核通过
*/
...
...
@@ -910,9 +920,29 @@ export const EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED = 26;
* 已确认售后完成
*/
export
const
EXCHANGE_INNER_STATUS_FINISHED
=
27
;
/**
* 不接受退货物流单
*/
export
const
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS
=
28
;
/**
* 不接受换货物流单
*/
export
const
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE
=
29
;
/**
* 审核不通过(提交)
*/
export
const
EXCHANGE_INNER_STATUS_COMMIT_FAILED
=
30
;
/**
* 审核不通过(一级)
*/
export
const
EXCHANGE_INNER_STATUS_FAILED_1
=
31
;
/**
* 审核不通过(二级)
*/
export
const
EXCHANGE_INNER_STATUS_FAILED_2
=
32
;
export
const
EXCHANGE_INNER_STATUS
=
{
[
EXCHANGE_INNER_STATUS_UNCOMMITTED
]:
'待提交'
,
[
EXCHANGE_INNER_STATUS_COMMIT
TED
]:
'已提交
'
,
[
EXCHANGE_INNER_STATUS_COMMIT
_SUCCESS
]:
'审核通过(提交)
'
,
[
EXCHANGE_INNER_STATUS_SUCCESS_1
]:
'一级审核通过'
,
[
EXCHANGE_INNER_STATUS_SUCCESS_2
]:
'二级审核通过'
,
[
EXCHANGE_INNER_STATUS_FAILED
]:
'审核不通过'
,
...
...
@@ -938,6 +968,11 @@ export const EXCHANGE_INNER_STATUS = {
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
]:
'待确认换货回单'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED
]:
'待确认售后完成'
,
[
EXCHANGE_INNER_STATUS_FINISHED
]:
'已确认售后完成'
,
[
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS
]:
'不接受退货物流单'
,
[
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE
]:
'不接受换货物流单'
,
[
EXCHANGE_INNER_STATUS_COMMIT_FAILED
]:
'审核不通过(提交)'
,
[
EXCHANGE_INNER_STATUS_FAILED_1
]:
'审核不通过(一级)'
,
[
EXCHANGE_INNER_STATUS_FAILED_2
]:
'审核不通过(二级)'
,
};
// 售后换货外部状态
...
...
@@ -1036,13 +1071,13 @@ export const EXCHANGE_OUTER_STATUS = {
// 售后退货内部状态
/**
* 待提交
换
货
* 待提交
退
货
*/
export
const
RETURN_INNER_STATUS_UNCOMMITTED
=
1
;
/**
*
已提交
*
审核通过(提交)
*/
export
const
RETURN_INNER_STATUS_COMMIT
TED
=
2
;
export
const
RETURN_INNER_STATUS_COMMIT
_SUCCESS
=
2
;
/**
* 一级审核通过
*/
...
...
@@ -1052,9 +1087,9 @@ export const RETURN_INNER_STATUS_SUCCESS_1 = 3;
*/
export
const
RETURN_INNER_STATUS_SUCCESS_2
=
4
;
/**
* 审核不通过
(不接受申请)
* 审核不通过
(二级)
*/
export
const
RETURN_INNER_STATUS_FAILED
=
5
;
export
const
RETURN_INNER_STATUS_FAILED
_2
=
5
;
/**
* 确认审核通过
*/
...
...
@@ -1123,12 +1158,24 @@ export const RETURN_INNER_STATUS_UNCONFIRMED_FINISHED = 21;
* 已确认售后完成
*/
export
const
RETURN_INNER_STATUS_FINISHED
=
22
;
/**
* 不接受物流单
*/
export
const
RETURN_INNER_STATUS_UNACCEPTED_LOGISTICS
=
23
;
/**
* 审核不通过(提交)
*/
export
const
RETURN_INNER_STATUS_COMMIT_FAILED
=
24
;
/**
* 审核不通过(一级)
*/
export
const
RETURN_INNER_STATUS_FAILED_1
=
25
;
export
const
RETURN_INNER_STATUS
=
{
[
RETURN_INNER_STATUS_UNCOMMITTED
]:
'待提交'
,
[
RETURN_INNER_STATUS_COMMIT
TED
]:
'已提交
'
,
[
RETURN_INNER_STATUS_COMMIT
_SUCCESS
]:
'审核通过(提交)
'
,
[
RETURN_INNER_STATUS_SUCCESS_1
]:
'一级审核通过'
,
[
RETURN_INNER_STATUS_SUCCESS_2
]:
'二级审核通过'
,
[
RETURN_INNER_STATUS_FAILED
]:
'
审核不通过'
,
[
RETURN_INNER_STATUS_FAILED
_2
]:
'二级
审核不通过'
,
[
RETURN_INNER_STATUS_CONFIRM_SUCCESS
]:
'确认审核通过'
,
[
RETURN_INNER_STATUS_CONFIRM_FAILED
]:
'确认审核不通过'
,
[
RETURN_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'待新增退货发货单'
,
...
...
@@ -1146,6 +1193,9 @@ export const RETURN_INNER_STATUS = {
[
RETURN_INNER_STATUS_REFUNDED_SUCCESS
]:
'待确认退款'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_FINISHED
]:
'待确认售后完成'
,
[
RETURN_INNER_STATUS_FINISHED
]:
'已确认售后完成'
,
[
RETURN_INNER_STATUS_UNACCEPTED_LOGISTICS
]:
'不接受物流单'
,
[
RETURN_INNER_STATUS_COMMIT_FAILED
]:
'审核不通过(提交)'
,
[
RETURN_INNER_STATUS_FAILED_1
]:
'审核不通过(一级)'
,
};
// 售后退货外部状态
...
...
src/pages/exchangeManage/constants.ts
View file @
d9b3f0b1
/*
* @Author: XieZhiXiong
* @Date: 2020-12-18 11:20:26
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-18 11:20:27
* @Description:
*/
import
{
EXCHANGE_OUTER_STATUS_UNCOMMITTED
,
EXCHANGE_OUTER_UNCONFIRMED
,
EXCHANGE_OUTER_STATUS_FAILED
,
EXCHANGE_OUTER_STATUS_SUCCESS
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
EXCHANGE_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_OUTER_STATUS_RETURN_DELIVERY
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
,
EXCHANGE_OUTER_STATUS_RETURN_RECEIVE
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_DELIVERY
,
EXCHANGE_OUTER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_OUTER_STATUS_REPLACE_DELIVERY
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_STORAGE
,
EXCHANGE_OUTER_STATUS_REPLACE_RECEIVE
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_FINISHED
,
EXCHANGE_OUTER_STATUS_FINISHED
,
EXCHANGE_INNER_STATUS_UNCOMMITTED
,
EXCHANGE_INNER_STATUS_COMMITTED
,
EXCHANGE_INNER_STATUS_SUCCESS_1
,
EXCHANGE_INNER_STATUS_SUCCESS_2
,
EXCHANGE_INNER_STATUS_FAILED
,
EXCHANGE_INNER_STATUS_CONFIRM_SUCCESS
,
EXCHANGE_INNER_STATUS_CONFIRM_FAILED
,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_STORAGE
,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_STORAGE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIVE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED
,
EXCHANGE_INNER_STATUS_FINISHED
,
}
from
'@/constants'
;
// 售后换货外部状态 StatusTag map
export
const
EXCHANGE_OUTER_STATUS_TAG_MAP
=
{
[
EXCHANGE_OUTER_STATUS_UNCOMMITTED
]:
'default'
,
[
EXCHANGE_OUTER_UNCONFIRMED
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_FAILED
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_SUCCESS
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'warning'
,
[
EXCHANGE_OUTER_STATUS_RETURN_DELIVERY
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_RETURN_RECEIVE
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_DELIVERY
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
]:
'success'
,
[
EXCHANGE_OUTER_STATUS_REPLACE_DELIVERY
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_STORAGE
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_REPLACE_RECEIVE
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_UNCONFIRMED_FINISHED
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_FINISHED
]:
'success'
,
};
// 售后换货内部状态 Badge map
export
const
EXCHANGE_INNER_STATUS_BADGE_MAP
=
{
[
EXCHANGE_INNER_STATUS_UNCOMMITTED
]:
'#669EDE'
,
[
EXCHANGE_INNER_STATUS_COMMITTED
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_SUCCESS_1
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_SUCCESS_2
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_FAILED
]:
'#EF6260'
,
[
EXCHANGE_INNER_STATUS_CONFIRM_SUCCESS
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_CONFIRM_FAILED
]:
'#EF6260'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_DELIVERY
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_DELIVERY
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_DELIVERY
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_STORAGE
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_STORAGE
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIVE
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_FINISHED
]:
'#41CC9E'
,
};
// 退货明细内部状态
/**
* 未确认发货
*/
export
const
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER
=
1
;
/**
* 已确认发货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_DELIVER
=
2
;
/**
* 已确认收货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_RECEIVING
=
3
;
/**
* 确认回单
*/
/*
* @Author: XieZhiXiong
* @Date: 2020-12-18 11:20:26
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-18 11:20:27
* @Description:
*/
import
{
EXCHANGE_OUTER_STATUS_UNCOMMITTED
,
EXCHANGE_OUTER_UNCONFIRMED
,
EXCHANGE_OUTER_STATUS_FAILED
,
EXCHANGE_OUTER_STATUS_SUCCESS
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
EXCHANGE_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_OUTER_STATUS_RETURN_DELIVERY
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
,
EXCHANGE_OUTER_STATUS_RETURN_RECEIVE
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_DELIVERY
,
EXCHANGE_OUTER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_OUTER_STATUS_REPLACE_DELIVERY
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_STORAGE
,
EXCHANGE_OUTER_STATUS_REPLACE_RECEIVE
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_FINISHED
,
EXCHANGE_OUTER_STATUS_FINISHED
,
EXCHANGE_INNER_STATUS_UNCOMMITTED
,
EXCHANGE_INNER_STATUS_COMMIT_SUCCESS
,
EXCHANGE_INNER_STATUS_SUCCESS_1
,
EXCHANGE_INNER_STATUS_SUCCESS_2
,
EXCHANGE_INNER_STATUS_FAILED
,
EXCHANGE_INNER_STATUS_CONFIRM_SUCCESS
,
EXCHANGE_INNER_STATUS_CONFIRM_FAILED
,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_STORAGE
,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_STORAGE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIVE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED
,
EXCHANGE_INNER_STATUS_FINISHED
,
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE
,
EXCHANGE_INNER_STATUS_COMMIT_FAILED
,
EXCHANGE_INNER_STATUS_FAILED_1
,
EXCHANGE_INNER_STATUS_FAILED_2
,
}
from
'@/constants'
;
// 售后换货外部状态 StatusTag map
export
const
EXCHANGE_OUTER_STATUS_TAG_MAP
=
{
[
EXCHANGE_OUTER_STATUS_UNCOMMITTED
]:
'default'
,
[
EXCHANGE_OUTER_UNCONFIRMED
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_FAILED
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_SUCCESS
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'warning'
,
[
EXCHANGE_OUTER_STATUS_RETURN_DELIVERY
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_RETURN_RECEIVE
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'danger'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_DELIVERY
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
]:
'success'
,
[
EXCHANGE_OUTER_STATUS_REPLACE_DELIVERY
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_STORAGE
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_REPLACE_RECEIVE
]:
'nobility'
,
[
EXCHANGE_OUTER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_UNCONFIRMED_FINISHED
]:
'primary'
,
[
EXCHANGE_OUTER_STATUS_FINISHED
]:
'success'
,
};
// 售后换货内部状态 Badge map
export
const
EXCHANGE_INNER_STATUS_BADGE_MAP
=
{
[
EXCHANGE_INNER_STATUS_UNCOMMITTED
]:
'#669EDE'
,
[
EXCHANGE_INNER_STATUS_COMMIT_SUCCESS
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_SUCCESS_1
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_SUCCESS_2
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_FAILED
]:
'#EF6260'
,
[
EXCHANGE_INNER_STATUS_CONFIRM_SUCCESS
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_CONFIRM_FAILED
]:
'#EF6260'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_DELIVERY
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_DELIVERY
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_DELIVERY
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_STORAGE
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_STORAGE
]:
'#FF991F'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIVE
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED
]:
'#6C9CEB'
,
[
EXCHANGE_INNER_STATUS_FINISHED
]:
'#41CC9E'
,
[
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_LOGISTICS
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_UNACCEPTED_RETURN_EXCHANGE
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_COMMIT_FAILED
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_FAILED_1
]:
'#E63F3B'
,
[
EXCHANGE_INNER_STATUS_FAILED_2
]:
'#E63F3B'
,
};
// 退货明细内部状态
/**
* 未确认发货
*/
export
const
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER
=
1
;
/**
* 已确认发货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_DELIVER
=
2
;
/**
* 已确认收货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_RECEIVING
=
3
;
/**
* 确认回单
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_BACK
=
4
;
\ No newline at end of file
src/pages/returnManage/constants.ts
View file @
d9b3f0b1
/*
* @Author: XieZhiXiong
* @Date: 2020-12-18 14:33:05
* @LastEditors: XieZhiXiong
* @LastEditTime: 2020-12-18 14:33:06
* @Description:
*/
import
{
REPAIR_OUTER_STATUS_UNCOMMITTED
,
REPAIR_OUTER_STATUS_UNCONFIRMED
,
REPAIR_OUTER_STATUS_FAILED
,
REPAIR_OUTER_STATUS_SUCCESS
,
REPAIR_OUTER_STATUS_FINISHED
,
REPAIR_INNER_STATUS_UNCOMMITTED
,
REPAIR_INNER_STATUS_COMMITTED
,
REPAIR_INNER_STATUS_SUCCESS_1
,
REPAIR_INNER_STATUS_SUCCESS_2
,
REPAIR_INNER_STATUS_FAILED
,
REPAIR_INNER_STATUS_CONFIRM_SUCCESS
,
REPAIR_INNER_STATUS_CONFIRM_FAILED
,
REPAIR_INNER_STATUS_FINISHED
,
EXCHANGE_OUTER_STATUS_UNCOMMITTED
,
EXCHANGE_OUTER_UNCONFIRMED
,
EXCHANGE_OUTER_STATUS_FAILED
,
EXCHANGE_OUTER_STATUS_SUCCESS
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
EXCHANGE_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_OUTER_STATUS_RETURN_DELIVERY
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
,
EXCHANGE_OUTER_STATUS_RETURN_RECEIVE
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_DELIVERY
,
EXCHANGE_OUTER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_OUTER_STATUS_REPLACE_DELIVERY
,
EXCHANGE_OUTER_STATUS_NOT_ADDED_REPLACE_STORAGE
,
EXCHANGE_OUTER_STATUS_REPLACE_RECEIVE
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
,
EXCHANGE_OUTER_STATUS_UNCONFIRMED_FINISHED
,
EXCHANGE_OUTER_STATUS_FINISHED
,
EXCHANGE_INNER_STATUS_UNCOMMITTED
,
EXCHANGE_INNER_STATUS_COMMITTED
,
EXCHANGE_INNER_STATUS_SUCCESS_1
,
EXCHANGE_INNER_STATUS_SUCCESS_2
,
EXCHANGE_INNER_STATUS_FAILED
,
EXCHANGE_INNER_STATUS_CONFIRM_SUCCESS
,
EXCHANGE_INNER_STATUS_CONFIRM_FAILED
,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
,
EXCHANGE_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
,
EXCHANGE_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_SUPPLIER_NOT_ADDED_LOGISTICS
,
EXCHANGE_INNER_STATUS_SUPPLIER_UNCONFIRMED_LOGISTICS
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_DELIVERY
,
EXCHANGE_INNER_STATUS_NOT_ADDED_REPLACE_STORAGE
,
EXCHANGE_INNER_STATUS_UNREVIEWED_REPLACE_STORAGE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIVE
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_REPLACE_RECEIPT
,
EXCHANGE_INNER_STATUS_UNCONFIRMED_FINISHED
,
EXCHANGE_INNER_STATUS_FINISHED
,
RETURN_INNER_STATUS_UNCOMMITTED
,
RETURN_INNER_STATUS_COMMITTED
,
RETURN_INNER_STATUS_SUCCESS_1
,
RETURN_INNER_STATUS_SUCCESS_2
,
RETURN_INNER_STATUS_FAILED
,
RETURN_INNER_STATUS_CONFIRM_SUCCESS
,
RETURN_INNER_STATUS_CONFIRM_FAILED
,
RETURN_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
RETURN_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
,
RETURN_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
RETURN_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
,
RETURN_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
,
RETURN_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
RETURN_INNER_STATUS_TO_BE_REFUNDED
,
RETURN_INNER_STATUS_UNCONFIRMED_REFUNDED
,
RETURN_INNER_STATUS_REFUNDED_FAIL
,
RETURN_INNER_STATUS_REFUNDED_SUCCESS
,
RETURN_INNER_STATUS_UNCONFIRMED_FINISHED
,
RETURN_INNER_STATUS_FINISHED
,
RETURN_OUTER_STATUS_UNCOMMITTED
,
RETURN_OUTER_UNCONFIRMED
,
RETURN_OUTER_STATUS_FAILED
,
RETURN_OUTER_STATUS_SUCCESS
,
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
RETURN_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
RETURN_OUTER_STATUS_RETURN_DELIVERY
,
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
,
RETURN_OUTER_STATUS_RETURN_RECEIVE
,
RETURN_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
RETURN_OUTER_STATUS_TO_BE_REFUNDED
,
RETURN_OUTER_STATUS_UNCONFIRMED_REFUNDED
,
RETURN_OUTER_STATUS_NOT_RECEIVED
,
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED
,
RETURN_OUTER_STATUS_FINISHED
,
}
from
'@/constants'
;
// 退货明细内部状态
/**
* 未确认发货
*/
export
const
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER
=
1
;
/**
* 已确认发货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_DELIVER
=
2
;
/**
* 已确认收货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_RECEIVING
=
3
;
/**
* 确认回单
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_BACK
=
4
;
// 售后退货外部状态 StatusTag map
export
const
RETURN_OUTER_STATUS_TAG_MAP
=
{
[
RETURN_OUTER_STATUS_UNCOMMITTED
]:
'default'
,
[
RETURN_OUTER_UNCONFIRMED
]:
'primary'
,
[
RETURN_OUTER_STATUS_FAILED
]:
'danger'
,
[
RETURN_OUTER_STATUS_SUCCESS
]:
'primary'
,
[
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'danger'
,
[
RETURN_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'warning'
,
[
RETURN_OUTER_STATUS_RETURN_DELIVERY
]:
'danger'
,
[
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'danger'
,
[
RETURN_OUTER_STATUS_RETURN_RECEIVE
]:
'danger'
,
[
RETURN_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'danger'
,
[
RETURN_OUTER_STATUS_TO_BE_REFUNDED
]:
'danger'
,
[
RETURN_OUTER_STATUS_UNCONFIRMED_REFUNDED
]:
'primary'
,
[
RETURN_OUTER_STATUS_NOT_RECEIVED
]:
'warning'
,
[
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED
]:
'primary'
,
[
RETURN_OUTER_STATUS_FINISHED
]:
'success'
,
};
// 售后退货内部状态 Badge map
export
const
RETURN_INNER_STATUS_BADGE_MAP
=
{
[
RETURN_INNER_STATUS_UNCOMMITTED
]:
'#669EDE'
,
[
RETURN_INNER_STATUS_COMMITTED
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_SUCCESS_1
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_SUCCESS_2
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_FAILED
]:
'#EF6260'
,
[
RETURN_INNER_STATUS_CONFIRM_SUCCESS
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_CONFIRM_FAILED
]:
'#EF6260'
,
[
RETURN_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
]:
'#FF991F'
,
[
RETURN_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
]:
'#FF991F'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_TO_BE_REFUNDED
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_REFUNDED
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_REFUNDED_FAIL
]:
'#EF6260'
,
[
RETURN_INNER_STATUS_REFUNDED_SUCCESS
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_FINISHED
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_FINISHED
]:
'#41CC9E'
,
};
// 退款内部状态
/**
* 未退款
*/
export
const
REFUND_INNER_STATUS_NO_REFUND
=
1
;
/**
* 退款失败
*/
export
const
REFUND_INNER_STATUS_REFUND_FAILED
=
2
;
/**
* 退款成功
*/
export
const
REFUND_INNER_STATUS_REFUND_SUCCESS
=
3
;
// 退款外部状态
/**
* 未退款
*/
export
const
REFUND_OUTER_STATUS_NO_REFUND
=
1
;
/**
* 待确认退款
*/
export
const
REFUND_OUTER_STATUS_UNCONFIRMED_REFUND
=
2
;
/**
* 退款未到账
*/
export
const
REFUND_OUTER_STATUS_NOT_RECEIVED
=
3
;
/**
* 退款到账
*/
export
const
REFUND_OUTER_STATUS_RECEIVED
=
4
;
// 退款外部状态 StatusTag map
export
const
REFUND_OUTER_STATUS_TAG_MAP
=
{
[
REFUND_OUTER_STATUS_NO_REFUND
]:
'danger'
,
[
REFUND_OUTER_STATUS_UNCONFIRMED_REFUND
]:
'primary'
,
[
REFUND_OUTER_STATUS_NOT_RECEIVED
]:
'warning'
,
[
REFUND_OUTER_STATUS_RECEIVED
]:
'success'
,
/*
* @Author: XieZhiXiong
* @Date: 2020-12-18 14:33:05
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-02-02 09:58:08
* @Description:
*/
import
{
RETURN_INNER_STATUS_UNCOMMITTED
,
RETURN_INNER_STATUS_COMMIT_SUCCESS
,
RETURN_INNER_STATUS_SUCCESS_1
,
RETURN_INNER_STATUS_SUCCESS_2
,
RETURN_INNER_STATUS_FAILED_2
,
RETURN_INNER_STATUS_CONFIRM_SUCCESS
,
RETURN_INNER_STATUS_CONFIRM_FAILED
,
RETURN_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
RETURN_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
,
RETURN_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
RETURN_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
,
RETURN_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
,
RETURN_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
,
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
RETURN_INNER_STATUS_TO_BE_REFUNDED
,
RETURN_INNER_STATUS_UNCONFIRMED_REFUNDED
,
RETURN_INNER_STATUS_REFUNDED_FAIL
,
RETURN_INNER_STATUS_REFUNDED_SUCCESS
,
RETURN_INNER_STATUS_UNCONFIRMED_FINISHED
,
RETURN_INNER_STATUS_FINISHED
,
RETURN_INNER_STATUS_UNACCEPTED_LOGISTICS
,
RETURN_INNER_STATUS_COMMIT_FAILED
,
RETURN_INNER_STATUS_FAILED_1
,
RETURN_OUTER_STATUS_UNCOMMITTED
,
RETURN_OUTER_UNCONFIRMED
,
RETURN_OUTER_STATUS_FAILED
,
RETURN_OUTER_STATUS_SUCCESS
,
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
,
RETURN_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
,
RETURN_OUTER_STATUS_RETURN_DELIVERY
,
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
,
RETURN_OUTER_STATUS_RETURN_RECEIVE
,
RETURN_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
,
RETURN_OUTER_STATUS_TO_BE_REFUNDED
,
RETURN_OUTER_STATUS_UNCONFIRMED_REFUNDED
,
RETURN_OUTER_STATUS_NOT_RECEIVED
,
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED
,
RETURN_OUTER_STATUS_FINISHED
,
}
from
'@/constants'
;
// 退货明细内部状态
/**
* 未确认发货
*/
export
const
MAIL_INNER_STATUS_UNCONFIRMED_DELIVER
=
1
;
/**
* 已确认发货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_DELIVER
=
2
;
/**
* 已确认收货
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_RECEIVING
=
3
;
/**
* 确认回单
*/
export
const
MAIL_INNER_STATUS_CONFIRMED_BACK
=
4
;
// 售后退货外部状态 StatusTag map
export
const
RETURN_OUTER_STATUS_TAG_MAP
=
{
[
RETURN_OUTER_STATUS_UNCOMMITTED
]:
'default'
,
[
RETURN_OUTER_UNCONFIRMED
]:
'primary'
,
[
RETURN_OUTER_STATUS_FAILED
]:
'danger'
,
[
RETURN_OUTER_STATUS_SUCCESS
]:
'primary'
,
[
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'danger'
,
[
RETURN_OUTER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'warning'
,
[
RETURN_OUTER_STATUS_RETURN_DELIVERY
]:
'danger'
,
[
RETURN_OUTER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'danger'
,
[
RETURN_OUTER_STATUS_RETURN_RECEIVE
]:
'danger'
,
[
RETURN_OUTER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'danger'
,
[
RETURN_OUTER_STATUS_TO_BE_REFUNDED
]:
'danger'
,
[
RETURN_OUTER_STATUS_UNCONFIRMED_REFUNDED
]:
'primary'
,
[
RETURN_OUTER_STATUS_NOT_RECEIVED
]:
'warning'
,
[
RETURN_OUTER_STATUS_UNCONFIRMED_FINISHED
]:
'primary'
,
[
RETURN_OUTER_STATUS_FINISHED
]:
'success'
,
};
// 售后退货内部状态 Badge map
export
const
RETURN_INNER_STATUS_BADGE_MAP
=
{
[
RETURN_INNER_STATUS_UNCOMMITTED
]:
'#669EDE'
,
[
RETURN_INNER_STATUS_COMMIT_SUCCESS
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_SUCCESS_1
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_SUCCESS_2
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_FAILED_2
]:
'#EF6260'
,
[
RETURN_INNER_STATUS_CONFIRM_SUCCESS
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_CONFIRM_FAILED
]:
'#EF6260'
,
[
RETURN_INNER_STATUS_NOT_ADDED_RETURN_DELIVERY
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_UNREVIEWED_RETURN_DELIVERY
]:
'#FF991F'
,
[
RETURN_INNER_STATUS_CONSUMER_NOT_ADDED_LOGISTICS
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_CONSUMER_UNCONFIRMED_LOGISTICS
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_DELIVERY
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_NOT_ADDED_RETURN_STORAGE
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_UNREVIEWED_RETURN_STORAGE
]:
'#FF991F'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIVE
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_RETURN_RECEIPT
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_TO_BE_REFUNDED
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_REFUNDED
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_REFUNDED_FAIL
]:
'#EF6260'
,
[
RETURN_INNER_STATUS_REFUNDED_SUCCESS
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_UNCONFIRMED_FINISHED
]:
'#6C9CEB'
,
[
RETURN_INNER_STATUS_FINISHED
]:
'#41CC9E'
,
[
RETURN_INNER_STATUS_UNACCEPTED_LOGISTICS
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_COMMIT_FAILED
]:
'#E63F3B'
,
[
RETURN_INNER_STATUS_FAILED_1
]:
'#E63F3B'
,
};
// 退款内部状态
/**
* 未退款
*/
export
const
REFUND_INNER_STATUS_NO_REFUND
=
1
;
/**
* 退款失败
*/
export
const
REFUND_INNER_STATUS_REFUND_FAILED
=
2
;
/**
* 退款成功
*/
export
const
REFUND_INNER_STATUS_REFUND_SUCCESS
=
3
;
// 退款外部状态
/**
* 未退款
*/
export
const
REFUND_OUTER_STATUS_NO_REFUND
=
1
;
/**
* 待确认退款
*/
export
const
REFUND_OUTER_STATUS_UNCONFIRMED_REFUND
=
2
;
/**
* 退款未到账
*/
export
const
REFUND_OUTER_STATUS_NOT_RECEIVED
=
3
;
/**
* 退款到账
*/
export
const
REFUND_OUTER_STATUS_RECEIVED
=
4
;
// 退款外部状态 StatusTag map
export
const
REFUND_OUTER_STATUS_TAG_MAP
=
{
[
REFUND_OUTER_STATUS_NO_REFUND
]:
'danger'
,
[
REFUND_OUTER_STATUS_UNCONFIRMED_REFUND
]:
'primary'
,
[
REFUND_OUTER_STATUS_NOT_RECEIVED
]:
'warning'
,
[
REFUND_OUTER_STATUS_RECEIVED
]:
'success'
,
};
\ No newline at end of file
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