新增不同类型客户

master
doublekou 12 months ago
parent d5c276a264
commit 1a50b24d69

@ -173,6 +173,7 @@ interface customStoreEntitiesItem {
disabled?: boolean
}
export interface CustomerDTO {
customType?: number | undefined
customId?: number | undefined
//客户名称
customName?: string | undefined

@ -121,6 +121,17 @@ const columns: ProColumns[] = [
title: '客户名称',
dataIndex: 'customName'
},
{
title: '客户类型',
dataIndex: 'customType',
customRender: function ({ record }: any) {
if (record.customType === 0) {
return h('div', 'A型')
} else {
return h('div', 'B型')
}
}
},
{
title: '联系方式',
dataIndex: 'customNid'

Loading…
Cancel
Save