export default { height: 'auto', calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 6, border: true, index: true, selection: true, searchLabelWidth: 140, labelWidth: 130, menuWidth: 140, dialogClickModal: false, dialogWidth: 500, dialogType: "drawer", showSummary: true, sumColumnList: [ { name: 'quantity', type: 'sum', }, { name: 'amount', type: 'sum' } ], column: [ { label: '租赁日期', prop: 'leaseDate', type: 'date', valueFormat: 'yyyy-MM-dd', span: 24, width: 90, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请选择日期', trigger: 'blur', }, ], }, { label: '研发项目编号', prop: 'xmbh', type: 'input', span: 24, search: true, width: 100, align: 'center', showOverflowTooltip: true, display: false, }, { label: '研发项目名称', prop: 'xmmc', type: 'input', span: 24, minWidth: 160, search: true, showOverflowTooltip: true, display: false }, { label: '研发项目名称', prop: 'xmId', type: 'select', span: 24, minWidth: 160, search: false, showOverflowTooltip: true, rules: [ { required: true, message: '请选择研发项目名称', trigger: 'blur', }, ], hide: true, }, { label: '租赁资产类型', prop: 'type', type: 'select', span: 24, width: 100, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=zulinzichan_lx', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择租赁资产类型', trigger: 'blur', }, ], }, { label: '租赁资产名称', prop: 'name', type: 'input', span: 24, search: true, width: 160, showOverflowTooltip: true, rules: [ { required: true, message: '请输入租赁资产名称', trigger: 'blur', }, ], }, { label: '型号规格', prop: 'model', type: 'input', span: 24, search: true, minWidth: 140, showOverflowTooltip: true, }, { label: '使用天数或使用量', prop: 'quantity', type: 'number', span: 24, width: 120, align: 'center', min: 0, precision: 0, showOverflowTooltip: true, rules: [ { required: true, message: '请输入使用天数或使用量', trigger: 'blur', }, ], }, { label: '单价(元)', prop: 'unitPrice', type: 'number', span: 24, width: 100, align: 'center', min: 0, precision: 2, showOverflowTooltip: true, rules: [ { required: true, message: '请输入单价', trigger: 'blur', }, ], }, { label: '总价(不含税)', prop: 'amount', type: 'number', span: 24, width: 120, align: 'center', min: 0, precision: 2, showOverflowTooltip: true, display: false }, ], };