Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
occloud-server
Overview
Overview
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
yangjiarong
occloud-server
Commits
558139e3
Commit
558139e3
authored
Jul 29, 2022
by
liuliufashi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a77b2a4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
15 deletions
+19
-15
index.vue
web-vue-admin/src/views/pay-list/index.vue
+19
-15
No files found.
web-vue-admin/src/views/pay-list/index.vue
View file @
558139e3
...
...
@@ -29,6 +29,9 @@
风控
</div>
</div>
<div
v-if=
"column.key == 'payment'"
>
{{
record
.
payment
/
100
}}
</div>
<div
v-if=
"column.key == 'tags'"
>
<a-button
type=
"primary"
@
click=
"onEdit(record)"
>
编辑
</a-button>
...
...
@@ -162,8 +165,8 @@ const columns = [
},
{
title
:
'支付金额'
,
dataIndex
:
'p
rice
'
,
key
:
'p
rice
'
,
dataIndex
:
'p
ayment
'
,
key
:
'p
ayment
'
,
},
{
title
:
'状态'
,
...
...
@@ -177,19 +180,19 @@ const columns = [
},
{
title
:
'备注'
,
dataIndex
:
'
body
'
,
key
:
'
body
'
,
dataIndex
:
'
shortname
'
,
key
:
'
shortname
'
,
},
{
title
:
'操作'
,
dataIndex
:
'tags'
,
key
:
'tags'
,
},
{
title
:
'生效时间'
,
dataIndex
:
'time'
,
key
:
'time'
,
},
//
{
//
title: '生效时间',
//
dataIndex: 'time',
//
key: 'time',
//
},
]
const
visible
=
ref
<
boolean
>
(
false
);
const
value2
=
ref
<
any
>
(
dayjs
(
'2015/01/01'
,
dateFormat
))
...
...
@@ -203,12 +206,11 @@ const handleOk =async(e: MouseEvent) => {
const
uid
=
getUid
()
const
starttime
=
moment
(
new
Date
()).
format
(
'YYYY-MM-DDTHH:mm:[00][Z]'
)
const
expireendtime
=
(
moment
(
value4
.
value
.
$d
).
format
(
'YYYY-MM-DD'
))
+
(
moment
(
value5
.
value
.
$d
).
format
(
'THH:mm:[00][Z]'
))
const
fullphone
=
formState
.
value
.
fullphone
?
'1'
:
'0
'
formState
.
value
.
fullphone
=
formState
.
value
.
fullphone
?
'0'
:
'1
'
formState
.
value
.
payment
=
formState
.
value
.
payment
*
100
const
params
=
{
...
formState
.
value
,
uid
,
fullphone
:
fullphone
}
const
data
:
any
=
await
onUpdateGoodsPay
(
params
)
if
(
data
.
state
==
1
){
...
...
@@ -226,7 +228,6 @@ const onEdit = (e: any) => {
value5
.
value
=
dayjs
(
moment
(
e
.
expireendtime
).
format
((
'HH:mm'
)),
'HH:mm'
)
formState
.
value
.
payment
=
formState
.
value
.
payment
/
100
formState
.
value
.
paymentmodel
=
formState
.
value
.
paymentmodel
+
''
formState
.
value
.
fullphone
=
formState
.
value
.
fullphone
?
true
:
false
showModal
()
}
const
onSearch
=
async
()
=>
{
...
...
@@ -237,7 +238,8 @@ const onSearch = async () => {
uid
:
getUid
()
}
const
data
=
await
onfindby
(
params
)
list
.
value
=
data
.
data
list
.
value
=
data
.
data
.
goods
pagination
.
total
=
data
.
data
.
count
};
const
tableChange
=
async
(
e
:
any
)
=>
{
let
queryData
=
{
...
...
@@ -250,7 +252,8 @@ const tableChange=async(e:any)=>{
uid
:
getUid
()
}
const
data
=
await
onfindby
(
params
)
list
.
value
=
data
.
data
list
.
value
=
data
.
data
.
goods
pagination
.
total
=
data
.
data
.
count
}
const
onBack
=
(
e
:
Number
)
=>
{
isShow
.
value
=
!
isShow
.
value
;
...
...
@@ -278,7 +281,8 @@ const onSet = async(index:string)=>{
}
else
if
(
index
==
'2'
)
{
data
=
await
onfindAli
(
uid
);
}
list
.
value
=
data
.
data
;
list
.
value
=
data
.
data
.
goods
pagination
.
total
=
data
.
data
.
count
}
const
onDel
=
async
(
e
:
any
)
=>
{
const
prarms
=
{
...
...
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