Ext.define('saas.view.money.report.VendorCheck', { extend: 'saas.view.core.report.ReportPanel', xtype: 'monry-report-vendorcheck', controller: 'money-report-vendorcheck', viewModel: 'money-report-vendorcheck', viewName: 'money-report-vendorcheck', groupField: null, listUrl: '/api/money/report/vendorCheck', // listUrl: 'http://192.168.253.35:8880/report/vendorCheck', defaultCondition: null, reportTitle: '供应商对账单', QueryWidth:0.1, //筛选:供应商、日期(必填) searchItems: [ { xtype: 'dbfindtrigger', name: 'pi_vendname', fieldLabel: '供应商名称', columnWidth: 0.2 }, { xtype: 'condatefield', name: 'pi_date', fieldLabel: '单据日期', columnWidth: 0.5 }], reportColumns: [ { text: 'id', dataIndex: 'pi_id', hidden: true }, { text: '单号', dataIndex: 'pi_inoutno', width: 200 }, { text: '单据类型', dataIndex: 'pi_class', width: 200 }, { text: '单据日期', dataIndex: 'pi_date', width: 200 }, { text: '序号', dataIndex: 'pd_pdno' },{ text:'供应商编号', dataIndex:'pi_vendcode' },{ text:'供应商名称', dataIndex:'pi_vendname' },{ text: '物料编号', dataIndex: 'pr_code' }, { text: '物料名称', dataIndex: 'pr_detail' }, { text: '物料规格', dataIndex: 'pr_spec' }, { text: '单位', dataIndex: 'pd_unit' }, { text: '采购数量', xtype: 'numbercolumn', dataIndex: 'qty', summaryType: 'count', align: 'end' }, { text: '单价', xtype: 'numbercolumn', dataIndex: 'pd_orderprice' }, { text: '税率', xtype: 'numbercolumn', dataIndex: 'pd_taxrate' }, { text: '金额', xtype: 'numbercolumn', dataIndex: 'pd_total', summaryType: 'count' }, { text: '不含税单价', xtype: 'numbercolumn', dataIndex: 'pd_netprice' }, { text: '不含税金额', xtype: 'numbercolumn', dataIndex: 'pd_nettotal' }, { text: '备注', dataIndex: 'pd_remark' }] });