|
|
@@ -42,10 +42,10 @@ const PosCalc = (function(){
|
|
|
const TestData = {
|
|
|
col_set: [
|
|
|
{ title: '名称', width: 80, type: 'str', field: 'str1' },
|
|
|
- { title: '长度', width: 80, type: 'num', field: 'num1', decimal: 2, unit: 'm', calc_code: 'A' },
|
|
|
- { title: '宽度', width: 80, type: 'num', field: 'num2', decimal: 2, unit: 'm', calc_code: 'B' },
|
|
|
- { title: '高度', width: 80, type: 'num', field: 'num3', decimal: 2, unit: 'm', calc_code: 'C' },
|
|
|
- { title: '数量', width: 80, type: 'num', field: 'num3', decimal: 2, },
|
|
|
+ { title: '长度', width: 80, type: 'num', field: 'num_a', decimal: 2, unit: 'm', calc_code: 'A' },
|
|
|
+ { title: '宽度', width: 80, type: 'num', field: 'num_b', decimal: 2, unit: 'm', calc_code: 'B' },
|
|
|
+ { title: '高度', width: 80, type: 'num', field: 'num_c', decimal: 2, unit: 'm', calc_code: 'C' },
|
|
|
+ { title: '数量', width: 80, type: 'num', field: 'qty', decimal: 2, },
|
|
|
]
|
|
|
};
|
|
|
return { EmptySpreadCache, BaseSpreadColSetting, ValidColInfo, TestData };
|