liuhj před 2 týdny
rodič
revize
45803977a4
1 změnil soubory, kde provedl 9 přidání a 1 odebrání
  1. 9 1
      src/components/OP/Groupedit.vue

+ 9 - 1
src/components/OP/Groupedit.vue

@@ -481,7 +481,15 @@ export default {
                     that.gradearr = res.data.data.teamLevData;
                     that.OPtype = res.data.data.teamTypeData;
                     that.cityData = res.data.data.cityData;
-                    that.ruleForm.cityId=that.filteredItems()[0].id;
+                    console.log(that.companyName);
+                    if(that.companyName=='泛美(贵阳) 会展服务有限公司'){
+                        that.ruleForm.cityId=3332
+                    }else{
+                        that.ruleForm.cityId=that.filteredItems()[0].id;
+                    }
+                    if(that.editid==undefined) {
+                        that.ruleForm.OP=that.OPtype[0].id;
+                    }
                     console.log(that.filteredItems());
                     
                 }