|
@@ -140,7 +140,7 @@ export default {
|
|
|
components: { JEllipsis, moment, OrderDetailDrawer },
|
|
|
|
|
|
data() {
|
|
|
- let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} />
|
|
|
+ // let ellipsis = (v, l = 20) => <j-ellipsis value={v} length={l} />
|
|
|
// sorter: true, table表头排序
|
|
|
return {
|
|
|
// 表头
|
|
@@ -153,6 +153,7 @@ export default {
|
|
|
fixed: 'left',
|
|
|
className: 'replacecolor',
|
|
|
align: 'center',
|
|
|
+ ellipsis: true
|
|
|
},
|
|
|
{
|
|
|
title: '订单号',
|
|
@@ -162,7 +163,8 @@ export default {
|
|
|
className: 'replacecolor',
|
|
|
align: 'left',
|
|
|
customCell: this.showDrawer,
|
|
|
- scopedSlots: { customRender: 'orderNumber' }
|
|
|
+ scopedSlots: { customRender: 'orderNumber' },
|
|
|
+ ellipsis: true
|
|
|
},
|
|
|
|
|
|
{
|
|
@@ -173,46 +175,48 @@ export default {
|
|
|
customRender: text => {
|
|
|
return moment(text).format('YYYY-MM-DD')
|
|
|
},
|
|
|
- className: 'replacecolor'
|
|
|
+ className: 'replacecolor',
|
|
|
},
|
|
|
- { title: '业务类型', width: 100, dataIndex: 'businessTypeValue', className: 'replacecolor' },
|
|
|
- { title: '客户订单号', width: 120, dataIndex: 'customerOrderNumber', className: 'replacecolor' },
|
|
|
+ { title: '业务类型', width: 100, dataIndex: 'businessTypeValue', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '客户订单号', width: 120, dataIndex: 'customerOrderNumber', className: 'replacecolor',ellipsis: true },
|
|
|
{
|
|
|
title: '销售类型',
|
|
|
width: 100,
|
|
|
dataIndex: 'salesTypeText',
|
|
|
className: 'replacecolor'
|
|
|
},
|
|
|
- { title: '客户简称', width: 220, dataIndex: 'customerAbbreviation', align: 'left', className: 'replacecolor' },
|
|
|
- { title: '客户名称', width: 220, dataIndex: 'customerName', align: 'left', className: 'replacecolor' },
|
|
|
- { title: '供应商', width: 120, dataIndex: 'supplier', className: 'replacecolor' },
|
|
|
- { title: '汇率', width: 90, dataIndex: 'exchangeRate', className: 'replacecolor' },
|
|
|
- { title: '整单合计', width: 120, dataIndex: 'wholeOrderTotal', className: 'replacecolor' },
|
|
|
- { title: '销售部门', width: 100, dataIndex: 'salesDepartment', className: 'replacecolor' },
|
|
|
- { title: '业务员', width: 140, dataIndex: 'salesman', className: 'replacecolor' },
|
|
|
- { title: '币种', width: 90, dataIndex: 'currencyText', className: 'replacecolor' },
|
|
|
- { title: '品牌方', width: 220, dataIndex: 'brandSide', align: 'left', className: 'replacecolor' },
|
|
|
- { title: '第三方', width: 220, dataIndex: 'thirdParty', align: 'left', className: 'replacecolor' },
|
|
|
- { title: '定金比例(%)', width: 120, dataIndex: 'depositRatio', className: 'replacecolor' },
|
|
|
- { title: '定金', width: 100, dataIndex: 'deposit', className: 'replacecolor' },
|
|
|
- { title: '协同路线', width: 160, dataIndex: 'collaborativeRoute', className: 'replacecolor' },
|
|
|
- { title: '付款条件', width: 180, dataIndex: 'termOfPayment', className: 'replacecolor' },
|
|
|
- { title: '最终客户', width: 120, dataIndex: 'endCustomer', className: 'replacecolor' },
|
|
|
+ { title: '客户简称', width: 220, dataIndex: 'customerAbbreviation', align: 'left', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '客户名称', width: 220, dataIndex: 'customerName', align: 'left', className: 'replacecolor', ellipsis: true, },
|
|
|
+ { title: '供应商', width: 120, dataIndex: 'supplier', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '汇率', width: 90, dataIndex: 'exchangeRate', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '整单合计', width: 120, dataIndex: 'wholeOrderTotal', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '销售部门', width: 100, dataIndex: 'salesDepartment', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '业务员', width: 140, dataIndex: 'salesman', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '币种', width: 90, dataIndex: 'currencyText', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '品牌方', width: 220, dataIndex: 'brandSide', align: 'left', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '第三方', width: 220, dataIndex: 'thirdParty', align: 'left', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '定金比例(%)', width: 120, dataIndex: 'depositRatio', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '定金', width: 100, dataIndex: 'deposit', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '协同路线', width: 160, dataIndex: 'collaborativeRoute', className: 'replacecolor',ellipsis: true },
|
|
|
+ { title: '付款条件', width: 180, dataIndex: 'termOfPayment', className: 'replacecolor' ,ellipsis: true},
|
|
|
+ { title: '最终客户', width: 120, dataIndex: 'endCustomer', className: 'replacecolor', ellipsis: true, },
|
|
|
{
|
|
|
title: '订单备注',
|
|
|
width: 220,
|
|
|
dataIndex: 'orderRemarks',
|
|
|
- customRender: t => ellipsis(t),
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'orderRemarks' }
|
|
|
+ scopedSlots: { customRender: 'orderRemarks' },
|
|
|
+ ellipsis: true
|
|
|
},
|
|
|
{
|
|
|
title: '价格备注',
|
|
|
width: 120,
|
|
|
dataIndex: 'priceRemarks',
|
|
|
- customRender: t => ellipsis(t),
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'priceRemarks' }
|
|
|
+ scopedSlots: { customRender: 'priceRemarks' },
|
|
|
+ ellipsis: true
|
|
|
},
|
|
|
|
|
|
{
|
|
@@ -220,9 +224,10 @@ export default {
|
|
|
width: 220,
|
|
|
dataIndex: 'orderChangeDescription',
|
|
|
fixed: 'right',
|
|
|
- customRender: t => ellipsis(t),
|
|
|
+ // customRender: t => ellipsis(t),
|
|
|
className: 'replacecolor',
|
|
|
- scopedSlots: { customRender: 'orderChangeDescription' }
|
|
|
+ scopedSlots: { customRender: 'orderChangeDescription' },
|
|
|
+ ellipsis: true
|
|
|
}
|
|
|
],
|
|
|
orderListData: [], // 主表信息
|