feat:统计增加购买次数

This commit is contained in:
dzc committed 2025-07-08 20:05:55 +08:00
1 parent ee4b17ce18
commit a0cbb1d0a5
3 files changed
+31 -45

No files matched your search

@@ -71,7 +71,7 @@
<dict-tag :options="check_status" :value="row.processStatus" />
</template>
</el-table-column>
<el-table-column prop="status" label="发票状态" width="100">
<el-table-column prop="status" label="发票状态" width="120">
<template #default="{ row }">
<dict-tag :options="recharge_invoice_status" :value="row.status" />
</template>
@@ -96,10 +96,11 @@
:disabled="loading">
作废
</el-button>
<el-button v-if="!receiptData.processStatus" type="primary" :disabled="loading"
@click="applyStamp">申请审批</el-button>
<el-button v-if="receiptData.processStatus == undefined" v-auth="'wallet_walletRechargeApply_receiptSave'"
type="primary" @click="saveReceipt" :disabled="loading">保存</el-button>
<el-button v-if="!receiptData.processStatus && !['6'].includes(receiptData.status)" type="primary"
:disabled="loading" @click="applyStamp">申请审批</el-button>
<el-button v-if="receiptData.processStatus == undefined && !['6'].includes(receiptData.status)"
v-auth="'wallet_walletRechargeApply_receiptSave'" type="primary" @click="saveReceipt"
:disabled="loading">保存</el-button>
<el-button v-if="receiptData.stampPicUrl" type="warning" @click="handlePrint"
:disabled="loading">打印</el-button>
</template>
@@ -131,6 +132,7 @@ interface ReceiptData {
picUrl: string
stampPicUrl: string
processStatus: string | null
status?: string
}
const emit = defineEmits(["refresh"])