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
dce31912
authored
2020-12-15 10:26:25 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
自然幢表单校验完善
1 parent
8575e9f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
src/components/formMenu/qlxz.vue
src/views/zrz/zrzxx/index.vue
src/components/formMenu/qlxz.vue
View file @
dce3191
...
...
@@ -429,7 +429,6 @@ export default {
},
created
()
{},
mounted
(){
console
.
log
(
this
.
formData
,
'formData'
);
},
methods
:
{
startTime
(
index
,
childIndex
){
...
...
@@ -452,7 +451,6 @@ export default {
}
},
sumTime
(
index
,
childIndex
,
syqx
,
e
){
console
.
log
(
e
,
'eeee'
);
this
.
$refs
.
syqx
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
value
==
syqx
){
this
.
$refs
.
tdsyjssj
[
index
].
$el
.
style
.
border
=
""
...
...
@@ -567,13 +565,10 @@ export default {
});
},
getQlxzDataList
()
{
console
.
log
(
this
.
countList
,
'this.countList'
);
return
this
.
countList
;
},
getRules
(){
let
rules
=
[];
console
.
log
(
this
.
$refs
.
tdsyqssj
,
'this.$refs.qlxzdm'
);
console
.
log
(
this
.
countList
,
'this.countList'
);
let
temp
=
0
;
this
.
countList
.
forEach
((
item
,
index
)
=>
{
rules
.
push
({
...
...
src/views/zrz/zrzxx/index.vue
View file @
dce3191
...
...
@@ -519,7 +519,6 @@
this
.
form
.
qlxzList
=
this
.
$refs
.
qlxzModule
.
getQlxzDataList
();
this
.
$refs
.
qlxzModule
.
getRules
();
let
flag
=
true
;
console
.
log
(
this
.
rules
,
'this.rules'
);
this
.
rules
.
forEach
(
item
=>
{
if
(
item
.
rule
.
test
(
item
.
data
)
||
item
.
data
==
null
){
if
(
item
.
dom
.
$el
){
...
...
@@ -534,7 +533,7 @@
}
})
this
.
$nextTick
(()
=>
{
if
(
flag
)
{
if
(
flag
&&
this
.
$refs
.
qlxzModule
.
getRulesResult
()
)
{
if
(
this
.
form
.
zrzh
.
substring
(
0
,
19
)
!=
this
.
form
.
zddm
||
this
.
form
.
bdcdyh
.
substring
(
0
,
19
)
!=
this
.
form
.
zddm
){
this
.
$message
({
message
:
'自然幢号或不动产单元号有误,请核对后再试一次'
,
...
...
Please
register
or
sign in
to post a comment