|
|
@@ -77,35 +77,25 @@ Ext.define('saas.view.sale.report.Sale', {
|
|
|
width: 80
|
|
|
}, {
|
|
|
text: '物料编号',
|
|
|
- dataIndex: 'sd_prodcode',
|
|
|
- width: 150
|
|
|
+ width: 150,
|
|
|
+ dataIndex: 'pr_code'
|
|
|
}, {
|
|
|
- text: '物料名称',
|
|
|
+ text: '品牌',
|
|
|
dataIndex: 'pr_detail',
|
|
|
- width: 200,
|
|
|
- renderer: function (v, m, r) {
|
|
|
- return r.data["productDTO"]?r.data["productDTO"][m.column.dataIndex]:v;
|
|
|
- }
|
|
|
+ width: 200
|
|
|
}, {
|
|
|
- text: '物料规格',
|
|
|
- dataIndex: 'pr_spec',
|
|
|
- width: 150,
|
|
|
- renderer: function (v, m, r) {
|
|
|
- return r.data["productDTO"]?r.data["productDTO"][m.column.dataIndex]:v;
|
|
|
- }
|
|
|
+ text: '名称',
|
|
|
+ dataIndex: 'pr_detail',
|
|
|
+ width: 200
|
|
|
}, {
|
|
|
- text: '品牌',
|
|
|
- dataIndex: 'pr_brand',
|
|
|
- renderer: function (v, m, r) {
|
|
|
- return r.data["productDTO"]?r.data["productDTO"][m.column.dataIndex]:v;
|
|
|
- }
|
|
|
+ text: '型号',
|
|
|
+ dataIndex: 'pr_orispeccode',
|
|
|
+ width: 200
|
|
|
+ }, {
|
|
|
+ text: '规格',
|
|
|
+ dataIndex: 'pr_spec',
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
- text: '单位',
|
|
|
- dataIndex: 'pr_unit',
|
|
|
- renderer: function (v, m, r) {
|
|
|
- return r.data["productDTO"]?r.data["productDTO"][m.column.dataIndex]:v;
|
|
|
- }
|
|
|
- }, {//∑数量
|
|
|
text: '数量',
|
|
|
dataIndex: 'sd_qty',
|
|
|
exportFormat: 'Quantity',
|
|
|
@@ -116,6 +106,10 @@ Ext.define('saas.view.sale.report.Sale', {
|
|
|
var format = '0.' + xr.join('');
|
|
|
return Ext.util.Format.number(v, format);
|
|
|
}
|
|
|
+ }, {
|
|
|
+ text: '单位',
|
|
|
+ dataIndex: 'pd_unit',
|
|
|
+ width: 80
|
|
|
}, {
|
|
|
text: '单价(元)',
|
|
|
dataIndex: 'sd_price',
|