修复pc端订单详情不展示发票信息

master
paulGao 2022-04-08 15:32:18 +08:00
parent 1e8279c849
commit 2e8d124560
1 changed files with 5 additions and 5 deletions

View File

@ -47,12 +47,12 @@
</div>
</div>
</div>
<div class="order-card">
<div class="order-card" v-if="order.order.payStatus === 'PAID'">
<h3>发票信息</h3>
<template v-if="order.order.receipt">
<p>发票抬头{{order.order.receiptVO.receiptTitle}}</p>
<p>发票内容{{order.order.receiptVO.receiptContent}}</p>
<p v-if="order.order.receiptVO.taxpayerId">{{order.order.receiptVO.taxpayerId}}</p>
<template v-if="order.order.needReceipt">
<p>发票抬头{{order.receipt.receiptTitle}}</p>
<p>发票内容{{order.receipt.receiptContent}}</p>
<p v-if="order.receipt.taxpayerId">{{order.receipt.taxpayerId}}</p>
</template>
<div v-else style="color:#999;margin-left:5px">
未开发票