e07f7be0 by zhaoqian

户编辑表单调整

1 parent ae9c15e6
......@@ -520,31 +520,31 @@
if(res.code===200){
this.form = res.result;
if(this.form.scyclx==='0'){
this.fuzhi(this.form.ycjzmj,this.form.jzmj);
this.fuzhi(this.form.yctnjzmj,this.form.tnjzmj);
this.fuzhi(this.form.ycftjzmj,this.form.ftjzmj);
this.fuzhi(this.form.ycdxbfjzmj,this.form.dxbfjzmj);
this.fuzhi(this.form.ycqtjzmj,this.form.qtjzmj);
this.fuzhi(this.form.ycftxs,this.form.ftxs);
this.fuzhi(this.form.scjzmj,this.form.gljzmj);
this.fuzhi(this.form.sctnjzmj,this.form.gltnjzmj);
this.fuzhi(this.form.scftjzmj,this.form.glftjzmj);
this.fuzhi(this.form.scdxbfjzmj,this.form.gldxbfjzmj);
this.fuzhi(this.form.scqtjzmj,this.form.gltjzmj);
this.fuzhi(this.form.scftxs,this.form.glftxs);
this.$set(this.form,"ycjzmj", this.form.jzmj)
this.$set(this.form,"yctnjzmj", this.form.tnjzmj)
this.$set(this.form,"ycftjzmj", this.form.ftjzmj)
this.$set(this.form,"ycdxbfjzmj", this.form.dxbfjzmj)
this.$set(this.form,"ycqtjzmj", this.form.qtjzmj)
this.$set(this.form,"ycftxs", this.form.ftxs)
this.$set(this.form,"scjzmj", this.form.gljzmj)
this.$set(this.form,"sctnjzmj", this.form.gltnjzmj)
this.$set(this.form,"scftjzmj", this.form.glftjzmj)
this.$set(this.form,"scdxbfjzmj", this.form.gldxbfjzmj)
this.$set(this.form,"scqtjzmj", this.form.gltjzmj)
this.$set(this.form,"scftxs", this.form.glftxs)
}else if(this.form.scyclx==='1'){
this.fuzhi(this.form.scjzmj,this.form.jzmj);
this.fuzhi(this.form.sctnjzmj,this.form.tnjzmj);
this.fuzhi(this.form.scftjzmj,this.form.ftjzmj);
this.fuzhi(this.form.scdxbfjzmj,this.form.dxbfjzmj);
this.fuzhi(this.form.scqtjzmj,this.form.qtjzmj);
this.fuzhi(this.form.scftxs,this.form.ftxs);
this.fuzhi(this.form.ycjzmj,this.form.gljzmj);
this.fuzhi(this.form.yctnjzmj,this.form.gltnjzmj);
this.fuzhi(this.form.ycftjzmj,this.form.glftjzmj);
this.fuzhi(this.form.ycdxbfjzmj,this.form.gldxbfjzmj);
this.fuzhi(this.form.ycqtjzmj,this.form.gltjzmj);
this.fuzhi(this.form.ycftxs,this.form.glftxs);
this.$set(this.form,"scjzmj", this.form.jzmj)
this.$set(this.form,"sctnjzmj", this.form.tnjzmj)
this.$set(this.form,"scftjzmj", this.form.ftjzmj)
this.$set(this.form,"scdxbfjzmj", this.form.dxbfjzmj)
this.$set(this.form,"scqtjzmj", this.form.qtjzmj)
this.$set(this.form,"scftxs", this.form.ftxs)
this.$set(this.form,"ycjzmj", this.form.gljzmj)
this.$set(this.form,"yctnjzmj", this.form.gltnjzmj)
this.$set(this.form,"ycftjzmj", this.form.glftjzmj)
this.$set(this.form,"ycdxbfjzmj", this.form.gldxbfjzmj)
this.$set(this.form,"ycqtjzmj", this.form.gltjzmj)
this.$set(this.form,"ycftxs", this.form.glftxs)
}
console.log("=============")
......@@ -660,11 +660,6 @@
this.form.bdcdyh=res.result;
})
},
fuzhi(params,result){
if(params!=null){
result = params;
}
}
}
}
</script>
......