|
@@ -48,7 +48,7 @@ const updateSpreadWithSpec = function(spreadSetting, specSetting) {
|
|
for (const s of specSetting) {
|
|
for (const s of specSetting) {
|
|
for (const c of spreadSetting.cols) {
|
|
for (const c of spreadSetting.cols) {
|
|
if (s.condition.value.indexOf(c[s.condition.key]) >= 0) {
|
|
if (s.condition.value.indexOf(c[s.condition.key]) >= 0) {
|
|
- this._.assignIn(c, s.update);
|
|
|
|
|
|
+ BaseUtil._.assignIn(c, s.update);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -61,8 +61,8 @@ const generateRelaSpread = function (colSetType, colSet) {
|
|
const posSpread = generateSpreadSetting(colSet, SpreadConst.EmptySpreadSetting[colSetType].pos, baseSetCol, baseSpreadColSetting.pos, 'pos');
|
|
const posSpread = generateSpreadSetting(colSet, SpreadConst.EmptySpreadSetting[colSetType].pos, baseSetCol, baseSpreadColSetting.pos, 'pos');
|
|
const spreadSpec = SpreadConst.SpreadSpec[colSetType];
|
|
const spreadSpec = SpreadConst.SpreadSpec[colSetType];
|
|
if (spreadSpec) {
|
|
if (spreadSpec) {
|
|
- this.updateSpreadWithSpec(billsSpread, spreadSpec.bills);
|
|
|
|
- this.updateSpreadWithSpec(posSpread, spreadSpec.pos);
|
|
|
|
|
|
+ updateSpreadWithSpec(billsSpread, spreadSpec.bills);
|
|
|
|
+ updateSpreadWithSpec(posSpread, spreadSpec.pos);
|
|
}
|
|
}
|
|
return [billsSpread, posSpread];
|
|
return [billsSpread, posSpread];
|
|
};
|
|
};
|