|
@@ -40,7 +40,6 @@
|
|
|
:loading="loading"
|
|
|
:rwBsm="rwBsm"
|
|
|
:rzMc="nowObj.xmmc"
|
|
|
- v-if="activeTabs == 'xzjg'"
|
|
|
ref="xzjg"
|
|
|
></XZJG>
|
|
|
</div>
|
|
@@ -97,15 +96,22 @@ export default {
|
|
|
activeTabs(newValue) {
|
|
|
if (newValue != "fzxz") this.$refs.fzxz.reset();
|
|
|
if (newValue != "lsju") this.$refs.lsju.reset();
|
|
|
+ if (newValue != "xzjg") this.$refs.xzjg.reset();
|
|
|
|
|
|
if (newValue == "lsju") {
|
|
|
this.$refs.lsju.reset();
|
|
|
this.$refs.lsju.changeForm();
|
|
|
}
|
|
|
+ if (newValue == "xzjg") {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.xzjg.GetXzjg();
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
query(newVal, oldVal) {
|
|
|
if (newVal) {
|
|
|
this.rwBsm = newVal;
|
|
|
+ this.$refs.xzjg.reset();
|
|
|
this.activeTabs = "xzjg";
|
|
|
this.$refs.xzjg.GetXzjg();
|
|
|
}
|