优化报废审核弹框数据显示
This commit is contained in:
parent
816fbbdea3
commit
9275d57f12
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue