Ext.define('saas.view.money.othreceipts.QueryPanel', { extend: 'saas.view.core.query.QueryPanel', xtype: 'money-othreceipts-querypanel', controller: 'money-othreceipts-querypanel', viewModel: 'money-othreceipts-querypanel', viewName: 'money-othreceipts-querypanel', queryFormItems: [{ xtype: 'hidden', name: 'or_id', fieldLabel: 'ID', allowBlank: true, columnWidth: 0 }, { xtype : 'hidden', name : 'or_custid', fieldLabel : '客户ID' }, { xtype: 'hidden', name: 'or_custcode', fieldLabel: '客户编号' }, { xtype: 'dbfindtrigger', name: 'or_custname', fieldLabel: '客户名称' }, { xtype : 'hidden', name : 'or_bankid', fieldLabel : '账户ID' }, { xtype: 'hidden', name: 'or_bankcode', fieldLabel: '账户编号' }, { xtype: 'dbfindtrigger', name: 'or_bankname', fieldLabel: '账户名称' }], moreQueryFormItems: [], queryGridConfig: { idField: 'id', codeField: 'or_code', addTitle: '其它收入单', addXtype: 'money-othreceipts-formpanel', defaultCondition:'', baseVastUrl: '/api/money/othreceipts/', baseColumn: [{ text: 'id', dataIndex: 'id', width: 100, xtype: 'numbercolumn' }, { text: '单据编号', dataIndex: 'or_code', width: 150 }, { text: '单据状态', dataIndex: 'or_status', width: 120 }, { text: '录入人', dataIndex: 'or_recorder', width: 120 }, { text: '单据日期', dataIndex: 'or_date', xtype: 'datecolumn', width: 200 }, { text: '客户名称', dataIndex: 'or_custname', width: 120 }, { text: '金额', dataIndex: 'or_amount', xtype: 'numbercolumn', width: 120 }, { text: '备注', dataIndex: 'or_remark', width: 250, flex: 1 }], relativeColumn: [] } });