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
227b6fb7
Commit
227b6fb7
authored
Jul 21, 2022
by
liuliufashi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2d8d200a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
dist.zip
web-vue-admin/dist.zip
+0
-0
index.vue
...e-admin/src/views/pay-list/components/createpay/index.vue
+4
-2
index.vue
web-vue-admin/src/views/pay-list/index.vue
+1
-3
No files found.
web-vue-admin/dist.zip
View file @
227b6fb7
No preview for this file type
web-vue-admin/src/views/pay-list/components/createpay/index.vue
View file @
227b6fb7
...
@@ -176,6 +176,8 @@ const onSubmit = () => {
...
@@ -176,6 +176,8 @@ const onSubmit = () => {
const
starttime
=
(
moment
(
toRaw
(
formState
).
starttime
.
$d
).
format
(
'YYYY-MM-DD'
))
+
(
moment
(
startvalue
.
value
.
$d
).
format
(
'THH:mm:[00][Z]'
))
const
starttime
=
(
moment
(
toRaw
(
formState
).
starttime
.
$d
).
format
(
'YYYY-MM-DD'
))
+
(
moment
(
startvalue
.
value
.
$d
).
format
(
'THH:mm:[00][Z]'
))
const
expireendtime
=
(
moment
(
toRaw
(
formState
).
expireendtime
.
$d
).
format
(
'YYYY-MM-DD'
))
+
(
moment
(
endvalue
.
value
.
$d
).
format
(
'THH:mm:[00][Z]'
))
const
expireendtime
=
(
moment
(
toRaw
(
formState
).
expireendtime
.
$d
).
format
(
'YYYY-MM-DD'
))
+
(
moment
(
endvalue
.
value
.
$d
).
format
(
'THH:mm:[00][Z]'
))
goodspayditch
.
value
.
map
((
item
:
any
)
=>
{
return
item
.
goodsid
=
toRaw
(
formState
).
subject
.
value
})
goodspayditch
.
value
.
map
((
item
:
any
)
=>
{
return
item
.
goodsid
=
toRaw
(
formState
).
subject
.
value
})
console
.
log
(
goodspayditch
.
value
,
'goodspayditch.value'
);
const
prarms
=
{
const
prarms
=
{
subject
:
toRaw
(
formState
).
subject
.
label
,
subject
:
toRaw
(
formState
).
subject
.
label
,
shortname
:
toRaw
(
formState
).
shortname
,
shortname
:
toRaw
(
formState
).
shortname
,
...
@@ -230,11 +232,11 @@ const showModal = () => {
...
@@ -230,11 +232,11 @@ const showModal = () => {
};
};
const
hideModal
=
()
=>
{
const
hideModal
=
()
=>
{
checkboxValue
.
value
[
radioValue
.
paytype
-
1
]
=
optionsWithDisabled
[
radioValue
.
paytype
-
1
].
value
checkboxValue
.
value
[
radioValue
.
paytype
-
1
]
=
optionsWithDisabled
[
radioValue
.
paytype
-
1
].
value
console
.
log
(
radioValue
,
'radioValue'
);
console
.
log
(
radioValue
,
'radioValue'
,
formState
);
goodspayditch
.
value
[
radioValue
.
paytype
-
1
]
=
{
goodspayditch
.
value
[
radioValue
.
paytype
-
1
]
=
{
appointpay
:
radioValue
.
id
,
appointpay
:
radioValue
.
id
,
goodsid
:
radioValue
.
id
,
goodsid
:
radioValue
.
id
,
goodspayid
:
formState
.
subject
.
label
,
goodspayid
:
formState
.
subject
.
value
,
optpay
:
radioValue
.
paytype
,
optpay
:
radioValue
.
paytype
,
payname
:
radioValue
.
name
,
payname
:
radioValue
.
name
,
random
:
'1'
,
random
:
'1'
,
...
...
web-vue-admin/src/views/pay-list/index.vue
View file @
227b6fb7
...
@@ -268,11 +268,9 @@ const onCreatePay = async () => {
...
@@ -268,11 +268,9 @@ const onCreatePay = async () => {
isShow
.
value
=
!
isShow
.
value
isShow
.
value
=
!
isShow
.
value
}
}
const
onCopy
=
async
(
e
:
any
)
=>
{
const
onCopy
=
async
(
e
:
any
)
=>
{
console
.
log
(
e
,
'e'
);
// ?ditch=1&goodsid=1&phone=1&studentid=1
const
value
=
localStorage
.
getItem
(
'url'
)
||
''
const
value
=
localStorage
.
getItem
(
'url'
)
||
''
try
{
try
{
await
toClipboard
(
`
${
value
}
?ditch=
${
uid
}
&goodsid=
${
e
.
goods
id
}
&phone=
${
e
.
fullphone
}
`
)
await
toClipboard
(
`
${
value
}
?ditch=
${
uid
}
&goodsid=
${
e
.
id
}
&phone=
${
e
.
fullphone
}
`
)
message
.
success
(
'复制成功'
)
message
.
success
(
'复制成功'
)
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
error
(
e
)
console
.
error
(
e
)
...
...
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