mooho-base-admin-plus 2.10.100 → 2.10.101

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,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "2.10.100",
4
+ "version": "2.10.101",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -195,6 +195,7 @@
195
195
  size="small"
196
196
  :type="column.controlType.toLowerCase()"
197
197
  :model-value="parseFilterData(data, column)"
198
+ :editable="layout.dateEditable !== false"
198
199
  :placeholder="column.description"
199
200
  :transfer="true"
200
201
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
@@ -245,6 +245,7 @@
245
245
  :type="column.controlType.toLowerCase()"
246
246
  :model-value="parseData(data, column.code)"
247
247
  :readonly="column.isReadonly"
248
+ :editable="layout.dateEditable !== false"
248
249
  :placeholder="column.description"
249
250
  :transfer="true"
250
251
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
@@ -262,6 +263,7 @@
262
263
  :model-value="parseDateRangeData(data, column.code)"
263
264
  @update:model-value="$event => setArrayData(data, column.code, $event)"
264
265
  :readonly="column.isReadonly"
266
+ :editable="layout.dateEditable !== false"
265
267
  :placeholder="column.description"
266
268
  :transfer="true"
267
269
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
@@ -351,6 +351,7 @@
351
351
  :type="column.controlType.toLowerCase()"
352
352
  :model-value="parseDateTimeData(data, column.code)"
353
353
  :readonly="readonly || column.isReadonly"
354
+ :editable="layout.dateEditable !== false"
354
355
  :placeholder="column.description"
355
356
  :transfer="true"
356
357
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
@@ -368,6 +369,7 @@
368
369
  :model-value="parseDateRangeData(data, column.code)"
369
370
  @update:model-value="$event => setArrayData(data, column.code, $event)"
370
371
  :readonly="readonly || column.isReadonly"
372
+ :editable="layout.dateEditable !== false"
371
373
  :placeholder="column.description"
372
374
  :transfer="true"
373
375
  :style="{ width: column.controlWidth == null ? null : column.controlWidth + 'px' }"
@@ -360,6 +360,7 @@
360
360
  :type="column.controlType.toLowerCase()"
361
361
  :model-value="parseDateTimeData(rowData(row, index), column.code)"
362
362
  :readonly="isReadonly(rowData(row, index), column)"
363
+ :editable="layout.dateEditable !== false"
363
364
  :placeholder="column.description"
364
365
  :style="{ width: column.controlWidth == null ? null : column.controlWidth - 8 + 'px' }"
365
366
  :transfer="true"
@@ -379,6 +380,7 @@
379
380
  :model-value="parseDateRangeData(rowData(row, index), column.code)"
380
381
  @update:model-value="$event => setArrayData(rowData(row, index), column.code, $event)"
381
382
  :readonly="isReadonly(rowData(row, index), column)"
383
+ :editable="layout.dateEditable !== false"
382
384
  :placeholder="column.description"
383
385
  :style="{ width: column.controlWidth == null ? null : column.controlWidth - 8 + 'px' }"
384
386
  :transfer="true"
package/src/setting.js CHANGED
@@ -136,7 +136,9 @@ const Setting = {
136
136
  // 每页默认数量
137
137
  pageSize: 10,
138
138
  // 单击行即选中
139
- clickRowChecked: false
139
+ clickRowChecked: false,
140
+ // 日期类控件是否可手动输入(false 时仅可通过选择器选择)
141
+ dateEditable: true
140
142
  },
141
143
  /**
142
144
  * 多页 Tabs