sunkuosheng 6 giorni fa
parent
commit
ed21f26374
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      ruoyi-ui-gljt/src/views/gljt/gljtSq/index.vue

+ 5 - 1
ruoyi-ui-gljt/src/views/gljt/gljtSq/index.vue

@@ -523,7 +523,7 @@
                 <RegionCascaderSelect
                   v-model="form.xzqh"
                   style="width: 100%"
-                  @nodeData="getKhyh"
+                  @nodeData="changeXzqh"
                   valueProp="code"
                   :isDataRoot="true"
                 >
@@ -1915,6 +1915,10 @@ export default {
     // console.log(this.user.qxpz,'<---------qxpz');
   },
   methods: {
+    changeXzqh(){
+      this.form.khyh='';
+      this.getKhyh();
+    },
     async getKhyh(){
       let xzqh='';
       if (this.form.xzqh !== null) {