提交 df6393d7 authored 作者: matian's avatar matian

fix:新增开具发票条件判断

上级 47d83aac
......@@ -336,9 +336,14 @@ export default {
createPop(row) {
this.row = row
this.id = row.id
if (row.can_add_invoice === '1' && row.refund_time === null) {
if (
row.can_add_invoice === '1' &&
row.refund_time === null &&
row.payment_status === '80' &&
(row.invoice_status === '2' || row.invoice_status === '5' || row.invoice_status === '6')
) {
this.ticketVisible = true
} else if (row.refund_time !== null || row.can_add_invoice === '0') {
} else {
this.$message.error('当前不可开发票')
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论