迁移设备损耗品管理功能
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-26 00:27:03 +08:00
parent 2e44bd86a3
commit 874cbeaeea
12 changed files with 1126 additions and 767 deletions

View File

@@ -74,6 +74,33 @@
@focus="handleFieldEvent(col, 'focus', $event)"
@blur="handleFieldEvent(col, 'blur', $event)"
/>
<el-input-number
v-else-if="col.type === 'input-number'"
v-model="formData[col.prop]"
:min="col.min"
:max="col.max"
:step="col.step || 1"
:precision="col.precision"
:controls-position="col.controlsPosition"
:disabled="!!col.disabled"
:style="col.style"
@change="handleFieldEvent(col, 'change', $event)"
@focus="handleFieldEvent(col, 'focus', $event)"
@blur="handleFieldEvent(col, 'blur', $event)"
/>
<el-date-picker
v-else-if="col.type === 'date-picker'"
v-model="formData[col.prop]"
:type="col.dateType || 'datetime'"
:placeholder="$t(col.placeholder)"
:value-format="col.valueFormat || 'yyyy-MM-dd HH:mm:ss'"
:format="col.format"
:clearable="col.clearable !== false"
:disabled="!!col.disabled"
:style="col.style"
@change="handleFieldEvent(col, 'change', $event)"
@focus="handleFieldEvent(col, 'focus', $event)"
/>
<!-- ===== 下拉选择类型 ===== -->
<!--
select