标签:
function initBuildingEntryF7(sellId){ var comId = "buildingEntry"; var filter = ""; if(sellId!=null){ filter = "sellproject.id = ‘"+sellId+"‘"; } var options = { id: "buildingEntry", name: "buildingEntry", width: 200, height: 26, disTl: false, subWidgetName: "wafPromptQuick", subWidgetOptions: { url: waf.getContextPath() +‘/dynamicPage.do?inwafpage=true&event=initialize&uipk=com.kingdee.eas.re.sales.fi.CostMarkOutF7Page‘, ajaxType: "GET", query: "com.kingdee.eas.fdc.sales.app.F7BuildingWebQuery", accessType: "remote", isMulti:true, allowAutoComplete: true, autoChoose:false, autoCompleteItem: "name", displayItem:"name", cu: false, filteritem:filter, }, //onchange:_private.buildingEntryOnChange, fieldSeparator:"/", }; var lbOptions = { id: comId + "Lb", labelAlign: "right", caption: "楼栋", tagClass: "asstlb" }; var lbDOM = waf.createDOM("labelContainer", lbOptions); waf.appendDOM(waf("#layoutCol3"), lbDOM); waf.initComponent("labelContainer", lbOptions, lbDOM); var promptBoxDom = waf.createDOM("promptBox", options); waf("#"+comId + "Lb").wafLabelContainer("append", promptBoxDom); waf.initComponent("promptBox", options, promptBoxDom); waf("#" + comId + "Lb_ctrl .ui-f7-frame").css("width", "300px"); }?
标签:
原文地址:http://www.cnblogs.com/suruozhong/p/5974755.html