Ext.define('saas.view.document.bom.BasePanel', { extend: 'saas.view.core.base.BasePanel', xtype: 'document-bom-basepanel', controller: 'document-bom-basepanel', viewModel: 'document-bom-basepanel', searchField:[{ xtype : "textfield", name: 'bo_mothername', fieldLabel: '产品名称' }], //字段属性 _formXtype:'document-bom-formpanel', _title:'BOM资料', _batchOpenUrl:basePath+'ducument/bom/batchOpen', _batchCloseUrl:basePath+'ducument/bom/batchClose', _batchDeleteUrl:basePath+'ducument/bom/batchDelete', gridConfig: { idField: 'id', codeField: 'cu_code', dataUrl: basePath+'ducument/customer/list', columns : [{ text : "客户id", width : 0, dataIndex : "id", xtype : "numbercolumn", },{ text : "客户编号", width : 200.0, dataIndex : "cu_code", }, { text : "客户名称", dataIndex : "cu_name", width : 120.0, }, { text : "客户状态", dataIndex : "cu_status", width : 120.0, }, { text : "客户UU", dataIndex : "cu_uu", width : 120.0, }, { text : "默认客户地址", dataIndex : "ca_address", width : 120.0, }, { text : "默认客户联系人", dataIndex : "cc_name", flex : 1.0, }] }, });