Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e135fe80
authored
2023-08-17 16:43:27 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证件号
1 parent
4138e202
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
src/views/workflow/components/qlrCommonTable.vue
src/views/workflow/components/qlrCommonTable.vue
View file @
e135fe8
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-17 1
4:30:26
* @LastEditTime: 2023-08-17 1
6:43:18
-->
<
template
>
<div>
...
...
@@ -165,15 +165,20 @@
* @author: renchao
*/
handleupdateDetail
(
value
)
{
let
arr
=
this
.
tableData
.
map
(
item
=>
item
.
zjh
)
if
(
this
.
isaddupdate
)
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
if
(
!
arr
.
includes
(
value
.
zjh
))
{
this
.
tableDataList
[
this
.
tableDataList
.
length
]
=
_
.
cloneDeep
(
value
);
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
}
else
{
this
.
$message
.
error
(
'证件号不能重复'
);
}
}
else
{
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
if
(
!
arr
.
includes
(
value
.
zjh
))
{
this
.
tableDataList
[
this
.
dataIndex
]
=
_
.
cloneDeep
(
value
);
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
}
else
{
this
.
$message
.
error
(
'证件号不能重复'
);
}
}
this
.
key
++
...
...
Please
register
or
sign in
to post a comment