|
@@ -89,6 +89,10 @@ $(document).ready(() => {
|
|
|
},
|
|
|
},
|
|
|
];
|
|
|
+ billsSpreadSetting.getColor = function(sheet, data, row, col, defaultColor) {
|
|
|
+ if (!data) return defaultColor;
|
|
|
+ return data.used ? spreadColor.revise.used : defaultColor;
|
|
|
+ };
|
|
|
sjsSettingObj.setNodeTypeCol(billsSpreadSetting.cols, [{field: 'node_type'}]);
|
|
|
SpreadJsObj.initSheet(billsSheet, billsSpreadSetting);
|
|
|
const posSpread = SpreadJsObj.createNewSpread($('#pos-spread')[0]);
|