ocpview-plus 1.1.2 → 1.1.3

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.
package/README.md CHANGED
@@ -31,3 +31,6 @@ billImportConfig: {
31
31
 
32
32
  ### 1.1.2 更新说明
33
33
  导出xls格式
34
+
35
+ ### 1.1.3 更新说明
36
+ 修复:调整高度导致合计丢失问题
@@ -44218,12 +44218,11 @@ const _sfc_main$v = {
44218
44218
  },
44219
44219
  computed: {
44220
44220
  tableHeight() {
44221
- let currentHeight = this.currentHeight - this.extraHeight - this.outsideHeight;
44222
44221
  if (this.isFull) {
44223
- currentHeight = this.clientHeight - this.$refs.table.$el.offsetTop;
44222
+ return this.clientHeight - this.$refs.table.$el.offsetTop;
44224
44223
  } else {
44225
44224
  if (!this.myConfig.dynamicHeight) {
44226
- currentHeight = this.currentHeight;
44225
+ let currentHeight = this.currentHeight;
44227
44226
  if (this.extraHeight) {
44228
44227
  currentHeight = currentHeight - Number(this.extraHeight);
44229
44228
  }
@@ -44233,22 +44232,26 @@ const _sfc_main$v = {
44233
44232
  if (this.myConfig.showSummary) {
44234
44233
  currentHeight = currentHeight - 50;
44235
44234
  }
44235
+ return currentHeight;
44236
+ } else {
44237
+ return null;
44236
44238
  }
44237
44239
  }
44238
- return currentHeight;
44239
44240
  },
44240
44241
  tableMaxHeight() {
44241
- let currentHeight = this.currentHeight - this.extraHeight - this.outsideHeight;
44242
44242
  if (this.isFull) {
44243
- currentHeight = this.clientHeight - this.$refs.table.$el.offsetTop;
44243
+ return this.clientHeight - this.$refs.table.$el.offsetTop;
44244
44244
  } else {
44245
44245
  if (this.myConfig.dynamicHeight) {
44246
+ let currentHeight = this.currentHeight - this.extraHeight - this.outsideHeight;
44246
44247
  if (this.myConfig.showSummary) {
44247
44248
  currentHeight = currentHeight - 50;
44248
44249
  }
44250
+ return currentHeight;
44251
+ } else {
44252
+ return null;
44249
44253
  }
44250
44254
  }
44251
- return currentHeight;
44252
44255
  }
44253
44256
  },
44254
44257
  methods: {
@@ -44697,7 +44700,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
44697
44700
  _: 3
44698
44701
  }, 512);
44699
44702
  }
44700
- var mEditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$s], ["__scopeId", "data-v-3cf9d240"]]);
44703
+ var mEditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$s], ["__scopeId", "data-v-60ea7df7"]]);
44701
44704
  const _sfc_main$u = {
44702
44705
  name: "mformcard",
44703
44706
  extends: FormBox,