权利人组件修改(默认中国,修改后更新,新建时重置数据)
Showing
1 changed file
with
51 additions
and
2 deletions
... | @@ -92,7 +92,7 @@ | ... | @@ -92,7 +92,7 @@ |
92 | </td> | 92 | </td> |
93 | <td colspan="2">证件号<i class="requisite">*</i></td> | 93 | <td colspan="2">证件号<i class="requisite">*</i></td> |
94 | <td colspan="3"> | 94 | <td colspan="3"> |
95 | <input type="text" class="formInput" v-model="formData.zjh" /> | 95 | <input type="text" class="formInput" maxlength="18" v-model="formData.zjh" /> |
96 | </td> | 96 | </td> |
97 | </tr> | 97 | </tr> |
98 | <tr> | 98 | <tr> |
... | @@ -353,7 +353,7 @@ | ... | @@ -353,7 +353,7 @@ |
353 | dzyj: "", | 353 | dzyj: "", |
354 | fczh: "", | 354 | fczh: "", |
355 | fzjg: "", | 355 | fzjg: "", |
356 | gjbsm: "", | 356 | gjbsm: "PSHGSBDCQJDC000000000000DC350010", //默认中国 |
357 | glbsm: "", | 357 | glbsm: "", |
358 | gyfsbsm: "", | 358 | gyfsbsm: "", |
359 | gyqk: "", | 359 | gyqk: "", |
... | @@ -422,6 +422,7 @@ | ... | @@ -422,6 +422,7 @@ |
422 | updateQlrDlrFr(this.formData).then((res)=>{ | 422 | updateQlrDlrFr(this.formData).then((res)=>{ |
423 | if(res.code===200){ | 423 | if(res.code===200){ |
424 | this.$message.success("修改完成!"); | 424 | this.$message.success("修改完成!"); |
425 | this.getQlrInfo(); | ||
425 | this.update=false; | 426 | this.update=false; |
426 | this.dialogVisible = false; | 427 | this.dialogVisible = false; |
427 | } | 428 | } |
... | @@ -538,6 +539,54 @@ | ... | @@ -538,6 +539,54 @@ |
538 | this.gyfs=this.$store.state.gyfsList[0].bsm; | 539 | this.gyfs=this.$store.state.gyfsList[0].bsm; |
539 | } | 540 | } |
540 | }, | 541 | }, |
542 | watch:{ | ||
543 | dialogVisible(n){ | ||
544 | if(n == false){ | ||
545 | this.formData = { | ||
546 | addQjDlrFrRequest:[], | ||
547 | dlrList: [ | ||
548 | { | ||
549 | dh: "", | ||
550 | dlrfrmc: "", | ||
551 | qlrbsm: "", | ||
552 | zjh: "", | ||
553 | zjzlbsm: "", | ||
554 | }, | ||
555 | ], | ||
556 | fr: { | ||
557 | dh: "", | ||
558 | dlrfrmc: "", | ||
559 | qlrbsm: "", | ||
560 | zjh: "", | ||
561 | zjzlbsm: "", | ||
562 | }, | ||
563 | bz: "", | ||
564 | dh: "", | ||
565 | dz: "", | ||
566 | dzyj: "", | ||
567 | fczh: "", | ||
568 | fzjg: "", | ||
569 | gjbsm: "PSHGSBDCQJDC000000000000DC350010", //默认中国 | ||
570 | glbsm: "", | ||
571 | gyfsbsm: "", | ||
572 | gyqk: "", | ||
573 | gzdw: "", | ||
574 | hjszssbsm: "", | ||
575 | isdel: 0, | ||
576 | qlbl: "", | ||
577 | qlrlxbsm: "", | ||
578 | qlrmc: "", | ||
579 | sshy: "", | ||
580 | sxh: 0, | ||
581 | tdzh: "", | ||
582 | xbbsm: "", | ||
583 | yb: "", | ||
584 | zjh: "", | ||
585 | zjzlbsm: "", | ||
586 | } | ||
587 | } | ||
588 | } | ||
589 | } | ||
541 | }; | 590 | }; |
542 | </script> | 591 | </script> |
543 | <style lang="less"> | 592 | <style lang="less"> | ... | ... |
-
Please register or sign in to post a comment