修正发票类型显示错误

This commit is contained in:
hupeng
2026-04-28 09:05:50 +08:00
parent 2f0f595c2c
commit f83abeaa8e
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@
<el-table-column label="发票类型" align="center" prop="invoiceType">
<template #default="scope">
<div>
<el-tag v-if="scope.row.status === 1" type="success">增普</el-tag>
<el-tag v-if="scope.row.invoiceType === 1" type="success">增普</el-tag>
<el-tag v-else type="danger">增专</el-tag>
</div>
</template>

View File

@ -71,7 +71,7 @@
<el-table-column label="发票类型" align="center" prop="invoiceType">
<template #default="scope">
<div>
<el-tag v-if="scope.row.status === 1" type="success">增普</el-tag>
<el-tag v-if="scope.row.invoiceType === 1" type="success">增普</el-tag>
<el-tag v-else type="danger">增专</el-tag>
</div>
</template>