'use strict'; /** * 材料调差 - 调差工料 * * @author Mai * @date 2019/1/16 * @version */ $(document).ready(() => { autoFlashHeight(); const materialSpread = SpreadJsObj.createNewSpread($('#material-spread')[0]); materialSpread.options.allowUserDragFill = true; materialSpread.options.defaultDragFillType = spreadNS.Fill.AutoFillType.fillSeries; SpreadJsObj.initSheet(materialSpread.getActiveSheet(), billsSpreadSetting); });