src/views/dnc/base/modules/DeviceCustomTypeManagement/DeviceCustomTypeManagementModal.vue
@@ -23,8 +23,8 @@
          </a-col>
          <a-col :span="12">
            <a-form-model-item label="设备类" prop="deviceManagementCode">
              <a-input allow-clear placeholder="请输入设备类" :readOnly="disabledEdit"
            <a-form-model-item label="轴数" prop="deviceManagementCode">
              <a-input allow-clear placeholder="请输入轴数" :readOnly="disabledEdit"
                       v-model="model.deviceManagementCode"/>
            </a-form-model-item>
          </a-col>
@@ -32,8 +32,8 @@
        <a-row :gutter="24">
          <a-col :span="12">
            <a-form-model-item label="设备类名称" prop="deviceManagementName">
              <a-input allow-clear placeholder="请输入设备类名称" :readOnly="disabledEdit"
            <a-form-model-item label="数控系统类别" prop="deviceManagementName">
              <a-input allow-clear placeholder="请输入数控系统类别" :readOnly="disabledEdit"
                       v-model="model.deviceManagementName"/>
            </a-form-model-item>
          </a-col>
@@ -88,12 +88,12 @@
        ],
        deviceManagementCode: [
          {
            required: true, message: '请输入设备类!'
            required: true, message: '请输入轴数!'
          }
        ],
        deviceManagementName: [
          {
            required: true, message: '请输入设备类名称!'
            required: true, message: '请输入数控系统类别!'
          }
        ],
        equipmentIds: [