日期:2014-05-16 浏览次数:20385 次
var _orderPanel = new Ext.form.FormPanel( { id : "id_deliveryPanel", iconCls : "icon-grid", defaults : { labelWidth : 65 }, tbar : [ btn_edit, "-"], items : [ { items : { layout : "column", border : false, items : [ { xtype : "container", columnWidth : .25, layout : "form", style : "padding: 0px 15px 0px 0px", items : { id : "id_deliveryCode", fieldLabel : "发货单编号", xtype : "textfield", name : "deliveryM.deliveryCode", maxLength : 50, maxLengthText : '不能超过50个字符', value : s, // labelWidth : 20, // width : 171, // labelPad : 0, readOnly : isOrderPanelOnlyRead, allowBlank : false } }, { xtype : "container", columnWidth : .25, layout : "form", style : "padding: 0px 15px 0px 0px", items : { id : "id_orderCode", fieldLabel : "订单编号", xtype : "textfield", anchor : '100%', maxLength : 50, maxLengthText : '不能超过50个字符', allowBlank : false, readOnly : isOrderPanelOnlyRead, name : 'deliveryM.orderCode' } },