| @@ -88,25 +88,6 @@ | |||||
| </van-list> | </van-list> | ||||
| <van-dialog v-model="outsideOpen" title="外村农户" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" @confirm="outsideSubmitForm" > | <van-dialog v-model="outsideOpen" title="外村农户" show-cancel-button confirmButtonText="保存" cancelButtonText="关闭" @confirm="outsideSubmitForm" > | ||||
| <wcnhList style="height: 600px;overflow: auto;" ref="wcnh"/> | <wcnhList style="height: 600px;overflow: auto;" ref="wcnh"/> | ||||
| <!-- <van-row>--> | |||||
| <!-- <van-col span="24">--> | |||||
| <!-- <van-field v-model="outsideForm.nhdm" label="外村农户" placeholder="外村农户" input-align="right" required :rules="[{ required: true }]" @click="showWcnh = true"/>--> | |||||
| <!-- <van-popup v-model="showWcnh" position="bottom">--> | |||||
| <!-- <van-search placeholder="请输入" v-model="hnncValue" />--> | |||||
| <!-- <van-picker--> | |||||
| <!-- show-toolbar--> | |||||
| <!-- :columns="wcnhnewList"--> | |||||
| <!-- @confirm="nhChange"--> | |||||
| <!-- value-key="nhValue"--> | |||||
| <!-- @cancel="showWcnh = false"--> | |||||
| <!-- />--> | |||||
| <!-- </van-popup>--> | |||||
| <!-- <br/>--> | |||||
| <!-- <br/>--> | |||||
| <!-- </van-col>--> | |||||
| <!-- </van-row>--> | |||||
| </van-dialog> | </van-dialog> | ||||
| <!-- </van-pull-refresh>--> | <!-- </van-pull-refresh>--> | ||||
| </div> | </div> | ||||
| @@ -4946,8 +4927,14 @@ | |||||
| if(wcnhData == null){ | if(wcnhData == null){ | ||||
| this.$toast("请选择外村农户!"); | this.$toast("请选择外村农户!"); | ||||
| }else { | }else { | ||||
| this.$toast.loading({ | |||||
| message: "数据处理中", | |||||
| forbidClick: true, | |||||
| duration: 100000, | |||||
| }); | |||||
| addOutsidenhhncy(wcnhData).then(response => { | addOutsidenhhncy(wcnhData).then(response => { | ||||
| if(response.code != 200) throw response.msg; | if(response.code != 200) throw response.msg; | ||||
| this.$toast.clear(); | |||||
| this.$toast("新增成功"); | this.$toast("新增成功"); | ||||
| this.outsideOpen = false; | this.outsideOpen = false; | ||||
| this.getList(); | this.getList(); | ||||