|
|
|
|
@ -10,10 +10,10 @@
|
|
|
|
|
<el-radio :label="2">保养</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="设备列表" prop="deviceList">
|
|
|
|
|
<el-form-item label="模具列表" prop="deviceList">
|
|
|
|
|
<el-select v-model="formData.deviceList" multiple filterable clearable placeholder="请选择设备列表" class="!w-full">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in deviceOptions" :key="String(item.id)" :label="item.deviceName"
|
|
|
|
|
v-for="item in deviceOptions" :key="String(item.id)" :label="item.name"
|
|
|
|
|
:value="String(item.id)" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
@ -74,7 +74,7 @@ const formRef = ref()
|
|
|
|
|
|
|
|
|
|
type DeviceOption = {
|
|
|
|
|
id: number | string
|
|
|
|
|
deviceName: string
|
|
|
|
|
name: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PlanOption = {
|
|
|
|
|
|