| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- Ext.define('saas.view.money.report.CustomerCheckCheck', {
- extend: 'saas.view.core.report.ReportPanel',
- xtype: 'monry-report-customercheck',
- controller: 'money-report-customercheck',
- viewModel: 'money-report-customercheck',
- viewName: 'money-report-customercheck',
- groupField: null,
- listUrl: '/api/money/report/customercheck',
- defaultCondition: null,
- reportTitle: '客户对账单',
- QueryWidth:0.1,
- //筛选:客户、日期(必填)
- searchItems: [ {
- xtype: 'dbfindtrigger',
- name: 'pi_custname',
- 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',
- xtype: 'numbercolumn'
- },{
- text:'客户编号',
- dataIndex:'pi_vendcode',
- hidden: true
- },{
- text:'客户名称',
- dataIndex:'pi_vendname',
- hidden: true
- },{
- text: '物料编号',
- dataIndex: 'pr_code'
- }, {
- text: '物料名称',
- dataIndex: 'pr_detail'
- }, {
- text: '物料规格',
- dataIndex: 'pr_spec'
- }, {
- text: '单位',
- dataIndex: 'pd_unit'
- }, {
- text: '数量',
- xtype: 'numbercolumn',
- dataIndex: 'qty',
- xtype: 'numbercolumn'
- }, {
- text: '单价',
- dataIndex: 'pd_orderprice',
- xtype: 'numbercolumn'
- }, {
- text: '税率',
- dataIndex: 'pd_taxrate',
- xtype: 'numbercolumn'
- }, {
- text: '金额',
- xtype: 'numbercolumn',
- dataIndex: 'pd_total',
- xtype: 'numbercolumn',
- summaryType: 'sum',
- summaryRenderer: function(v) {
- var arr = (v + '.').split('.');
- var xr = (new Array(arr[1].length)).fill('0');
- var format = '0.' + xr.join();
- return Ext.util.Format.number(v, format);
- }
- }, {
- text: '不含税单价',
- dataIndex: 'pd_netprice',
- xtype: 'numbercolumn'
- }, {
- text: '不含税金额',
- xtype: 'numbercolumn',
- dataIndex: 'pd_nettotal',
- xtype: 'numbercolumn',
- summaryType: 'sum',
- summaryRenderer: function(v) {
- var arr = (v + '.').split('.');
- var xr = (new Array(arr[1].length)).fill('0');
- var format = '0,000.' + xr.join();
- return Ext.util.Format.number(v, format);
- }
- }, {
- text: '备注',
- dataIndex: 'pd_remark'
- }]
- });
|