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
1a473d3d
authored
2021-01-04 14:47:41 +0800
by
weimo934
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(yzgy):业主共有参数校验
1 parent
8e704487
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
32 deletions
src/views/zrz/yzgy/index.vue
src/views/zrz/yzgy/index.vue
View file @
1a473d3
...
...
@@ -3,29 +3,34 @@
<table
border=
"1"
>
<tr>
<td
colspan=
"3"
>
宗地代码
</td>
<td
colspan=
"4"
><input
type=
"text"
class=
"formInput"
v-model=
"zddm "
disabled
/></td>
<td
colspan=
"4"
>
<el-input
v-model=
"zddm "
disabled
></el-input>
</td>
</tr>
<tr>
<td
colspan=
"3"
>
建筑物区分所有权业主共有部分权利人
</td>
<td
colspan=
"4"
><input
type=
"text"
class=
"formInput"
v-model=
"Data.qlr"
disabled
/></td>
<td
colspan=
"4"
>
<el-input
v-model=
"Data.qlr"
disabled
></el-input>
</td>
</tr>
</table>
<table
border=
"1"
>
<tr>
<t
d
>
<t
h
>
<el-button
type=
"primary"
class=
"changeBtn inAdd addMinus"
@
click=
"addRow"
>
+
</el-button
>
+
</el-button
>
</t
d
>
<t
d>
建(构)筑物编号
</td
>
<t
d>
建(构)筑物数量
</td
>
<t
d>
建(构)筑物面积(㎡)
</td
>
<t
d>
占地面积(㎡)
</td
>
<t
d>
分摊土地面积(㎡)
</td
>
<t
d>
附记
</td
>
</t
h
>
<t
h>
建(构)筑物编号
</th
>
<t
h>
建(构)筑物数量
</th
>
<t
h>
建(构)筑物面积(㎡)
</th
>
<t
h>
占地面积(㎡)
</th
>
<t
h>
分摊土地面积(㎡)
</th
>
<t
h>
附记
</th
>
</tr>
<tr
v-for=
"(item,i) in Data.list"
:key=
"i"
>
<td>
...
...
@@ -33,29 +38,34 @@
type=
"primary"
class=
"changeBtn inMinus addMinus"
@
click=
"delRow(i)"
>
-
</el-button
>
-
</el-button
>
</td>
<td><el-input
v-model=
"item.jgzwbh"
placeholder=
"请输入建(构)筑物编号"
></el-input></td>
<td><el-input
v-model=
"item.jgzsl"
oninput=
"value = (value.match(/^\d*/g)) || null"
placeholder=
"请输入建(构)筑物数量"
></el-input></td>
<td><el-input
v-model=
"item.jgzmj"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,3})/g)[0]) || null" placeholder="请输入建(构)筑物面积(㎡)">
</el-input></td>
<td><el-input
v-model=
"item.zdmj"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,3})/g)[0]) || null" placeholder="请输入占地面积(㎡)">
</el-input></td>
<td><el-input
v-model=
"item.fttdmj"
oninput=
"value = (value.match(/^\d*(\.?\d
{0,3})/g)[0]) || null" placeholder="请输入分摊土地面积(㎡)">
</el-input></td>
<td><el-input
v-model=
"item.fj"
placeholder=
"请输入附记"
></el-input></td>
<td>
<el-input
v-model=
"item.jgzwbh"
placeholder=
"请输入建(构)筑物编号"
></el-input>
</td>
<td>
<el-input
v-model=
"item.jgzsl"
oninput=
"value = (value.match(/^\d
{0,10}/g)) || null"
placeholder="请输入建(构)筑物数量">
</el-input>
</td>
<td>
<el-input
v-model=
"item.jgzmj"
oninput=
"value = (value.match(/^\d
{0,10}(\.?\d{0,3})/g)[0]) || null"
placeholder="请输入建(构)筑物面积(㎡)">
</el-input>
</td>
<td>
<el-input
v-model=
"item.zdmj"
oninput=
"value = (value.match(/^\d
{0,10}(\.?\d{0,3})/g)[0]) || null"
placeholder="请输入占地面积(㎡)">
</el-input>
</td>
<td>
<el-input
v-model=
"item.fttdmj"
oninput=
"value = (value.match(/^\d
{0,10}(\.?\d{0,3})/g)[0]) || null"
placeholder="请输入分摊土地面积(㎡)">
</el-input>
</td>
<td>
<el-input
v-model=
"item.fj"
placeholder=
"请输入附记"
></el-input>
</td>
</tr>
<!--
<tr>
<td>
统计
</td>
<td>
{{
sumTdsyqsyqmj
}}
</td>
<td>
{{
sumDydytdmj
}}
</td>
<td>
{{
sumFttdmj
}}
</td>
<td>
{{
sumFttdmj
}}
</td>
<td>
{{
sumFttdmj
}}
</td>
<td>
{{
sumFttdmj
}}
</td>
</tr>
-->
</table>
<!--
<div
class=
"pers"
>
<el-button
@
click=
"save"
type=
"primary"
>
保存
</el-button>
</div>
-->
<div
class=
"header-button"
:style=
"
{width:mainBoxWidth+'px'}">
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"save"
>
保存
</el-button>
</div>
...
...
@@ -85,7 +95,7 @@
fj
:
''
}]
},
mainBoxWidth
:
0
mainBoxWidth
:
0
}
},
...
...
@@ -100,7 +110,7 @@
},
save
()
{
console
.
log
(
this
.
Data
);
if
(
this
.
Data
.
list
.
length
===
0
)
{
if
(
this
.
Data
.
list
.
length
===
0
)
{
Message
.
info
(
"至少填写一条建筑物信息"
)
return
}
...
...
@@ -194,6 +204,7 @@
.dzwsl
{
width
:
200px
;
}
.header-button
{
z-index
:
3
;
height
:
50px
;
...
...
Please
register
or
sign in
to post a comment