report-design/src/assets/templateInitialData.ts

755 lines
15 KiB
TypeScript

const initialTemplateData = [
{
rowId: 0,
rowTitle: '0',
cells: [
{
cellId: 1,
title: '1',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 2,
title: '2',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 3,
title: '3',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 4,
title: '4',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 5,
title: '5',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 6,
title: '6',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 7,
title: '7',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 8,
title: '8',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9,
title: '9',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 10,
title: '10',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 11,
title: '11',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 12,
title: '12',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 13,
title: '13',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 14,
title: '14',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 15,
title: '15',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 16,
title: '16',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 17,
title: '17',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 18,
title: '18',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 19,
title: '19',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 20,
title: '20',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 21,
title: '21',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 22,
title: '22',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 23,
title: '23',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 24,
title: '24',
colspan: 1,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{
rowId: 1,
rowTitle: '1',
cells: [
{
cellId: 9001,
title: '订单信息',
colspan: 24,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
],
},
{
rowId: 2,
rowTitle: '2',
cells: [
{
cellId: 9002,
title: '订单号',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9003,
title: 'orderNo',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9004,
title: '客户名',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9005,
title: 'clientName',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9006,
title: '出售日期',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9007,
title: 'soldDate',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{
rowId: 3,
rowTitle: '3',
cells: [
{
cellId: 9008,
title: '联系人',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9009,
title: 'contactName',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9010,
title: '联系电话',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9011,
title: 'contactNo',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9012,
title: '送货地址',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9013,
title: 'deliveryAddress',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{
rowId: 4,
rowTitle: '4',
cells: [
{
cellId: 9014,
title: '备注',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9015,
title: 'addOn',
colspan: '4',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{
rowId: 5,
rowTitle: '5',
cells: [
{
cellId: 9016,
title: '材料',
colspan: '4',
height: 30,
textAlign: 'left',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9017,
title: 'material',
colspan: '4',
height: 30,
textAlign: 'left',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9018,
title: '颜色',
colspan: '4',
height: 30,
textAlign: 'left',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 19018,
title: 'color',
colspan: '4',
height: 30,
textAlign: 'left',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 29018,
title: '共15条记录',
colspan: '8',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 39018,
title: '',
colspan: '0',
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{
rowId: 6,
rowTitle: '6',
cells: [
{
cellId: 9019,
title: '房名',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9020,
title: '柜名',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9021,
title: '板材号',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9022,
title: '板材名',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9023,
title: '长度',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9024,
title: '宽度',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9025,
title: '厚度',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9026,
title: '数量',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9027,
title: '面积',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9028,
title: '变异',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9029,
title: '形状',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9030,
title: '方向',
colspan: 3,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9031,
title: '纹路',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9032,
title: '板材备注',
colspan: 5,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'bold',
},
],
},
{
rowId: 7,
rowTitle: '7',
cells: [
{
cellId: 9033,
title: 'houseName',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9034,
title: 'closetName',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9035,
title: 'boardNo',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9036,
title: 'boardName',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9037,
title: 'length',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9038,
title: 'width',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9039,
title: 'thickness',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9040,
title: 'quantity',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9041,
title: 'area',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9042,
title: 'mutation',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9043,
title: 'shape',
colspan: 0,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9044,
title: 'direction',
colspan: 3,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9045,
title: 'stripe',
colspan: 2,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
{
cellId: 9046,
title: 'boardAddOn',
colspan: 5,
height: 30,
textAlign: 'center',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{
rowId: 8,
rowTitle: '8',
cells: [
{
cellId: 9047,
title: '小计:',
colspan: 10,
height: 30,
textAlign: 'right',
fontSize: 16,
fontStyle: 'bold',
},
{
cellId: 9048,
title: 'subquantity',
colspan: 14,
height: 30,
textAlign: 'left',
fontSize: 16,
fontStyle: 'normal',
},
],
},
{ rowId: 9, rowTitle: '9', cells: [] },
{ rowId: 10, rowTitle: '10', cells: [] },
{ rowId: 11, rowTitle: '11', cells: [] },
{ rowId: 12, rowTitle: '12', cells: [] },
{ rowId: 13, rowTitle: '13', cells: [] },
{ rowId: 14, rowTitle: '14', cells: [] },
{ rowId: 15, rowTitle: '15', cells: [] },
{ rowId: 16, rowTitle: '16', cells: [] },
{ rowId: 17, rowTitle: '17', cells: [] },
{ rowId: 18, rowTitle: '18', cells: [] },
{ rowId: 19, rowTitle: '19', cells: [] },
{ rowId: 20, rowTitle: '20', cells: [] },
{ rowId: 21, rowTitle: '21', cells: [] },
{ rowId: 22, rowTitle: '22', cells: [] },
{ rowId: 23, rowTitle: '23', cells: [] },
{ rowId: 24, rowTitle: '24', cells: [] },
{ rowId: 25, rowTitle: '25', cells: [] },
{ rowId: 26, rowTitle: '26', cells: [] },
{ rowId: 27, rowTitle: '27', cells: [] },
{ rowId: 28, rowTitle: '28', cells: [] },
{ rowId: 29, rowTitle: '29', cells: [] },
];
export default initialTemplateData;