设备数据名称交验

材料卡片图片数据
This commit is contained in:
yangrd 2025-04-03 09:27:05 +08:00
parent 43f0448094
commit 5053aca455
2 changed files with 4 additions and 1 deletions

View File

@ -193,6 +193,7 @@ export default {
return {
form: new EquipmentData(),
rules: {
name: [{ required: true, message: '请填写数据名称', trigger: 'blur' }],
dateTime: [{ required: true, message: '请选择时间', trigger: 'blur' }],
},
isReadonly: false,
@ -222,6 +223,8 @@ export default {
this.equipment = this.currentEquipment;
this.queryLaboratoryInfo();
if (this.mode === 'details') {
this.isReadonly=true
this.form = this.currentEquData;
let { images } = this.form;
//

View File

@ -76,7 +76,7 @@
<el-image
fit="contain"
style="width: 200px; height: 200px"
:src="material.imageUrlPreviewPath">
:src="material.compressionUrl">
<template #error>
<div class="image-slot">
&lt;!&ndash;