浏览代码

修复bug

laiguoran 3 年之前
父节点
当前提交
b00bcdf27c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/js/material_list.js

+ 1 - 1
app/public/js/material_list.js

@@ -622,7 +622,7 @@ $(document).ready(() => {
                         const xmjIndex = gclGatherData[index].leafXmjs.indexOf(xmjSelect);
                         loadMaterialData(index, xmjIndex);
                         SpreadJsObj.reLoadRowData(ledgerSpread.getActiveSheet(), index);
-                        materialSpread.getActiveSheet().setSelection(info.row, info.col, 1, 1);
+                        materialSpread.getActiveSheet().setSelection(info.row + 1, info.col, 1, 1);
                     }, function () {
                         SpreadJsObj.reLoadRowData(info.sheet, info.row);
                     });