安环管理-环保管理-环保巡检点配置-巡检周期(h)-只能输入数字

dev-scheduling
ysn 13 hours ago
parent df77be523b
commit a38b13a966
  1. 2
      src/views/safetyManagement/equipmentInspectionPoint/addInspectDailog.vue
  2. 2
      src/views/safetyManagement/equipmentInspectionPoint/index.vue

@ -61,7 +61,7 @@
</template> </template>
<template #default="scope"> <template #default="scope">
<el-form-item :prop="`tableData[${scope.$index}].insCycle`" :rules="formRules.insCycle"> <el-form-item :prop="`tableData[${scope.$index}].insCycle`" :rules="formRules.insCycle">
<el-input v-model="scope.row.insCycle" placeholder="请输入" style="width: 100%"></el-input> <el-input-number controls-position="right" v-model="scope.row.insCycle" placeholder="请输入" style="width: 100%"></el-input-number>
</el-form-item> </el-form-item>
</template> </template>
</el-table-column> </el-table-column>

@ -166,7 +166,7 @@ export default {
span: 24, span: 24,
search: false, search: false,
searchLabelWidth: 90, searchLabelWidth: 90,
// type: 'number', type: 'number',
rules: [ rules: [
{ {
required: true, required: true,

Loading…
Cancel
Save