Merge branch 'master' of https://codeup.aliyun.com/bsdtec/biz-pc-cloud
This commit is contained in:
commit
2bfd3654d5
2 files changed
+7
-9
No files matched your search
@@ -102,8 +102,8 @@
|
||||
<el-table-column label="操作" min-width="320" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<div class="flex">
|
||||
<el-button icon="Document" text type="primary" v-auth="'wallet_walletRechargeApply_view'"
|
||||
@click="doInfo(row)">
|
||||
<el-button v-if="!['6'].includes(row.status)" icon="Document" text type="primary"
|
||||
v-auth="'wallet_walletRechargeApply_view'" @click="doInfo(row)">
|
||||
数据
|
||||
</el-button>
|
||||
<el-button v-auth="'wallet_walletRechargeApply_print'" icon="printer" text type="primary"
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<template>
|
||||
<el-dialog v-model="visible" title="预览" width="800px" :close-on-click-modal="false" draggable destroy-on-close>
|
||||
<dict-tag class="mb-2" :options="check_status" :value="receiptData.processStatus" />
|
||||
|
||||
<div v-loading="loading" id="receiptRef" ref="receiptRef"
|
||||
class="w-[17.5cm] h-[9.5cm] border border-gray-400 p-6 bg-[#EBE1C622]">
|
||||
<div class="text-center mx-auto w-[10cm] text-3xl font-bold">浦江县行政事业单位食堂统一收款收据</div>
|
||||
@@ -91,18 +89,18 @@
|
||||
|
||||
<template #footer>
|
||||
<el-button @click="handleClose" :disabled="loading">关闭</el-button>
|
||||
<el-button v-if="receiptData.processStatus == '2' || receiptData.processStatus == '3'"
|
||||
<el-button v-if="['2', '3'].includes(receiptData.processStatus!) && !['6'].includes(receiptData.status!)"
|
||||
v-auth="'wallet_walletRechargeApply_back'" type="primary" plain @click="backInvoice"
|
||||
:disabled="loading">
|
||||
作废
|
||||
</el-button>
|
||||
<el-button v-if="!receiptData.processStatus && !['6'].includes(receiptData.status)" type="primary"
|
||||
<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)"
|
||||
<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>
|
||||
<el-button v-if="receiptData.stampPicUrl && !['6'].includes(receiptData.status!)" type="warning"
|
||||
@click="handlePrint" :disabled="loading">打印</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user