|
|
@@ -8,6 +8,7 @@ export const defaultSheetConfig: SheetConfig = {
|
|
|
dataStartRow: 6,
|
|
|
endMarker: '订单统计数据:',
|
|
|
sheetName: '五金清单',
|
|
|
+ exportSheetName: '',
|
|
|
exportFields: ['订单号', '序号', '名称', '颜色', '长度', '宽度', '数量', '单位', '工艺说明'],
|
|
|
fieldMappings: {
|
|
|
'序号': 'index',
|
|
|
@@ -31,6 +32,7 @@ export const lightBandSheetConfig: SheetConfig = {
|
|
|
dataStartRow: 6,
|
|
|
endMarker: '拆单签名',
|
|
|
sheetName: '灯带',
|
|
|
+ exportSheetName: '',
|
|
|
exportFields: ['订单号', '序号', '名称', '型号', '规格', '数量', '单位', '柜号'],
|
|
|
fieldMappings: {
|
|
|
'序号': 'index',
|
|
|
@@ -53,6 +55,7 @@ export const statisticsSheetConfig: SheetConfig = {
|
|
|
dataStartRow: 4,
|
|
|
endMarker: '备注:',
|
|
|
sheetName: '统计',
|
|
|
+ exportSheetName: '',
|
|
|
exportFields: ['序号', '封边条颜色', '封边条规格', '单位(米)', '备注'],
|
|
|
fieldMappings: {
|
|
|
'序号': 'index',
|
|
|
@@ -72,6 +75,7 @@ export const purchaseSheetConfig: SheetConfig = {
|
|
|
dataStartRow: 10,
|
|
|
endMarker: '合计数量:',
|
|
|
sheetName: '外购单',
|
|
|
+ exportSheetName: '',
|
|
|
exportFields: ['订单号', '序号', '柜名', '材料名称', '长(高)', '宽', '厚(深)', '单位', '数量', '门铰位置', '单价', '金额', '备注', '分类'],
|
|
|
fieldMappings: {
|
|
|
'订单号': 'orderNumber',
|
|
|
@@ -100,6 +104,7 @@ export const packagingSheetConfig: SheetConfig = {
|
|
|
dataStartRow: 5,
|
|
|
endMarker: '<数据区域结束>',
|
|
|
sheetName: '包装数据',
|
|
|
+ exportSheetName: '',
|
|
|
exportFields: ['订单号', '序号', '名称', '部件代码', '颜色', '长度', '宽度', '厚度', '数量', '平方数', '开料长度', '开料宽度', '开料厚度', '备注', '正面条码', '反面条码'],
|
|
|
fieldMappings: {
|
|
|
'订单号': 'orderNumber',
|