c54837f8 by zhaoqian

户的提交操作

1 parent 58cfdc5d
...@@ -439,6 +439,7 @@ ...@@ -439,6 +439,7 @@
439 label: 'mc' 439 label: 'mc'
440 }, 440 },
441 441
442 hbsm:'',
442 form:{ 443 form:{
443 bsm:'',//户标识码 444 bsm:'',//户标识码
444 zrzbsm:'', //自然幢标识码 445 zrzbsm:'', //自然幢标识码
...@@ -525,7 +526,8 @@ ...@@ -525,7 +526,8 @@
525 } 526 }
526 }, 527 },
527 created(){ 528 created(){
528 let bsm=this.$store.state.hbsm 529 let bsm=this.bsm;
530
529 if (bsm) { 531 if (bsm) {
530 this.getHInfo(bsm); 532 this.getHInfo(bsm);
531 } 533 }
...@@ -538,7 +540,7 @@ ...@@ -538,7 +540,7 @@
538 registerCall(){ 540 registerCall(){
539 let data={ 541 let data={
540 type:'h', 542 type:'h',
541 bsm:this.$store.state.hbsm 543 bsm:this.bsm
542 } 544 }
543 registerCall(data).then(res=>{ 545 registerCall(data).then(res=>{
544 if (res.success) { 546 if (res.success) {
...@@ -597,6 +599,7 @@ ...@@ -597,6 +599,7 @@
597 getQjHDetailByBsm(hbsm).then((res)=>{ 599 getQjHDetailByBsm(hbsm).then((res)=>{
598 if(res.code===200){ 600 if(res.code===200){
599 this.form = res.result; 601 this.form = res.result;
602 this.hbsm = res.result.bsm;
600 if(res.result.qszt !== '0'){ 603 if(res.result.qszt !== '0'){
601 this.disableFlag = true; 604 this.disableFlag = true;
602 } 605 }
...@@ -730,7 +733,7 @@ ...@@ -730,7 +733,7 @@
730 }, 733 },
731 onSubmit(){ 734 onSubmit(){
732 let data={ 735 let data={
733 glbsm:this.$store.state.hbsm, 736 glbsm:this.bsm,
734 status:1, 737 status:1,
735 type:"h" 738 type:"h"
736 } 739 }
......