Browse Source

部位台账,冻结列相关

MaiXinRong 5 years ago
parent
commit
5e001c1d11
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/public/js/stage_bwtz.js

+ 4 - 0
app/public/js/stage_bwtz.js

@@ -19,11 +19,15 @@ $(document).ready(() => {
     sjsSettingObj.setFxTreeStyle(xmjSpreadSetting, sjsSettingObj.FxTreeStyle.jz);
     if (thousandth) sjsSettingObj.setTpThousandthFormat(xmjSpreadSetting);
     SpreadJsObj.initSheet(xmjSheet, xmjSpreadSetting);
+    xmjSheet.frozenColumnCount(3);
+    xmjSheet.options.frozenlineColor = '#93b5e4';
 
     const unitSpread = SpreadJsObj.createNewSpread($('#unit-spread')[0]);
     const unitSheet = unitSpread.getActiveSheet();
     if (thousandth) sjsSettingObj.setTpThousandthFormat(xmjSpreadSetting);
     SpreadJsObj.initSheet(unitSheet, unitSpreadSetting);
+    unitSheet.frozenColumnCount(5);
+    unitSheet.options.frozenlineColor = '#93b5e4';
 
     const unitTreeObj = {
         loadCurUnitData: function () {