doway-coms 2.10.51 → 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.51",
3
+ "version": "2.10.52",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -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="getCellEditExp(scope)"
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="getCellEditExp(scope)"
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