cloud-web-corejs 1.0.54-dev.71 → 1.0.54-dev.73

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.
@@ -13,6 +13,12 @@
13
13
  </el-form-item>-->
14
14
  <!-- <el-form-item :label="i18nt('designer.setting.showIndex')"><el-switch v-model="optionModel.showIndex"></el-switch></el-form-item>
15
15
  <el-form-item :label="i18nt('designer.setting.showCheckBox')"><el-switch v-model="optionModel.showCheckBox"></el-switch></el-form-item> -->
16
+ <el-form-item label="启用数据行合并">
17
+ <el-switch v-model="optionModel.mergeRowEnabled"></el-switch>
18
+ </el-form-item>
19
+ <el-form-item :label="i18nt('合并行唯一字段')">
20
+ <el-input v-model="optionModel.mergeRowKey"></el-input>
21
+ </el-form-item>
16
22
  <el-form-item label="查询列表">
17
23
  <el-switch v-model="optionModel.isQueryTable"></el-switch>
18
24
  </el-form-item>
@@ -63,6 +63,11 @@
63
63
  <el-switch v-model="scope.row.sortable"></el-switch>
64
64
  </template>
65
65
  </el-table-column>
66
+ <el-table-column :label="i18nt('明细行')" width="70" prop="sortable">
67
+ <template slot-scope="scope">
68
+ <el-switch v-model="scope.row.isItemLine"></el-switch>
69
+ </template>
70
+ </el-table-column>
66
71
  <el-table-column :label="i18nt('designer.setting.fixedColumn')" width="100" prop="fixed">
67
72
  <template slot-scope="scope">
68
73
  <el-select v-model="scope.row.fixed" clearable>
@@ -2,7 +2,8 @@
2
2
  <vxe-grid :ref="widget.id" v-bind="vxeOption" :auto-resize="true" v-show="!widget.options.hidden"
3
3
  @resizable-change="$vxeTableUtil.onColumnWitchChange" @custom="$vxeTableUtil.customHandle"
4
4
  @checkbox-change="handleCheckboxChange" @checkbox-all="handleCheckboxAll"
5
- @cell-dblclick="handleCellDblclick" :class="dataTableConfig.class" :data="fieldModel">
5
+ @cell-dblclick="handleCellDblclick" :class="dataTableConfig.class"
6
+ :span-method="mergeRowMethod">
6
7
  <template #form>
7
8
  <!-- <div v-if="widget.options.showSearchArea" class="clearfix screen-btns">
8
9
  <div class="fl">