doway-coms 2.10.50 → 2.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.10.50",
3
+ "version": "2.10.52",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -173,7 +173,7 @@
173
173
  <div class="interceptor-class">
174
174
  <a-input
175
175
  :style="{color:scope.column.params.fontColor?scope.column.params.fontColor:null}"
176
- v-if="scope.column.params.controlEdit === true"
176
+ v-if="getCellEditExp(scope)"
177
177
  class="inner-cell-control"
178
178
  size="small"
179
179
  v-model="scope.row[scope.column.property]"
@@ -200,7 +200,7 @@
200
200
  <template #number_edit="scope">
201
201
  <div class="interceptor-class">
202
202
  <a-input-number
203
- v-if="scope.column.params.controlEdit === true"
203
+ v-if="getCellEditExp(scope)"
204
204
  class="inner-cell-control"
205
205
  :style="{color:scope.column.params.fontColor?scope.column.params.fontColor:null}"
206
206
  size="small"
@@ -302,10 +302,11 @@
302
302
  <template #pulldown_edit="scope" class="interceptor-class">
303
303
  <div class="interceptor-class">
304
304
  <BasePulldown
305
+ v-if="getCellEditExp(scope)"
305
306
  v-model="scope.row[scope.column.property]"
306
307
  :field="scope.column.property"
307
308
  :formRow="formRow"
308
- :edit="scope.column.params.controlEdit === true"
309
+ :edit="true"
309
310
  :showLabel="false"
310
311
  :row="scope.row"
311
312
  :api="scope.column.params.api"
@@ -331,6 +332,9 @@
331
332
  :propTableData="getTableData()"
332
333
  :disabled="editDisabled(scope)"
333
334
  />
335
+ <div v-else>
336
+ {{ gridDefaultValueDisplay(scope.row, scope.column) }}
337
+ </div>
334
338
  </div>
335
339
  </template>
336
340
  <template #treeSelect_edit="scope">
@@ -339,7 +343,8 @@
339
343
  v-model="scope.row[scope.column.property]"
340
344
  :field="scope.column.property"
341
345
  :formRow="formRow"
342
- :edit="scope.column.params.controlEdit === true"
346
+ v-if="getCellEditExp(scope)"
347
+ :edit="true"
343
348
  :showLabel="false"
344
349
  :row="scope.row"
345
350
  class="inner-cell-control"
@@ -355,6 +360,9 @@
355
360
  @preSearch="(searchInfo) => preSearch(searchInfo, scope)"
356
361
  >
357
362
  </BaseTreeSelect>
363
+ <div v-else>
364
+ {{ gridDefaultValueDisplay(scope.row, scope.column) }}
365
+ </div>
358
366
  </div>
359
367
  </template>
360
368