Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b497d9b6
authored
Jan 09, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
34c4551c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/components/PayModal.vue
src/components/PayModal.vue
View file @
b497d9b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<template
v-if=
"i.name"
>
<template
v-if=
"i.name"
>
<div
class=
"item flex"
:key=
"index"
>
<div
class=
"item flex"
:key=
"index"
>
<div
class=
"label text-hide"
>
<div
class=
"label text-hide"
>
<span>
*
</span>
<span
v-if=
"i.key != 'plateNo'"
>
*
</span>
{{
i
.
name
}}
{{
i
.
name
}}
</div>
</div>
<div
class=
"value"
>
<div
class=
"value"
>
...
@@ -113,10 +113,11 @@ export default {
...
@@ -113,10 +113,11 @@ export default {
platNumberRex
=
/^
(([
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领
][
A-Z
](([
0-9
]{5}[
DF
])
|
([
A-Z
]([
A-HJ-NP-Z0-9
]){5})))
|
([
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领
][
A-Z
][
A-HJ-NP-Z0-9
]{4}[
A-HJ-NP-Z0-9挂学警港澳使领
]))
$/
platNumberRex
=
/^
(([
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领
][
A-Z
](([
0-9
]{5}[
DF
])
|
([
A-Z
]([
A-HJ-NP-Z0-9
]){5})))
|
([
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领
][
A-Z
][
A-HJ-NP-Z0-9
]{4}[
A-HJ-NP-Z0-9挂学警港澳使领
]))
$/
console
.
log
(
params
)
console
.
log
(
params
)
const
onInput
=
[
"plateNo"
];
try
{
try
{
items
.
map
(
e
=>
{
items
.
map
(
e
=>
{
Object
.
keys
(
params
).
map
(
key
=>
{
Object
.
keys
(
params
).
map
(
key
=>
{
if
(
!
params
[
key
]
&&
key
==
e
.
key
&&
e
.
name
)
throw
e
.
name
if
(
!
params
[
key
]
&&
key
==
e
.
key
&&
e
.
name
&&
!
onInput
.
includes
(
key
)
)
throw
e
.
name
})
})
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment