|
@@ -503,10 +503,13 @@ import { chemicalMsdsEdit } from '@/api/chemicalManage'
|
|
|
this.tabsIndex=index;
|
|
|
},
|
|
|
radioClick(row,index){
|
|
|
+ console.log('row',row);
|
|
|
+ console.log('index',index);
|
|
|
this.classifyList.forEach(function(item) {
|
|
|
item.selected=false;
|
|
|
})
|
|
|
- this.classifyList[index].selected=true;
|
|
|
+ this.$set(this.classifyList[index],'selected',true);
|
|
|
+ this.$forceUpdate();
|
|
|
},
|
|
|
//初始化数据查询
|
|
|
getInitializeData(){
|
|
@@ -872,7 +875,9 @@ import { chemicalMsdsEdit } from '@/api/chemicalManage'
|
|
|
this.$set(this.form,'levelId',this.checkLevelTypeData.levelId);
|
|
|
}
|
|
|
}
|
|
|
- this.$refs['form'].clearValidate();
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$refs['form'].clearValidate();
|
|
|
+ })
|
|
|
},
|
|
|
}
|
|
|
}
|