| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- Ext.define('saas.view.purchase.report.Purchase', {
- extend: 'saas.view.core.report.ReportPanel',
- xtype: 'purchase-report-purchase',
- controller: 'purchase-report-purchase',
- viewModel: 'purchase-report-purchase',
- viewName: 'purchase-report-purchase',
- groupField: null,
- listUrl: '/api/purchase/purchase/list',
- defaultCondition: null,
- reportTitle: '采购明细报表',
- searchItems: [{
- xtype: 'condatefield',
- name: 'pu_date',
- fieldLabel: '单据日期',
- columnWidth: 0.5
- }],
- reportColumns: [
- {
- text: 'id',
- dataIndex: 'pu_id',
- hidden: true
- }, {
- text: '采购单号',
- dataIndex: 'pu_code',
- width: 200
- }, {
- text: '供应商编号',
- dataIndex: 'pu_vendcode',
- width: 200
- }, {
- text: '供应商名称',
- dataIndex: 'pu_vendname',
- width: 200
- }, {
- text: '业务状态',
- dataIndex: 'pu_status'
- }, {
- text: '采购员',
- dataIndex: 'pu_buyername'
- }, {
- text: '单据日期',
- xtype: 'datecolumn',
- dataIndex: 'pu_date'
- }, {
- text: '序号',
- dataIndex: 'pd_detno'
- }, {
- text: '物料编号',
- dataIndex: 'pd_prodcode'
- }, {
- text: '物料名称',
- dataIndex: 'pr_detail'
- }, {
- text: '物料规格',
- dataIndex: 'pr_spec'
- }, {
- text: '品牌',
- dataIndex: 'pr_brand'
- }, {
- text: '单位',
- dataIndex: 'pr_unit'
- }, {
- text: '采购数量',
- dataIndex: 'pd_qty',
- summaryType: 'count'
- }, {
- text: '单价',
- dataIndex: 'pd_price'
- }, {
- text: '税率',
- dataIndex: 'pd_taxrate'
- }, {
- text: '金额',
- dataIndex: 'pd_total',
- summaryType: 'count'
- }, {
- text: '不含税单价',
- dataIndex: 'pd_taxprice'
- }, {
- text: '不含税金额',
- dataIndex: 'pd_taxtotal'
- }, {
- text: '收货数量',
- dataIndex: 'pd_acceptqty'
- }, {
- text: '收货金额',
- dataIndex: 'pd_accepttotal'
- }, {
- text: '备注'
- }]
- });
|