设备数据名称交验
材料卡片图片数据
This commit is contained in:
parent
43f0448094
commit
5053aca455
@ -193,6 +193,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
form: new EquipmentData(),
|
form: new EquipmentData(),
|
||||||
rules: {
|
rules: {
|
||||||
|
name: [{ required: true, message: '请填写数据名称', trigger: 'blur' }],
|
||||||
dateTime: [{ required: true, message: '请选择时间', trigger: 'blur' }],
|
dateTime: [{ required: true, message: '请选择时间', trigger: 'blur' }],
|
||||||
},
|
},
|
||||||
isReadonly: false,
|
isReadonly: false,
|
||||||
@ -222,6 +223,8 @@ export default {
|
|||||||
this.equipment = this.currentEquipment;
|
this.equipment = this.currentEquipment;
|
||||||
this.queryLaboratoryInfo();
|
this.queryLaboratoryInfo();
|
||||||
if (this.mode === 'details') {
|
if (this.mode === 'details') {
|
||||||
|
|
||||||
|
this.isReadonly=true
|
||||||
this.form = this.currentEquData;
|
this.form = this.currentEquData;
|
||||||
let { images } = this.form;
|
let { images } = this.form;
|
||||||
//图片填充
|
//图片填充
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
<el-image
|
<el-image
|
||||||
fit="contain"
|
fit="contain"
|
||||||
style="width: 200px; height: 200px"
|
style="width: 200px; height: 200px"
|
||||||
:src="material.imageUrlPreviewPath">
|
:src="material.compressionUrl">
|
||||||
<template #error>
|
<template #error>
|
||||||
<div class="image-slot">
|
<div class="image-slot">
|
||||||
<!–
|
<!–
|
||||||
|
Loading…
x
Reference in New Issue
Block a user