'use strict';

/**
 *
 *
 * @author Mai
 * @date 2018/5/31
 * @version
 */

const ledgerSpread = {
    cols: [
        {title: '项目节编号', field: 'code', width: 150, cellType: 'tree'},
        {title: '清单编号', field: 'b_code', width: 80},
        {title: '名称', field: 'name', width: 230},
        {title: '单位', field: 'unit', width: 50},
        {title: '单价', field: 'unit_price', width: 60, type: 'Number'},
        {title: '数量', field: 'quantity', width: 60, type: 'Number'},
        {title: '金额', field: 'total_price', width: 60, type: 'Number'},
        {title: '施工图原设计', field: 'design', width: 60},
        {title: '图（册）号', field: 'drawingCode', width: 80},
        {title: '备注', field: 'memo', width: 100}
    ],
    emptyRows: 3,
    headRows: 2,
    headRowHeight: [40, 40],
    defaultRowHeight: 21,
};

module.exports = {
    ledgerSpread,
}