heyang преди 1 година
родител
ревизия
5eb9da276c
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      pages_safetyExamine/examineManage/examineAdd.vue

+ 4 - 1
pages_safetyExamine/examineManage/examineAdd.vue

@@ -490,7 +490,10 @@ export default {
 			if(data.code == 200){
 				
 				if(type == 'add'){
-					this.$set(this,'isCustom',true);
+					if(data.data.checkPlanId){
+					  this.$set(this,'isCustom',true);
+					}
+					
 					this.$set(this,'addDisabledType',true);
 				}
 				this.$set(this,'form',data.data);