Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
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
8778a3e1
authored
2020-12-01 20:00:19 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
自然幢信息保存前判断自然幢号和不动产单元号的前19位是否和宗地代码一致
1 parent
c02dda54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
31 deletions
src/views/zrz/zrzxx/index.vue
src/views/zrz/zrzxx/index.vue
View file @
8778a3e
...
...
@@ -348,22 +348,6 @@
sx
:
''
,
//顺序
}],
},
options
:
[{
value
:
'选项1'
,
label
:
'黄金糕'
},
{
value
:
'选项2'
,
label
:
'双皮奶'
},
{
value
:
'选项3'
,
label
:
'蚵仔煎'
},
{
value
:
'选项4'
,
label
:
'龙须面'
},
{
value
:
'选项5'
,
label
:
'北京烤鸭'
}],
value
:
''
,
ytTitleRowspan
:
1
,
//用途的单元格垂直合并数量
fwjgTitleRowspan
:
1
,
//房屋结构的单元格垂直合并数量
...
...
@@ -412,23 +396,33 @@
}
},
onSave
(){
this
.
loading
=
true
;
this
.
form
.
zrzbsm
=
this
.
bsm
;
this
.
form
.
qlxzList
=
this
.
$refs
.
qlxzModule
.
getQlxzDataList
();
if
(
1
>
0
){
saveZrzInfo
(
this
.
form
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存完成!"
)
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
//判断自然幢号和不动产单元号是否手动修改过(自然幢号和不动产单元号的前19位是否和宗地代码一致)
console
.
log
(
this
.
form
,
'this.form'
);
if
(
this
.
form
.
zrzh
.
substring
(
0
,
19
)
!=
this
.
form
.
zddm
||
this
.
form
.
bdcdyh
.
substring
(
0
,
19
)
!=
this
.
form
.
zddm
){
this
.
$message
({
message
:
'自然幢号或不动产单元号有误,请核对后再试一次'
,
type
:
"warning"
,
});
}
else
{
this
.
loading
=
true
;
this
.
form
.
zrzbsm
=
this
.
bsm
;
this
.
form
.
qlxzList
=
this
.
$refs
.
qlxzModule
.
getQlxzDataList
();
if
(
1
>
0
){
saveZrzInfo
(
this
.
form
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"保存完成!"
)
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
"warning"
,
});
}
this
.
loading
=
false
;
})
this
.
loading
=
false
;
})
this
.
loading
=
false
;
}
}
},
onSubmit
(){
let
data
=
{
...
...
Please
register
or
sign in
to post a comment