| @@ -1326,7 +1326,7 @@ | |||||
| name="农户代码" | name="农户代码" | ||||
| label="农户代码" | label="农户代码" | ||||
| placeholder="选择农户代码" | placeholder="选择农户代码" | ||||
| @click="shownmfwnhdm = true" | |||||
| @click="shownmfwnhdm = true,getSyqrList()" | |||||
| readonly | readonly | ||||
| required | required | ||||
| :rules="[{ required: true, message: '农户代码不能为空' }]" | :rules="[{ required: true, message: '农户代码不能为空' }]" | ||||
| @@ -2791,11 +2791,11 @@ | |||||
| </van-popup> | </van-popup> | ||||
| <!--农民房屋农户代码列表--> | <!--农民房屋农户代码列表--> | ||||
| <van-popup v-model="shownmfwnhdm" position="bottom"> | <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 | <van-picker | ||||
| show-toolbar | show-toolbar | ||||
| :columns="syqrnhdmlist" | |||||
| value-key="hzxm" | |||||
| :columns="syqrlist" | |||||
| value-key="shyqrdbxm" | |||||
| @confirm="onConfirmnmfwnhdm" | @confirm="onConfirmnmfwnhdm" | ||||
| @cancel="shownmfwnhdm = false" | @cancel="shownmfwnhdm = false" | ||||
| /> | /> | ||||
| @@ -3875,6 +3875,24 @@ | |||||
| this.$router.push({name:'homesteadList'}); | 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){ | showPopupnh(item){ | ||||
| this.shownh = true; | this.shownh = true; | ||||
| if(item==""){ | if(item==""){ | ||||