报表优化

master
wws 1 year ago
parent a5408e7873
commit 9055be358d

@ -362,6 +362,9 @@
<el-descriptions-item label="所属工作中心名称">{{workVO.equ.workshopName}}</el-descriptions-item> <el-descriptions-item label="所属工作中心名称">{{workVO.equ.workshopName}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider></el-divider>
<el-descriptions v-if="workVO.detailList.length > 0" title="检查项信息"/>
<div v-for="(detail,index) in workVO.detailList" :key="index"> <div v-for="(detail,index) in workVO.detailList" :key="index">
<el-divider content-position="right">{{detail.itemName}}</el-divider> <el-divider content-position="right">{{detail.itemName}}</el-divider>
<div v-for="(standard,index) in detail.standardList" :key="index"> <div v-for="(standard,index) in detail.standardList" :key="index">

@ -362,6 +362,20 @@
<el-descriptions-item label="所属工作中心名称">{{workVO.equ.workshopName}}</el-descriptions-item> <el-descriptions-item label="所属工作中心名称">{{workVO.equ.workshopName}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider></el-divider>
<el-descriptions v-if="workVO.spareList.length > 0" title="备件信息"/>
<div v-for="(spare,index) in workVO.spareList" :key="index">
<el-descriptions title="">
<el-descriptions-item label="备件编码">{{spare.materialCode}}</el-descriptions-item>
<el-descriptions-item label="备件名称">{{spare.materialDesc}}</el-descriptions-item>
<el-descriptions-item label="申领数量">{{spare.applyNum}}</el-descriptions-item>
</el-descriptions>
<el-divider></el-divider>
</div>
<el-descriptions v-if="workVO.detailList.length > 0" title="检查项信息"/>
<div v-for="(detail,index) in workVO.detailList" :key="index"> <div v-for="(detail,index) in workVO.detailList" :key="index">
<el-divider content-position="right">{{detail.itemName}}</el-divider> <el-divider content-position="right">{{detail.itemName}}</el-divider>
<div v-for="(standard,index) in detail.standardList" :key="index"> <div v-for="(standard,index) in detail.standardList" :key="index">
@ -423,7 +437,9 @@ export default {
equipmentTypeName:null, equipmentTypeName:null,
workshopCode:null, workshopCode:null,
workshopName:null, workshopName:null,
},detailList:[] },
detailList:[],
spareList:[],
}, },
// //
workDetail: false, workDetail: false,

@ -362,6 +362,9 @@
<el-descriptions-item label="所属工作中心名称">{{workVO.equ.workshopName}}</el-descriptions-item> <el-descriptions-item label="所属工作中心名称">{{workVO.equ.workshopName}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
<el-divider></el-divider>
<el-descriptions v-if="workVO.detailList.length > 0" title="检查项信息"/>
<div v-for="(detail,index) in workVO.detailList" :key="index"> <div v-for="(detail,index) in workVO.detailList" :key="index">
<el-divider content-position="right">{{detail.itemName}}</el-divider> <el-divider content-position="right">{{detail.itemName}}</el-divider>
<div v-for="(standard,index) in detail.standardList" :key="index"> <div v-for="(standard,index) in detail.standardList" :key="index">

Loading…
Cancel
Save