|
@@ -328,6 +328,7 @@ $(document).ready(() => {
|
|
|
selector: '#bills-tag',
|
|
|
relaSpread: slSpread,
|
|
|
updateUrl: window.location.pathname + '/tag',
|
|
|
+ readOnly: true,
|
|
|
afterModify: function (nodes) {
|
|
|
SpreadJsObj.repaintNodesRowHeader(slSpread.getActiveSheet(), nodes);
|
|
|
},
|
|
@@ -844,7 +845,7 @@ $(document).ready(() => {
|
|
|
const curIndex = parseInt($('#im-locate-info')[0].innerText.split('/')[0]);
|
|
|
const select = SpreadJsObj.getSelectObject(self.spread.getActiveSheet());
|
|
|
if (select && select.source) {
|
|
|
- const targetIndex = math.max(curIndex-1, 1);
|
|
|
+ const targetIndex = Math.max(curIndex-1, 1);
|
|
|
SpreadJsObj.locateTreeNode(slSpread.getActiveSheet(), select.source[targetIndex-1].id, true);
|
|
|
stagePosSpreadObj.loadCurPosData();
|
|
|
$('#im-locate-info')[0].innerText = targetIndex + '/' + select.source.length;
|
|
@@ -854,7 +855,7 @@ $(document).ready(() => {
|
|
|
const curIndex = parseInt($('#im-locate-info')[0].innerText.split('/')[0]);
|
|
|
const select = SpreadJsObj.getSelectObject(self.spread.getActiveSheet());
|
|
|
if (select && select.source) {
|
|
|
- const targetIndex = math.min(curIndex+1, select.source.length);
|
|
|
+ const targetIndex = Math.min(curIndex+1, select.source.length);
|
|
|
SpreadJsObj.locateTreeNode(slSpread.getActiveSheet(), select.source[targetIndex-1].id, true);
|
|
|
stagePosSpreadObj.loadCurPosData();
|
|
|
$('#im-locate-info')[0].innerText = targetIndex + '/' + select.source.length;
|