export default { height: 'auto', calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 6, border: true, index: true, selection: true, searchLabelWidth: 140, labelWidth: 100, menuWidth: 140, dialogClickModal: false, dialogWidth: 500, dialogType: "drawer", showSummary: true, sumColumnList: [ { name: 'useQuantity', type: 'sum', }, { name: 'amount', type: 'sum' } ], column: [ { label: '日期', prop: 'useDate', type: 'date', valueFormat: 'yyyy-MM-dd', span: 24, width: 100, 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: 'xmId', type: 'select', span: 24, minWidth: 160, search: true, showOverflowTooltip: true, rules: [ { required: true, message: '请选择研发项目名称', trigger: 'blur', }, ], }, { label: '类型', prop: 'type', type: 'select', span: 24, width: 60, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=wuzi_lx', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择类型', trigger: 'blur', }, ], }, { label: '物资编号', prop: 'code', type: 'input', span: 24, search: true, width: 100, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入物资编号', trigger: 'blur', }, ], }, { label: '物资名称', prop: 'name', type: 'input', span: 24, search: true, minWidth: 160, showOverflowTooltip: true, rules: [ { required: true, message: '请输入物资名称', trigger: 'blur', }, ], }, { label: '型号规格', prop: 'model', type: 'input', span: 24, search: true, minWidth: 100, align: 'center', showOverflowTooltip: true, }, { label: '单位', prop: 'unit', type: 'input', span: 24, width: 80, align: 'center', showOverflowTooltip: true, }, { label: '单价(元)', prop: 'unitPrice', type: 'number', span: 24, width: 100, align: 'center', min: 0, precision: 2, showOverflowTooltip: true, }, { label: '领取数量', prop: 'useQuantity', type: 'number', span: 24, width: 80, align: 'center', min: 0, precision: 0, showOverflowTooltip: true, }, { label: '金额(元)', prop: 'amount', type: 'number', span: 24, width: 100, align: 'center', min: 0, precision: 2, showOverflowTooltip: true, display: false }, ], };