金蝶 EAS F7系统左树右表
final KDBizPromptBox objPrmt = new KDBizPromptBox();
F7BaseSelector selector = null;//new F7BaseSelector(this, null, objPrmt);
objPrmt.setVisible(true);
objPrmt.setEditable(true);
objPrmt.setEditFormat("$number$");
objPrmt.setCommitFormat("$number$;$name$");
objPrmt.setDisplayFormat("$name$");
if(tblName.equalsIgnoreCase("T_BD_Customer")){//客户
objPrmt.setQueryInfo("com.kingdee.eas.basedata.master.cssp.app.F7CustomerQuery");
selector = new F7CustomerSimpleSelector(this, objPrmt);
objPrmt.setSelector(selector);
}else if(tblName.equalsIgnoreCase("T_BD_Supplier")){//供应商
objPrmt.setQueryInfo("com.kingdee.eas.basedata.master.cssp.app.F7SupplierQuery");
selector = new F7SupplierSimpleSelector(this, objPrmt);
objPrmt.setSelector(selector);
}else if(tblName.equalsIgnoreCase("T_BD_AccountBanks")){//银行帐户
objPrmt.setQueryInfo("com.kingdee.eas.basedata.assistant.app.F7AccountBankQuery");
}else if(tblName.equalsIgnoreCase("T_ORG_Company")){//公司
objPrmt.setQueryInfo("com.kingdee.eas.basedata.org.app.CompanyQuery");
}else if(tblName.equalsIgnoreCase("T_BD_Material")){//物料
objPrmt.setQueryInfo("com.kingdee.eas.basedata.master.material.app.F7MaterialBaseInfoQuery");
}else if(tblName.equalsIgnoreCase("T_BD_Person")){//职员
objPrmt.setQueryInfo("com.kingdee.eas.basedata.person.app.F7PersonQuery");
FIPersonPromptBox personf7 = new FIPersonPromptBox(this);
objPrmt.setSelector(personf7);
}else if(tblName.equalsIgnoreCase("T_ORG_CostCenter")){//成本中心
objPrmt.setQueryInfo("com.kingdee.eas.basedata.org.app.CostCenterOrgUnitQuery4AsstAcct");
}else if(tblName.equalsIgnoreCase("T_BD_Project")){//项目
objPrmt.setQueryInfo("com.kingdee.eas.basedata.assistant.app.F7ProjectQuery");
}else if(tblName.equalsIgnoreCase("T_BD_GeneralAsstActType")){//自定义核算项
objPrmt.setQueryInfo("com.kingdee.eas.basedata.master.auxacct.app.F7GeneralAsstActTypeQuery");
AuxAccountUtils.assignGeneralBizPromptBox(objPrmt, grp.getId().toString(), true, this);
//GLf7Utils.assignSelector(objPrmt, grp, aat.getHgAttribute(), at.isForCompany(), false, null, this, at.isUseLongNumber());
}else {//其他
}
金蝶 EAS F7系统左树右表
本文2024-09-16 22:52:01发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-50883.html