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>
@@ -43,7 +43,7 @@
          <a-col :span="24">
            <a-form-model-item label="设备组编号" :labelCol="labelColLong" :wrapperCol="wrapperColLong"
                               prop="equipmentIds">
              <a-input-search v-model="model.equipmentIds" :disabled="!model.productionId" @search="deviceSearch"
              <a-input-search v-model="model.equipmentIds" readOnly :disabled="!model.productionId" @search="deviceSearch"
                              enter-button :placeholder='!model.productionId?"请选择车间":"请选择设备组编号"'/>
            </a-form-model-item>
          </a-col>
@@ -88,17 +88,17 @@
        ],
        deviceManagementCode: [
          {
            required: true, message: '请输入设备类!'
            required: true, message: '请输入轴数!'
          }
        ],
        deviceManagementName: [
          {
            required: true, message: '请输入设备类名称!'
            required: true, message: '请输入数控系统类别!'
          }
        ],
        equipmentIds: [
          {
            required: true, message: '请选择设备编号!'
            required: true, message: '请选择设备编号!',trigger:'change'
          }
        ]
      },