车辆对接
This commit is contained in:
@ -29,7 +29,6 @@ export class CrmManagementComponent implements OnInit {
|
||||
{ title: '客户名称', index: 'customerName' },
|
||||
{ title: '客户简称', index: 'customerShortName' },
|
||||
{ title: '客户编码', index: 'customerCode' },
|
||||
{ title: '客户类型', render: 'customerType' },
|
||||
{
|
||||
title: '操作',
|
||||
buttons: [
|
||||
@ -92,17 +91,6 @@ export class CrmManagementComponent implements OnInit {
|
||||
title: '客户简称',
|
||||
ui: { placeholder: '请输入' }
|
||||
},
|
||||
customerType: {
|
||||
type: 'string',
|
||||
title: '客户类型',
|
||||
enum: [
|
||||
{ label: '客户', value: 1 },
|
||||
{ label: '供应商', value: 2 },
|
||||
],
|
||||
ui: {
|
||||
widget: 'select'
|
||||
}
|
||||
},
|
||||
customerCode: {
|
||||
type: 'string',
|
||||
title: '客户编码',
|
||||
@ -134,20 +122,8 @@ export class CrmManagementComponent implements OnInit {
|
||||
title: '客户编码',
|
||||
ui: { placeholder: '请输入' }
|
||||
},
|
||||
customerType: {
|
||||
type: 'string',
|
||||
title: '客户类型',
|
||||
enum: [
|
||||
{ label: '客户', value: 1 },
|
||||
{ label: '供应商', value: 2 },
|
||||
],
|
||||
ui: {
|
||||
widget: 'radio',
|
||||
} as SFRadioWidgetSchema,
|
||||
default: 1,
|
||||
},
|
||||
},
|
||||
required: ['customerName', 'customerShortName', 'customerType', 'customerCode']
|
||||
required: ['customerName', 'customerShortName', 'customerCode']
|
||||
};
|
||||
this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user