| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- 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,
- searchItems: [{
- xtype: 'condatefield',
- name: 'pu_date',
- fieldLabel: '单据日期',
- columnWidth: 0.5
- }],
- reportColumns: [{
- text: 'id',
- dataIndex: 'id',
- hidden: true
- }, {
- text: '采购单号',
- dataIndex: 'pu_code',
- summaryType: 'count',
- 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: 'pr_code'
- }, {
- text: '物料名称',
- dataIndex: 'pr_detail'
- }, {
- text: '物料规格',
- dataIndex: 'pr_spec'
- }, {
- text: '品牌',
- dataIndex: 'pr_brand'
- }, {
- text: '单位',
- dataIndex: 'pr_unit'
- }, {
- text: '采购数量',
- dataIndex: 'PD_QTY'
- }, {
- text: '单价',
- dataIndex: 'PD_PRICE'
- }, {
- text: '税率',
- dataIndex: 'PD_TAXRATE'
- }, {
- text: '金额',
- dataIndex: 'PD_TOTAL'
- }, {
- text: '不含税单价',
- dataIndex: 'rbd_remark'
- }, {
- text: '不含税金额',
- dataIndex: 'PD_TAXPRICE'
- }, {
- text: '收货数量',
- dataIndex: 'PD_YQTY'
- }, {
- text: '收货金额',
- dataIndex: 'PD_TOTAL'
- }, {
- text: '备注'
- }]
- });
|