优化报废审核弹框数据显示

This commit is contained in:
BianLzhaoMin 2024-06-20 13:09:01 +08:00
parent 816fbbdea3
commit 9275d57f12
1 changed files with 15 additions and 1 deletions

View File

@ -98,7 +98,21 @@
:sendApi="getDialogListApi"
ref="dialogTbRef"
@getTableSelectionChange="getDialogTbChange"
></TableModel>
>
<!-- 损坏原因 -->
<template slot-scope="{ data }" slot="t_damage">
<!-- {{ data.scrapType == 1 ? '人为' : '自然' }} -->
<template v-if="data.scrapType == 1">人为</template>
<template v-if="data.scrapType == 0">自然</template>
</template>
<!-- 报废图片 -->
<template slot-scope="{ data }" slot="t_img">
<ScrapImg
v-if="data.fileUrl"
:scrapImgUrl="data.fileUrl"
/>
</template>
</TableModel>
<el-row class="dialog-common-btn">
<el-button
size="mini"