d65b99cb by weimo934

feat(zddm):添加宗地代码展示

1 parent 2bd63f79
......@@ -8,7 +8,11 @@ import setTabs from './modules/setTabs'
Vue.use(Vuex);
const store = new Vuex.Store({
state: sessionStorage.getItem('state') ? JSON.parse(sessionStorage.getItem('state')) : {
zdbsm: '',
zddm:'', // 宗地代码
zdbsm: '', // 宗地标识码
xmmc: '', // 项目名称
zdmj: '', // 宗地面积
zdzl: '', // 宗地坐落
tdytList:[],
tddjList:[],
qlxzList:[],
......@@ -26,9 +30,6 @@ const store = new Vuex.Store({
djzqList: [],
//创建自然幢时需要用到的临时存储信息
zrzbsm: '',
xmmc: '',
zdmj: '',
zdzl: '',
zjlxList: [],
gyfsList: [],
},
......
......@@ -7,7 +7,7 @@
</tr>
<tr>
<td colspan="2">宗地代码</td>
<td colspan="3"><input type="text" class="formInput" v-model="mjftData.zdbsm " disabled/></td>
<td colspan="3"><input type="text" class="formInput" v-model="zddm " disabled/></td>
</tr>
<tr>
<td colspan="2">宗地面积(㎡)</td>
......@@ -59,6 +59,7 @@
return {
tdzl: '', // 土地坐落 继承获取
zdmj: '', // 宗地面积 继承获取
zddm:'',
mjftData: {
zdbsm: '', // 宗地标识码 继承获取
tdsyqsyqmjhj: '',// 土地所有权/使用权面积合计
......@@ -193,6 +194,9 @@
"$store.state.zdzl": function (tdzl) {
this.tdzl = tdzl
},
"$store.state.zddm": function (zddm) {
this.zddm = zddm
},
}
}
</script>
......
......@@ -191,9 +191,11 @@
</el-select>
</td>
<td colspan="2">
<input type="text" v-model="formData.rjl" :class="formData.jyrjl=='-'? 'formInput percent47' : 'formInput'"/>
<input type="text" v-model="formData.rjl"
:class="formData.jyrjl=='-'? 'formInput percent47' : 'formInput'"/>
<span class="percent4" v-show="formData.jyrjl=='-'">-</span>
<input type="text" v-show="formData.jyrjl=='-'" v-model="formData.rjl" class="formInput percent47"/>
<input type="text" v-show="formData.jyrjl=='-'" v-model="formData.rjl"
class="formInput percent47"/>
</td>
<td colspan="2">容积说明</td>
<td colspan="4" class="psr">
......@@ -214,9 +216,11 @@
</el-select>
</td>
<td colspan="2">
<input type="text" v-model="formData.jzmd" :class="formData.jyjzmd=='-'? 'formInput percent47' : 'formInput'"/>
<input type="text" v-model="formData.jzmd"
:class="formData.jyjzmd=='-'? 'formInput percent47' : 'formInput'"/>
<span class="percent4" v-show="formData.jyjzmd=='-'">-</span>
<input type="text" v-show="formData.jyjzmd=='-'" v-model="formData.jzmd" class="formInput percent47"/>
<input type="text" v-show="formData.jyjzmd=='-'" v-model="formData.jzmd"
class="formInput percent47"/>
</td>
<td colspan="2">建筑密度说明</td>
<td colspan="4" class="psr">
......@@ -237,9 +241,11 @@
</el-select>
</td>
<td colspan="2">
<input type="text" v-model="formData.jzxg" :class="formData.jyjzxg=='-'? 'formInput percent47' : 'formInput'"/>
<input type="text" v-model="formData.jzxg"
:class="formData.jyjzxg=='-'? 'formInput percent47' : 'formInput'"/>
<span class="percent4" v-show="formData.jyjzxg=='-'">-</span>
<input type="text" v-show="formData.jyjzxg=='-'" v-model="formData.jzxg" class="formInput percent47"/>
<input type="text" v-show="formData.jyjzxg=='-'" v-model="formData.jzxg"
class="formInput percent47"/>
</td>
<td colspan="2">建筑限高说明</td>
<td colspan="4" class="psr">
......@@ -492,6 +498,9 @@
},
mj() {
return this.formData.zdmj
},
zddm() {
return this.formData.zddm
}
},
watch: {
......@@ -500,6 +509,9 @@
},
mj: function (val) {
this.$store.state.zdmj = val
},
zddm: function (val) {
this.$store.state.zddm = val
}
},
};
......