|
|
@@ -46,49 +46,58 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '采购单号',
|
|
|
dataIndex: 'pu_code',
|
|
|
- width: 200
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '供应商编号',
|
|
|
dataIndex: 'pu_vendcode',
|
|
|
- width: 200
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '供应商名称',
|
|
|
dataIndex: 'pu_vendname',
|
|
|
- width: 200
|
|
|
+ width: 250
|
|
|
}, {
|
|
|
text: '业务状态',
|
|
|
- dataIndex: 'pu_acceptstatus'
|
|
|
+ dataIndex: 'pu_acceptstatus',
|
|
|
+ width: 90
|
|
|
}, {
|
|
|
text: '采购员',
|
|
|
- dataIndex: 'pu_buyername'
|
|
|
+ dataIndex: 'pu_buyername',
|
|
|
+ width: 110
|
|
|
}, {
|
|
|
text: '单据日期',
|
|
|
xtype: 'datecolumn',
|
|
|
- dataIndex: 'pu_date'
|
|
|
+ dataIndex: 'pu_date',
|
|
|
+ width: 110
|
|
|
}, {
|
|
|
text: '序号',
|
|
|
dataIndex: 'pd_detno',
|
|
|
- xtype: 'numbercolumn'
|
|
|
+ xtype: 'numbercolumn',
|
|
|
+ width: 80
|
|
|
}, {
|
|
|
text: '物料编号',
|
|
|
dataIndex: 'pd_prodcode',
|
|
|
- width: 200
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '物料名称',
|
|
|
dataIndex: 'pr_detail',
|
|
|
+ width: 200
|
|
|
}, {
|
|
|
text: '物料规格',
|
|
|
- dataIndex: 'pr_spec',
|
|
|
+ dataIndex: 'pr_spec',
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '品牌',
|
|
|
- dataIndex: 'pr_brand',
|
|
|
+ dataIndex: 'pr_brand',
|
|
|
+ width: 110
|
|
|
}, {
|
|
|
text: '单位',
|
|
|
- dataIndex: 'pr_unit',
|
|
|
+ dataIndex: 'pr_unit',
|
|
|
+ width: 80
|
|
|
}, {
|
|
|
text: '采购数量',
|
|
|
dataIndex: 'pd_qty',
|
|
|
xtype: 'numbercolumn',
|
|
|
+ width: 110,
|
|
|
summaryType: 'sum',
|
|
|
renderer: function(v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
@@ -99,6 +108,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '单价',
|
|
|
dataIndex: 'pd_price',
|
|
|
+ width: 110,
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
@@ -109,6 +119,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '税率',
|
|
|
dataIndex: 'pd_taxrate',
|
|
|
+ width: 80,
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
return Ext.util.Format.number(v, '0');
|
|
|
@@ -116,6 +127,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '金额',
|
|
|
dataIndex: 'pd_total',
|
|
|
+ width: 110,
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
@@ -133,6 +145,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '不含税单价',
|
|
|
dataIndex: 'pd_taxprice',
|
|
|
+ width: 110,
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
@@ -142,6 +155,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}
|
|
|
}, {
|
|
|
text: '不含税金额',
|
|
|
+ width: 110,
|
|
|
dataIndex: 'pd_taxtotal',
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
@@ -153,6 +167,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '收货数量',
|
|
|
dataIndex: 'pd_acceptqty',
|
|
|
+ width: 110,
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
@@ -176,6 +191,7 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
}, {
|
|
|
text: '收货金额',
|
|
|
dataIndex: 'pd_accepttotal',
|
|
|
+ width: 110,
|
|
|
xtype: 'numbercolumn',
|
|
|
renderer: function(v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
@@ -186,7 +202,8 @@ Ext.define('saas.view.purchase.report.Purchase', {
|
|
|
|
|
|
}, {
|
|
|
text: '备注',
|
|
|
- dataIndex: 'pd_remark'
|
|
|
+ dataIndex: 'pd_remark',
|
|
|
+ width: 250
|
|
|
}]
|
|
|
|
|
|
});
|