车辆对接

This commit is contained in:
wangshiming
2021-12-29 17:20:00 +08:00
parent a3f3b2e9a8
commit 2ded33f4d6
23 changed files with 443 additions and 94 deletions

View File

@ -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 } } };
}