tangning 8 months ago
parent
commit
0b6eb445a1
1 changed files with 1 additions and 1 deletions
  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);
         console.log('data', data);
         tg = data.rtkType != 0 && data.accountType == 1 ? true : false
         tg = data.rtkType != 0 && data.accountType == 1 ? true : false
         handleCarmanType(data.cameraType != null ? data.cameraType : 1);
         handleCarmanType(data.cameraType != null ? data.cameraType : 1);
-        handlertkuserType(data.accountType != null ? data.accountType : 0);
         handlertkType(data.rtkType != null ? data.rtkType : 1);
         handlertkType(data.rtkType != null ? data.rtkType : 1);
+        data.rtkType != 0 && handlertkuserType(data.accountType != null ? data.accountType : 0);
         setFieldsValue(data);
         setFieldsValue(data);
         clearValidate();
         clearValidate();
       }
       }