tangning il y a 8 mois
Parent
commit
0b6eb445a1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/product/rtk/AddModal.vue

+ 1 - 1
src/views/product/rtk/AddModal.vue

@@ -336,8 +336,8 @@
         console.log('data', data);
         tg = data.rtkType != 0 && data.accountType == 1 ? true : false
         handleCarmanType(data.cameraType != null ? data.cameraType : 1);
-        handlertkuserType(data.accountType != null ? data.accountType : 0);
         handlertkType(data.rtkType != null ? data.rtkType : 1);
+        data.rtkType != 0 && handlertkuserType(data.accountType != null ? data.accountType : 0);
         setFieldsValue(data);
         clearValidate();
       }