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
610a6876
authored
2023-08-17 17:12:29 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
--no commit message
2 parents
e62bc02f
79da88d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
4 deletions
src/views/workflow/components/qlrCommonTable.vue
src/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue
src/views/workflow/components/qlrCommonTable.vue
View file @
610a687
<!--
* @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
++
...
...
src/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue
View file @
610a687
...
...
@@ -253,7 +253,57 @@
*/
onSubmitClick
()
{
let
that
=
this
if
(
this
.
ruleForm
.
qlrList
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认抵押权人信息"
,
type
:
"error"
,
});
return
false
;
}
if
(
ruleForm
.
sldyList
[
0
].
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
[
0
].
sfczr
=
"1"
;
}
else
{
if
(
this
.
ruleForm
.
qlrList
.
length
<=
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上"
,
type
:
"error"
,
});
return
false
;
}
//是否分别持证
if
(
this
.
ruleForm
.
sldyList
[
0
].
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
}
else
{
if
(
!
that
.
ruleForm
.
czr
)
{
that
.
$message
({
showClose
:
true
,
message
:
"请选择持证人"
,
type
:
"error"
,
});
return
false
;
}
this
.
ruleForm
.
qlrList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
ruleForm
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
item
.
sfczr
=
"0"
;
}
});
}
}
saveBatchData
(
this
.
ruleForm
,
this
.
propsParam
.
djlx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
Please
register
or
sign in
to post a comment