fantasy-ngzorro 1.0.51 → 1.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1890,7 +1890,6 @@
1890
1890
  */
1891
1891
  function () {
1892
1892
  var _this = this;
1893
- this.tableLoading = true;
1894
1893
  // 如果没有输入搜索字符串,则显示缓存内的所有数据
1895
1894
  if (!this.filterStr) {
1896
1895
  this.isFilterData = false;
@@ -1935,12 +1934,6 @@
1935
1934
  // 处理筛选好的数据 然后重新渲染
1936
1935
  this.formLinesData = filteredData;
1937
1936
  this.init(true);
1938
- setTimeout((/**
1939
- * @return {?}
1940
- */
1941
- function () {
1942
- _this.tableLoading = false;
1943
- }), 0);
1944
1937
  };
1945
1938
  /**
1946
1939
  * @return {?}
@@ -1949,15 +1942,8 @@
1949
1942
  * @return {?}
1950
1943
  */
1951
1944
  function () {
1952
- var _this = this;
1953
1945
  this.formLinesData = this.storeFormLinesData;
1954
1946
  this.init(true);
1955
- setTimeout((/**
1956
- * @return {?}
1957
- */
1958
- function () {
1959
- _this.tableLoading = false;
1960
- }), 0);
1961
1947
  };
1962
1948
  /**
1963
1949
  * @param {?} line
@@ -2179,7 +2165,7 @@
2179
2165
  formGroupObj[item.selectOption.label] = _this.fb.control(formLinesDataItem[item.selectOption.label] || null, []);
2180
2166
  }
2181
2167
  }));
2182
- formGroupObj.lineIndex = _this.fb.control(_this.linesFormArray.controls.length, []);
2168
+ formGroupObj.lineIndex = _this.fb.control(_this.linesFormArray.controls.length + 1, []);
2183
2169
  /** @type {?} */
2184
2170
  var formGroupTmp = _this.fb.group(formGroupObj);
2185
2171
  _this.formLines.forEach((/**
@@ -2192,7 +2178,9 @@
2192
2178
  * @param {?} value
2193
2179
  * @return {?}
2194
2180
  */
2195
- function (value) { return _this.triggerEvent(item.onChangeEvent, value, formGroupTmp); }));
2181
+ function (value) {
2182
+ _this.triggerEvent(item.onChangeEvent, value, formGroupTmp);
2183
+ }));
2196
2184
  }
2197
2185
  }));
2198
2186
  _this.linesFormArray.insert(_this.linesFormArray.controls.length, formGroupTmp);
@@ -2364,7 +2352,7 @@
2364
2352
  this.storeFormLinesData = data.lines;
2365
2353
  }
2366
2354
  }
2367
- this.calculateLineNumber();
2355
+ // this.calculateLineNumber();
2368
2356
  this.changeEvent.emit(this.validateHdFormLines);
2369
2357
  };
2370
2358
  /**