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
ba4f32da
authored
2023-06-26 15:59:26 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
23ad7f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
src/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue
View file @
ba4f32d
...
...
@@ -287,8 +287,7 @@
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
{
Init
,
saveData
}
from
"@/api/workflow/jsydsyqFlow.js"
;
import
{
init
}
from
"@/api/djbbl.js"
;
import
{
init
,
save
}
from
"@/api/djbbl.js"
;
import
qlrCommonTable
from
"@/views/workflow/components/qlrCommonTable"
;
import
tdytTable
from
"@/views/workflow/components/tdytTable"
;
export
default
{
...
...
@@ -333,8 +332,10 @@ export default {
},
// 更新权利人信息
upDateQlrxxList
(
val
)
{
this
.
ruleForm
.
qlrList
&&
(
this
.
ruleForm
.
qlrList
=
_
.
cloneDeep
(
val
));
this
.
czrOptions
=
this
.
ruleForm
.
qlrList
;
console
.
log
(
"val"
,
val
);
this
.
ruleForm
.
qlrData
&&
(
this
.
ruleForm
.
qlrData
=
_
.
cloneDeep
(
val
));
console
.
log
(
"this.ruleForm.qlrData"
,
this
.
ruleForm
.
qlrData
);
this
.
czrOptions
=
this
.
ruleForm
.
qlrData
;
this
.
key
++
;
},
// 更新义务人信息
...
...
@@ -344,7 +345,7 @@ export default {
},
onSubmit
()
{
console
.
log
(
"this.ruleForm大信息"
,
this
.
ruleForm
);
if
(
this
.
ruleForm
.
qlr
List
.
length
==
0
)
{
if
(
this
.
ruleForm
.
qlr
Data
.
length
==
0
)
{
this
.
$message
({
showClose
:
true
,
message
:
"请确认权利人信息"
,
...
...
@@ -354,7 +355,7 @@ export default {
}
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"0"
)
{
if
(
this
.
ruleForm
.
qlr
List
.
length
>
1
)
{
if
(
this
.
ruleForm
.
qlr
Data
.
length
>
1
)
{
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
...
...
@@ -362,17 +363,17 @@ export default {
});
return
false
;
}
this
.
ruleForm
.
qlr
List
[
0
].
sfczr
=
"1"
;
this
.
ruleForm
.
qlr
Data
[
0
].
sfczr
=
"1"
;
}
if
(
this
.
ruleForm
.
qlxx
.
gyfs
==
"1"
)
{
//是否分别持证
if
(
this
.
ruleForm
.
qlxx
.
sqfbcz
==
"1"
)
{
//是
this
.
ruleForm
.
qlr
List
.
forEach
((
item
,
index
)
=>
{
this
.
ruleForm
.
qlr
Data
.
forEach
((
item
,
index
)
=>
{
item
.
sfczr
=
"1"
;
});
}
else
{
this
.
ruleForm
.
qlr
List
.
forEach
((
item
,
index
)
=>
{
this
.
ruleForm
.
qlr
Data
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
zjh
==
this
.
ruleForm
.
czr
)
{
item
.
sfczr
=
"1"
;
}
else
{
...
...
@@ -381,7 +382,7 @@ export default {
});
}
}
save
Data
(
this
.
ruleForm
).
then
((
res
)
=>
{
save
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
showClose
:
true
,
...
...
Please
register
or
sign in
to post a comment