base eq add #70
@ -57,7 +57,7 @@
|
||||
<!-- <el-form-item :label="$t('module.basicData.equipment.EquipmentType')" prop="equipmentType">
|
||||
<el-input v-model="dataForm.equipmentType" :disabled="isdetail" :placeholder="$i18nForm(['placeholder.input', $t('module.basicData.equipment.EquipmentType')])" clearable :style="{width: '100%'}" />
|
||||
</el-form-item> -->
|
||||
<el-form-item :label="$t('module.basicData.equipment.EquipmentType')" prop="EquipmentType">
|
||||
<el-form-item :label="$t('module.basicData.equipment.EquipmentType')" prop="equipmentType">
|
||||
<el-select v-model="dataForm.equipmentType" :placeholder="this.$t('module.basicData.cache.logisticsEquipment')" default>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
@ -399,7 +399,7 @@ export default {
|
||||
code: '',
|
||||
enName: '',
|
||||
abbr: '',
|
||||
equipmentType: this.$t('module.basicData.cache.logisticsEquipment'),
|
||||
equipmentType: '',
|
||||
spec: '',
|
||||
createTime: '',
|
||||
enterTime: '',
|
||||
@ -442,6 +442,11 @@ export default {
|
||||
required: true,
|
||||
message: this.$i18nForm(['placeholder.input', this.$t('module.basicData.equipment.EquipmentCode')]),
|
||||
trigger: 'blur'
|
||||
}],
|
||||
equipmentType: [{
|
||||
required: true,
|
||||
message: this.$i18nForm(['placeholder.select', this.$t('module.basicData.equipment.EquipmentType')]),
|
||||
trigger: 'blur'
|
||||
}]
|
||||
// maintenanceCycle: [{
|
||||
// required: true,
|
||||
|
Loading…
Reference in New Issue
Block a user