Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
2113691a
Commit
2113691a
authored
Dec 18, 2022
by
季圣华
Browse files
修改商品条码的校验逻辑
parent
6c97b4a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/material/modules/MaterialModal.vue
View file @
2113691a
...
...
@@ -337,7 +337,6 @@
{
title
:
'
条码
'
,
key
:
'
barCode
'
,
width
:
'
15%
'
,
type
:
FormTypes
.
input
,
defaultValue
:
''
,
placeholder
:
'
请输入${title}
'
,
validateRules
:
[{
required
:
true
,
message
:
'
${title}不能为空
'
},
{
pattern
:
/
[^
%&',;=?$x22
]
+$/
,
message
:
'
含有%&
\'
,;=?$"等字符
'
},
{
pattern
:
/^.
{4,40}
$/
,
message
:
'
长度为4到40位
'
},
{
handler
:
this
.
validateBarCode
}]
},
...
...
Write
Preview
Supports
Markdown
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