Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
ec9d4328
Commit
ec9d4328
authored
Jan 29, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7433256d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
empBankAccount.vue
src/components/administrative/empBankAccount.vue
+2
-1
empBankAccountAll.vue
src/components/administrative/empBankAccountAll.vue
+1
-1
No files found.
src/components/administrative/empBankAccount.vue
View file @
ec9d4328
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"nameC"
prop=
"CardNum"
>
<el-form-item
:label=
"nameC"
prop=
"CardNum"
>
<el-input
type=
"text"
v-model=
"addMsg.CardNum"
@
keyup
.
native=
"replaceSpace"
placeholder=
"卡号请输入中文、数字、字母
"
>
<el-input
type=
"text"
v-model=
"addMsg.CardNum"
onkeyup=
"value=value.replace(/[^0-9]/g, '')"
placeholder=
"卡号只能输入数字,不能以0开头
"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -842,6 +842,7 @@
...
@@ -842,6 +842,7 @@
this
.
currentPage
=
1
this
.
currentPage
=
1
},
},
submitForm
(
addMsg
)
{
//提交创建、修改表单
submitForm
(
addMsg
)
{
//提交创建、修改表单
console
.
log
(
'卡号:'
+
this
.
addMsg
.
CardNum
)
this
.
$refs
[
addMsg
].
validate
((
valid
)
=>
{
this
.
$refs
[
addMsg
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
addData
();
this
.
addData
();
...
...
src/components/administrative/empBankAccountAll.vue
View file @
ec9d4328
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
:label=
"nameC"
prop=
"CardNum"
>
<el-form-item
:label=
"nameC"
prop=
"CardNum"
>
<el-input
type=
"text"
v-model=
"addMsg.CardNum"
onkeyup=
"value=value.replace(/[^
\w\u4E00-\u9FA5]/g, '')"
placeholder=
"卡号请输入中文、数字、字母
"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.CardNum"
onkeyup=
"value=value.replace(/[^
0-9]/g, '')"
placeholder=
"卡号只能输入数字,不能以0开头
"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-col
:span=
"4"
:gutter=
"35"
>
...
...
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