Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
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
micro_app
gk
Commits
a21b39aa
Commit
a21b39aa
authored
Nov 22, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(gpsDeposit): 添加退款
parent
08ea81b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
gpsDeposit.jsp
src/main/webapp/WEB-INF/views/cmpt/gpsDeposit.jsp
+20
-9
No files found.
src/main/webapp/WEB-INF/views/cmpt/gpsDeposit.jsp
View file @
a21b39aa
...
@@ -367,13 +367,7 @@
...
@@ -367,13 +367,7 @@
return
[
error
,
undefined
]
return
[
error
,
undefined
]
}
}
}
}
// 状态
const
StatusEnum
=
new
SuperEnum
([
{
key
:
'PICKED'
,
name
:
'已选'
,
color
:
'warning'
,
value
:
1
},
// 增值
{
key
:
'UN_PICKED'
,
name
:
'未选'
,
color
:
'success'
,
value
:
0
},
])
// 订单类型
// 订单类型
const
OrderTypeEnum
=
const
OrderTypeEnum
=
new
SuperEnum
([
new
SuperEnum
([
...
@@ -398,6 +392,13 @@
...
@@ -398,6 +392,13 @@
{
key
:
'PART_REFUND'
,
name
:
'部分退款'
,
color
:
'info'
,
value
:
3
},
{
key
:
'PART_REFUND'
,
name
:
'部分退款'
,
color
:
'info'
,
value
:
3
},
{
key
:
'FULL_REFUND'
,
name
:
'全额退款'
,
color
:
'warning'
,
value
:
4
},
{
key
:
'FULL_REFUND'
,
name
:
'全额退款'
,
color
:
'warning'
,
value
:
4
},
])
])
// 退款状态:0-退款中,1-退款成功,2-退款失败
const
RefundStatusEnum
=
new
SuperEnum
([
{
key
:
'WAIT_REFUND'
,
name
:
'退款中'
,
color
:
'info'
,
value
:
0
},
{
key
:
'REFUND_SUCCESS'
,
name
:
'退款成功'
,
color
:
'success'
,
value
:
1
},
{
key
:
'REFUND_FAILED'
,
name
:
'退款失败'
,
color
:
'error'
,
value
:
2
},
])
// tab类型
// tab类型
const
TabEnum
=
const
TabEnum
=
new
SuperEnum
([
new
SuperEnum
([
...
@@ -568,8 +569,18 @@
...
@@ -568,8 +569,18 @@
round
:
true
,
round
:
true
,
type
:
PayTypeEnum
[
row
.
payType
].
color
,
type
:
PayTypeEnum
[
row
.
payType
].
color
,
},
PayTypeEnum
[
row
.
payType
].
name
),
},
PayTypeEnum
[
row
.
payType
].
name
),
]),
row
.
refundStatus
&&
h
(
NSpace
,
{},
[
h
(
'span'
,
{},
"退款状态"
),
h
(
NTag
,
{
size
:
"small"
,
bordered
:
false
,
round
:
true
,
type
:
RefundStatusEnum
[
row
.
refundStatus
].
color
,
},
RefundStatusEnum
[
row
.
refundStatus
].
name
),
]),
])
])
])
}
}
},
},
{
{
...
@@ -992,10 +1003,10 @@
...
@@ -992,10 +1003,10 @@
// 公共
// 公共
tabIndex
,
tabIndex
,
loading
,
loading
,
StatusEnum
,
TabEnum
,
TabEnum
,
OrderTypeEnum
,
OrderTypeEnum
,
TradeStatusEnum
,
TradeStatusEnum
,
RefundStatusEnum
,
PayTypeEnum
,
PayTypeEnum
,
updateTab
,
updateTab
,
// 订单相关
// 订单相关
...
...
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