2025-11-04 10:13:02 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="detail-container">
|
2025-11-13 16:22:30 +08:00
|
|
|
<el-card shadow="hover">
|
2025-11-04 14:51:49 +08:00
|
|
|
<el-row :gutter="20">
|
|
|
|
|
<el-col :span="12">
|
2025-11-13 16:22:30 +08:00
|
|
|
<el-descriptions title="基础信息" column="1">
|
|
|
|
|
<el-descriptions-item label="物资名称: ">{{
|
|
|
|
|
detailData.material?.wzmc
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="余量: ">{{
|
2025-11-13 17:30:54 +08:00
|
|
|
detailData.material?.ye + ' ' + detailData.material?.dw
|
2025-11-13 16:22:30 +08:00
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="所属服务站: ">{{
|
|
|
|
|
detailData.material?.yhzMc
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="备注: ">{{
|
|
|
|
|
detailData.material?.remark
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
2025-11-04 14:51:49 +08:00
|
|
|
</el-col>
|
2025-11-13 16:22:30 +08:00
|
|
|
<el-col :span="12" style="position: relative">
|
|
|
|
|
<el-image
|
|
|
|
|
style="
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
max-height: 180px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
"
|
|
|
|
|
:src="detailData.photos[0]?.photoUrl"
|
|
|
|
|
:zoom-rate="1.2"
|
|
|
|
|
:max-scale="7"
|
|
|
|
|
:min-scale="0.2"
|
|
|
|
|
:preview-src-list="detailData.photos?.map((item) => item.photoUrl)"
|
|
|
|
|
show-progresss
|
|
|
|
|
fit="cover"
|
|
|
|
|
/>
|
2025-11-04 14:51:49 +08:00
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
2025-11-13 16:22:30 +08:00
|
|
|
</el-card>
|
|
|
|
|
<el-card shadow="hover">
|
|
|
|
|
<el-descriptions title="物资位置信息" column="3">
|
|
|
|
|
<el-descriptions-item label="区县名称: ">{{
|
|
|
|
|
detailData.material?.qxmc
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="物资经度: ">{{
|
|
|
|
|
detailData.material?.jd
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="物资纬度: ">{{
|
|
|
|
|
detailData.material?.wd
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</el-card>
|
|
|
|
|
<el-card shadow="hover">
|
|
|
|
|
<el-descriptions title="物资管理情况" column="3">
|
|
|
|
|
<el-descriptions-item label="负责人: ">{{
|
|
|
|
|
detailData.material?.fzr
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="入库人: ">{{
|
|
|
|
|
detailData.material?.rkrName
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
<el-descriptions-item label="入库日期: ">{{
|
|
|
|
|
detailData.material?.rkrq?.slice(0, 10)
|
|
|
|
|
}}</el-descriptions-item>
|
|
|
|
|
</el-descriptions>
|
|
|
|
|
</el-card>
|
2025-11-04 10:13:02 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
detailData: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: () => ({}),
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
2025-11-13 16:22:30 +08:00
|
|
|
.detail-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 30px;
|
|
|
|
|
}
|
2025-11-04 10:13:02 +08:00
|
|
|
</style>
|