Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 69256aaf
authored
Oct 21, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
ca5c4c1d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/components/PlatNum.vue
src/views/customer/editPlat.vue
src/components/PlatNum.vue
View file @
69256aa
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
},
},
enterWord
()
{
enterWord
()
{
// this.plateInput.input.dialogVisible = false
// this.plateInput.input.dialogVisible = false
console
.
log
()
//
console.log()
this
.
$emit
(
'updateChange'
,
this
.
plateInput
.
input
.
value
)
this
.
$emit
(
'updateChange'
,
this
.
plateInput
.
input
.
value
)
},
},
clickKeyboard
(
val
)
{
clickKeyboard
(
val
)
{
...
...
src/views/customer/editPlat.vue
View file @
69256aa
...
@@ -18,7 +18,7 @@ export default {
...
@@ -18,7 +18,7 @@ export default {
// var regExp = /(^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}$)/
// var regExp = /(^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}$)/
// console.log(regExp.test(plateNum), plateNum)
// console.log(regExp.test(plateNum), plateNum)
if
(
plateNum
.
length
<
8
)
{
if
(
plateNum
.
length
<
7
)
{
this
.
showToast
(
'请输入正确的车牌号'
)
this
.
showToast
(
'请输入正确的车牌号'
)
return
return
}
}
...
...
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