|
这个是怎么回事,点查询按钮就总是这样。下面是查询的代码
// 查询按钮
Model.prototype.selectBtnClick = function(event){
this.comp('ChildData1').filters.clear();
if(this.comp('totalprojectname').val())
{
this.comp('ChildData1').setFilter("filter1", "Basic_totalproject.totalprojectname LIKE'%" + this.comp('totalprojectname').val() + "%'");
}
if(this.comp('zxminput2').val())
{
this.comp('ChildData1').setFilter("filter2", "Basic_childproject.childprojectname LIKE '%" + this.comp('zxminput2').val() + "%'");
}
if(this.comp('select2').val())
{
this.comp('ChildData1').setFilter("filter3", "Basic_childproject.CompleteNode = '" + this.comp('select2').val() + "'");
}
this.comp('ChildData1').refreshData();
};
|
|