fix: 信用卡账单,新增字段。

This commit is contained in:
tianyongbao
2024-08-19 13:54:09 +08:00
parent ffc42d6f5b
commit 59a7d18cda

View File

@@ -53,6 +53,14 @@
<text class="row-label">账单金额</text>
<text class="row-value">{{ item.billAmount }}</text>
</view>
<view class="item-row" v-show="auth.hasPermi('invest:posmachine:list')">
<text class="row-label">POS刷卡次数</text>
<text class="row-value">{{ item.posCount }}</text>
</view>
<view class="item-row" v-show="auth.hasPermi('invest:posmachine:list')">
<text class="row-label">日常支出次数</text>
<text class="row-value">{{ item.dailyExpensesCount }}</text>
</view>
<view class="operate" >
<view class="btn filling" @click="enterDetails(item)">账单明细</view >
<view class="btn filling" @click="handleEdit(item)">修改</view>
@@ -74,6 +82,7 @@
<script setup>
import { listCreditCardBill, delCreditCardBill } from '@/api/invest/creditCardBill'
import { getDicts } from '@/api/system/dict/data.js'
import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作
import { listAccounts } from '@/api/invest/accounts'
import {onLoad,onShow} from "@dcloudio/uni-app";
// 计算属性与监听属性是在vue中而非uniap中 需要注意!!!