Ext.define('saas.view.money.paybalance.QueryPanel', { extend: 'saas.view.core.query.QueryPanel', xtype: 'money-paybalance-querypanel', controller: 'money-paybalance-querypanel', viewModel: 'money-paybalance-querypanel', viewName: 'money-paybalance-querypanel', queryFormItems: [{ xtype: 'textfield', name: 'pb_code', fieldLabel: '单据编号', columnWidth: 0.2 },{ xtype: 'condatefield', name: 'pb_date', fieldLabel: '日期', columnWidth: 0.5, operation: 'between' },{ xtype: 'multicombo', name: 'pb_status', fieldLabel: '审核状态', columnWidth: 0.2, datas: [ ["已审核", "已审核"], ["未审核", "未审核"] ] }], moreQueryFormItems: [], queryGridConfig: { idField: 'id', codeField: 'pb_code', addTitle: '付款单', addXtype: 'money-paybalance-formpanel', defaultCondition:'1=1', baseVastUrl: '/api/money/paybalance/', baseColumn: [{ text: 'id', dataIndex: 'id', width: 100, xtype: 'numbercolumn', hidden:true }, { text: '单据编号', dataIndex: 'pb_code', width: 200 }, { text: '审核状态', dataIndex: 'pb_status', width: 120 }, { text: '单据日期', dataIndex: 'pb_date', xtype: 'datecolumn', width: 160 }, { text: '供应商编号', dataIndex: 'pb_vendcode', width: 200, hidden:true }, { text: '供应商名称', dataIndex: 'pb_vendname', width: 120, }, { text: '收款人', dataIndex: 'pb_manname', width: 120, }, { text: '付款金额', xtype: 'numbercolumn', dataIndex: 'pb_pdamount', width: 120, hidden:true }, { text: '本次核销金额', xtype: 'numbercolumn', dataIndex: 'pb_pbdamount', width: 120, hidden:true }, { text: '本次预付款', dataIndex: 'pb_preamount', width: 120, hidden:true }, { text: '整单折扣', dataIndex: 'pb_discounts', width: 120, hidden:true }, { text: '已核销金额', xtype: 'numbercolumn', dataIndex: 'pb_havebalance', width: 120, hidden:true }], relativeColumn: [] } });