Commit ce2d5c2a authored by neo's avatar neo

[buffix] fixed report view sheet at 0 getTag

parent 2e10d975
......@@ -445,8 +445,7 @@
// 根据已有信息通过spreadJS计算各单元格的值
var setData = function () {
//todo: change to 0 at here,just for test now
var sheet = scope.spread.sheets[1];
var sheet = scope.spread.sheets[0];
var isExportData = false;
if (angular.isArray(scope.reportSource)) {
spreadJsTipService.initialize(sheet);
......
......@@ -441,8 +441,7 @@
//纳税申报表
var sheets = $scope.spread.sheets;
if (sheets && sheets.length > 0) {
//todo: change to sheets[0] here later
var tagInfo = sheets[1].getTag(row, column);
var tagInfo = sheets[0].getTag(row, column);
if (constant.regesterInformation.active) {
tagInfo = sheets[0].getTag(row, column);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment