|
|
@@ -367,7 +367,8 @@ export default {
|
|
|
width: 100,
|
|
|
ellipsis: true,
|
|
|
// fixed: 'left',
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ sorter:(a, b) => a.orderNumber - b.orderNumber
|
|
|
},
|
|
|
{
|
|
|
title: '款号',
|
|
|
@@ -375,7 +376,8 @@ export default {
|
|
|
dataIndex: 'itemNumber',
|
|
|
width: 100,
|
|
|
// fixed: 'left',
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ sorter:(a, b) => a.itemNumber - b.itemNumber
|
|
|
},
|
|
|
{
|
|
|
title: '客户简称',
|
|
|
@@ -390,21 +392,24 @@ export default {
|
|
|
dataIndex: 'hod',
|
|
|
width: 120,
|
|
|
ellipsis: true,
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ sorter:(a, b) => a.hod - b.hod
|
|
|
},
|
|
|
{
|
|
|
title: '小po',
|
|
|
dataIndex: 'smallPo',
|
|
|
width: 120,
|
|
|
ellipsis: true,
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ sorter:(a, b) => a.smallPo - b.smallPo
|
|
|
},
|
|
|
{
|
|
|
title: '分销点',
|
|
|
dataIndex: 'distributionPoint',
|
|
|
width: 100,
|
|
|
ellipsis: true,
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
+ sorter:(a, b) => a.distributionPoint - b.distributionPoint
|
|
|
},
|
|
|
{
|
|
|
title: '数量',
|