|
@@ -2088,7 +2088,7 @@ $(document).ready(function() {
|
|
|
const index = qdSheet.getRowCount();
|
|
|
qdSheet.getCell(qdSheet.getRowCount() - 1, 0, spreadNS.SheetArea.rowHeader).text('清单' + index);
|
|
|
posSheet.addColumns(posSheet.getColumnCount(), 1);
|
|
|
- posSheet.getCell(0, index + 2, spreadNS.SheetArea.colHeader).text('清单' + index);
|
|
|
+ posSheet.getCell(0, index + 2 - 1, spreadNS.SheetArea.colHeader).text('清单' + index);
|
|
|
},
|
|
|
},
|
|
|
'delete': {
|
|
@@ -2135,7 +2135,7 @@ $(document).ready(function() {
|
|
|
|
|
|
const colCount = posSheet.getColumnCount() + 1
|
|
|
posSheet.setColumnCount(colCount);
|
|
|
- posSheet.getCell(0, colCount - 1, GC.Spread.Sheets.SheetArea.colHeader).text('数量' + count);
|
|
|
+ posSheet.getCell(0, colCount - 1, GC.Spread.Sheets.SheetArea.colHeader).text('清单' + count);
|
|
|
}
|
|
|
qdSheet.setSelection(sel.row + 1, sel.col, 1, 1);
|
|
|
});
|