| | |
| | | pageKey: 'TmsCustomerInfo', |
| | | rowKey: 'id', |
| | | labelWidth: 150, |
| | | |
| | | searchLabelWidth: 150, |
| | | group:[ |
| | | { |
| | | label: '基本信息', |
| | | prop: 'jbxx', |
| | | column:{ |
| | | customerType: { |
| | | label: '客户类型', minWidth: 120, |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/customer_type', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户类型不能为空", trigger: "change" |
| | | } |
| | | ], |
| | | }, |
| | | customerShortName: { |
| | | label: '客户简称', |
| | | addDisplay: true, minWidth: 130, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户简称不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | customerCode: { |
| | | label: '客户编号', |
| | | addDisplay: true, minWidth: 120, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户编号不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | customerFullName: { |
| | | label: '客户全称', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户全称不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | businessLicenseNo: { |
| | | label: '经营登记证件号码', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "经营登记证件号码不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | address: { |
| | | label: '地址', |
| | | type: 'textarea', minRows: 3, maxRows: 5, row: true, span: 24, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | label : '联系人信息', |
| | | prop: 'lxrxx', |
| | | column:{ |
| | | contactName: { |
| | | label: '联系人姓名', |
| | | addDisplay: true, minWidth: 120, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人姓名不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | contactPhone: { |
| | | label: '联系人电话', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | contactEmail: { |
| | | label: '联系人邮箱', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, row: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | label : '商务对接信息', |
| | | prop: 'swjdxx', |
| | | column:{ |
| | | signCompany: { |
| | | label: '签约公司', |
| | | addDisplay: true, minWidth: 150, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "签约公司不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | bizContactName: { |
| | | label: '商务对接人名称', |
| | | addDisplay: true, |
| | | editDisplay: true, minWidth: 120, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "商务对接人名称不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | bizContactPhone: { |
| | | label: '商务对接人电话', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "商务对接人电话不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | bizContactEmail: { |
| | | label: '商务对接人邮箱', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | label : '信用信息', |
| | | prop: 'xyxx', addDisplay: false, |
| | | editDisplay: false, |
| | | column:{ |
| | | creditRating: { |
| | | label: '客户信用评级', minWidth: 120, |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/sys_credit_rating', |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | }, |
| | | creditAmount: { |
| | | label: '信用额度-金额', minWidth: 120, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | }, |
| | | creditOrderLimit: { |
| | | label: '信用额度-单量', minWidth: 120, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | }, |
| | | businessStatus: { |
| | | label: '经营状态', |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/business_status', |
| | | addDisplay: false, minWidth: 120, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "经营状态不能为空", trigger: "change" |
| | | } |
| | | ], |
| | | }, |
| | | contractStatus: { |
| | | label: '合同状态', |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/contract_status', |
| | | addDisplay: false, minWidth: 120, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "合同状态不能为空", trigger: "change" |
| | | } |
| | | ], |
| | | }, |
| | | } |
| | | }, |
| | | { |
| | | label : '其他信息', |
| | | prop: 'qtyxx', |
| | | column:{ |
| | | dataStatus: { |
| | | label: '数据状态', |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/data_status', |
| | | addDisplay: false, minWidth: 120, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "数据状态不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | createTime: { |
| | | label: '创建时间', |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "创建时间不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | updateTime: { |
| | | label: '更新时间', |
| | | addDisplay: false, minWidth: 180, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "更新时间不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | remark: { |
| | | label: '备注', |
| | | type: 'textarea', minRows: 3, maxRows: 5, row: true, span: 24, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | } |
| | | } |
| | | ], |
| | | column: { |
| | | |
| | | customerType: { |
| | | label: '客户类型', minWidth: 120, |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/customer_type', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户类型不能为空", trigger: "change" |
| | | } |
| | | ], |
| | | }, |
| | | customerShortName: { |
| | | label: '客户简称', |
| | | addDisplay: true, minWidth: 130, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | label: '客户简称',minWidth: 130, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户简称不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | customerCode: { |
| | | label: '客户编号', |
| | | addDisplay: true, minWidth: 120, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | label: '客户编号', minWidth: 130, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户编号不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | customerFullName: { |
| | | label: '客户全称', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "客户全称不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | businessLicenseNo: { |
| | | label: '经营登记证件号码', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "经营登记证件号码不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | address: { |
| | | label: '地址', |
| | | type: 'textarea', minRows: 3, maxRows: 5, row: true, span: 24, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | contactName: { |
| | | label: '联系人姓名', |
| | | addDisplay: true, minWidth: 120, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | label: '联系人姓名', minWidth: 120, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "联系人姓名不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | contactPhone: { |
| | | label: '联系人电话', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | contactEmail: { |
| | | label: '联系人邮箱', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, row: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | signCompany: { |
| | | label: '签约公司', |
| | | addDisplay: true, minWidth: 150, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | label: '签约公司',minWidth: 150, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "签约公司不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | bizContactName: { |
| | | label: '商务对接人名称', |
| | | addDisplay: true, |
| | | editDisplay: true, minWidth: 120, |
| | | viewDisplay: true, |
| | | label: '商务对接人名称', minWidth: 120, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "商务对接人名称不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | bizContactPhone: { |
| | | label: '商务对接人电话', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "商务对接人电话不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | bizContactEmail: { |
| | | label: '商务对接人邮箱', |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | creditRating: { |
| | | label: '客户信用评级', minWidth: 120, |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/sys_credit_rating', |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | }, |
| | | creditAmount: { |
| | | label: '信用额度-金额', minWidth: 120, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | }, |
| | | creditOrderLimit: { |
| | | label: '信用额度-单量', minWidth: 120, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | }, |
| | | businessStatus: { |
| | | label: '经营状态', |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/business_status', |
| | | addDisplay: false, minWidth: 120, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | minWidth: 120, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "经营状态不能为空", trigger: "change" |
| | | } |
| | | ], |
| | | }, |
| | | contractStatus: { |
| | | label: '合同状态', |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/contract_status', |
| | | addDisplay: false, minWidth: 120, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | minWidth: 120, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "合同状态不能为空", trigger: "change" |
| | | } |
| | | ], |
| | | }, |
| | | dataStatus: { |
| | | label: '数据状态', |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/data_status', |
| | | addDisplay: false, minWidth: 120, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/data_status', minWidth: 120, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "数据状态不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | createTime: { |
| | | label: '创建时间', |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "创建时间不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | |
| | | updateTime: { |
| | | label: '更新时间', |
| | | addDisplay: false, minWidth: 180, |
| | | editDisplay: false, |
| | | viewDisplay: true, |
| | | label: '更新时间', minWidth: 180, |
| | | display:false, |
| | | hide: false, |
| | | search: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "更新时间不能为空", trigger: "blur" |
| | | } |
| | | ], |
| | | }, |
| | | remark: { |
| | | label: '备注', |
| | | type: 'textarea', minRows: 3, maxRows: 5, row: true, span: 24, |
| | | addDisplay: true, |
| | | editDisplay: true, |
| | | viewDisplay: true, |
| | | hide: true, |
| | | search: false, |
| | | }, |
| | | } |
| | | }) |