时间:2021-07-01 10:21:17 帮助过:12人阅读
new Ext.form.FormPanel({
id : 'ReportForm',items : [{
{id:"001"},
{id:"002"},
{id:"003"},
{id:"004"},
{id:"005"}
}]
});
//Ext.getCmp("ReportForm").getForm().isValid()验证无效
if(isTQ == 0){
Ext.getCmp("003").hide();
}
//Ext.getCmp("ReportForm").getForm().isValid()验证无效
if(isTQ == 0){
Ext.getCmp("003").siteVisible(false);
}
//Ext.getCmp("ReportForm").getForm().isValid()验证有效
if(isTQ == 0){
Ext.getCmp("ReportForm").remove("003");
}