Browse Source

宅基地调查

wulanhaote
yujk 3 years ago
parent
commit
a8bac08847
1 changed files with 22 additions and 4 deletions
  1. +22
    -4
      src/views/homesteadSurvey/add.vue

+ 22
- 4
src/views/homesteadSurvey/add.vue View File

@@ -1326,7 +1326,7 @@
name="农户代码"
label="农户代码"
placeholder="选择农户代码"
@click="shownmfwnhdm = true"
@click="shownmfwnhdm = true,getSyqrList()"
readonly
required
:rules="[{ required: true, message: '农户代码不能为空' }]"
@@ -2791,11 +2791,11 @@
</van-popup>
<!--农民房屋农户代码列表-->
<van-popup v-model="shownmfwnhdm" position="bottom">
<van-search v-model="nhdmValue" placeholder="请输入搜索关键词" @input="getnhdmlist"/>
<!--<van-search v-model="nhdmValue" placeholder="请输入搜索关键词" @input="getnhdmlist"/>-->
<van-picker
show-toolbar
:columns="syqrnhdmlist"
value-key="hzxm"
:columns="syqrlist"
value-key="shyqrdbxm"
@confirm="onConfirmnmfwnhdm"
@cancel="shownmfwnhdm = false"
/>
@@ -3875,6 +3875,24 @@
this.$router.push({name:'homesteadList'});
}
},
// 删除房屋
deletefw(id,index){
Dialog.confirm({
title: '警告',
message: '删除后无法恢复,确认删除么?',
})
.then(() => {
// on confirm
delNmfw(id).then(response => {
if(response.code=='200'){
this.fwlist.splice(index,1)
}
})
})
.catch(() => {
// on cancel
});
},
showPopupnh(item){
this.shownh = true;
if(item==""){


Loading…
Cancel
Save