供应商 客户评价
This commit is contained in:
@ -84,9 +84,9 @@
|
||||
{ title: t('序号'), dataIndex: 'index', key: 'index', sorter: true, customRender: (column) => `${column.index + 1}` ,width: 100},
|
||||
{ title: t('客户编码'), dataIndex: 'cuCode', sorter: true, width:100},
|
||||
{ title: t('客户名称'), dataIndex: 'cuName', sorter: true},
|
||||
{ title: t('国内/国际'), dataIndex: 'natureCode', sorter: true, width: 140},
|
||||
{ title: t('客户类别'), dataIndex: 'typeCode', sorter: true, width: 140},
|
||||
{ title: t('客户分类'), dataIndex: 'classCode', sorter: true, width: 140},
|
||||
{ title: t('国内/国际'), dataIndex: 'diName', sorter: true, width: 140},
|
||||
{ title: t('客户类别'), dataIndex: 'typeName', sorter: true, width: 140},
|
||||
{ title: t('客户分类'), dataIndex: 'className', sorter: true, width: 140},
|
||||
{ title: t('操作'), dataIndex: 'operation', width: 120},
|
||||
]);
|
||||
const dataList = ref([])
|
||||
@ -116,6 +116,12 @@
|
||||
dataList.value.splice(index, 1)
|
||||
}
|
||||
const handleSuccess = (val) => {
|
||||
val.forEach(v => {
|
||||
delete v.id
|
||||
v.diName = v.dI
|
||||
v.typeName = v.typeCode
|
||||
v.className = v.classCode
|
||||
})
|
||||
if (!dataList.value.length) {
|
||||
dataList.value = val
|
||||
return
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
sorter: true,
|
||||
},
|
||||
{
|
||||
dataIndex: 'natureCode',
|
||||
dataIndex: 'dI',
|
||||
title: '国内/国际',
|
||||
align: 'left',
|
||||
sorter: true,
|
||||
|
||||
Reference in New Issue
Block a user