e25615ec by weimo934

Merge remote-tracking branch 'origin/master'

2 parents 5f74171b 03f28a9f
......@@ -8,7 +8,7 @@
<el-row>
<el-col :span="16" class="fl">
<el-radio-group v-model="gyfs">
<el-radio :label="item.bsm" :disabled="qszt!='0'" :key="item.bsm" v-for="item in $store.state.gyfsList">{{item.mc}}</el-radio>
<el-radio :label="item.bsm" :disabled="qszt!='0' || item.disabled" :key="item.bsm" v-for="item in gyfsList">{{item.mc}}</el-radio>
</el-radio-group>
</el-col>
<el-col :span="4" class="fr" v-show="qszt=='0'">
......@@ -245,7 +245,7 @@
</td>
<td colspan="2" class="tdright">电话</td>
<td colspan="3">
<input type="text" class="formInput" v-model="item.dh" />
<input type="text" class="formInput" v-model="item.dh" />
</td>
</tr>
</template>
......@@ -325,6 +325,7 @@
// bsm:'',
gyfs: '',
tableData: [],
gyfsList:[],
//表格选中项
multipleSelection: [],
dialogVisible: false,
......@@ -463,6 +464,16 @@
this.formData.fr=row.frList[0];
}
},
inputBlur(e){
if(e.target.value!=''){
e.target.style.border=""
}else{
e.target.style.border="1px solid red";
e.target.style.boxSizing = 'border-box';
}
},
//删除行数据
delRow() {
if (this.multipleSelection.length > 0) {
......@@ -531,12 +542,21 @@
})
}
},
created(){},
created(){
if(this.tableData.length>1){
this.gyfsList = this.$store.state.gyfsList.length;
for(let i = 0;i<this.gyfsList.length;i++){
let item = this.gyfsList[i];
this.gyfsList.disabled = item.mc === "单独所有" && item.bsm === this.gyfs;
}
}
},
mounted() {
this.getQlrInfo();
if(this.$store.state.gyfsList.length>0){
this.gyfs=this.$store.state.gyfsList[0].bsm;
}
},
watch:{
dialogVisible(n){
......@@ -584,7 +604,16 @@
zjzlbsm: "",
}
}
}
},
tableData(){
if(this.tableData.length>1){
this.gyfsList = this.$store.state.gyfsList;
for(let i = 0;i<this.gyfsList.length;i++){
let item = this.gyfsList[i];
this.gyfsList[i].disabled = item.mc === "单独所有";
}
}
},
}
};
</script>
......
<template>
<el-row>
<el-col :span="24">
<el-col :span="24" style="margin-left: -10px;">
<el-row>
<el-col :span="24">
<el-form :inline="true" class="demo-form-inline" label-width="106px">
<el-form-item label="宗地编码">
<el-form-item label="不动产单元号">
<el-input
v-model="queryData.zddm"
placeholder="输入宗地编码"
maxlength="28"
v-model="queryData.bdcdyh"
placeholder="输入不动产单元号"
@change="query"
></el-input>
</el-form-item>
......@@ -18,11 +19,10 @@
@change="query"
></el-input>
</el-form-item>
<el-form-item label="不动产单元号:">
<el-form-item label="宗地编码">
<el-input
maxlength="28"
v-model="queryData.bdcdyh"
placeholder="输入不动产单元号"
v-model="queryData.zddm"
placeholder="输入宗地编码"
@change="query"
></el-input>
</el-form-item>
......@@ -41,6 +41,13 @@
<el-row class="row3" v-if="ismore">
<el-col :span="22">
<el-form :inline="true" class="demo-form-inline" label-width="106px">
<el-form-item label="不动产权证号">
<el-input
placeholder="输入不动产权证号"
v-model="queryData.bdcqzh"
@change="query"
></el-input>
</el-form-item>
<el-form-item label="权利人名称">
<el-input
placeholder="输入权利人名称"
......@@ -48,20 +55,13 @@
@change="query"
></el-input>
</el-form-item>
<el-form-item label="坐落:">
<el-form-item label="坐落">
<el-input
v-model="queryData.zl"
placeholder="输入坐落地址"
@change="query"
></el-input>
</el-form-item>
<el-form-item label="不动产权证号">
<el-input
placeholder="输入不动产权证号"
v-model="queryData.bdcqzh"
@change="query"
></el-input>
</el-form-item>
</el-form>
</el-col>
<el-col :span="2" :offset="offset">
......
......@@ -88,7 +88,7 @@
<tr>
<td colspan="2" class="tdright">建筑物高度(m)</td>
<td colspan="4" >
<input class="formInput" :disabled="form.qszt!='0'" v-model="form.jzwgd">
<input class="formInput" type="number" :disabled="form.qszt!='0'" v-model="form.jzwgd">
</td>
<td colspan="2" class="tdright">地下深度(m)</td>
<td colspan="4" >
......