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

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

View File

@@ -49,10 +49,18 @@
<text class="row-label">账单周期</text> <text class="row-label">账单周期</text>
<text class="row-value">{{ item.billDatePeriod }}</text> <text class="row-value">{{ item.billDatePeriod }}</text>
</view> </view>
<view class="item-row"> <view class="item-row" >
<text class="row-label">账单金额</text> <text class="row-label">账单金额</text>
<text class="row-value">{{ item.billAmount }}</text> <text class="row-value">{{ item.billAmount }}</text>
</view> </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="operate" >
<view class="btn filling" @click="enterDetails(item)">账单明细</view > <view class="btn filling" @click="enterDetails(item)">账单明细</view >
<view class="btn filling" @click="handleEdit(item)">修改</view> <view class="btn filling" @click="handleEdit(item)">修改</view>
@@ -74,6 +82,7 @@
<script setup> <script setup>
import { listCreditCardBill, delCreditCardBill } from '@/api/invest/creditCardBill' import { listCreditCardBill, delCreditCardBill } from '@/api/invest/creditCardBill'
import { getDicts } from '@/api/system/dict/data.js' import { getDicts } from '@/api/system/dict/data.js'
import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作
import { listAccounts } from '@/api/invest/accounts' import { listAccounts } from '@/api/invest/accounts'
import {onLoad,onShow} from "@dcloudio/uni-app"; import {onLoad,onShow} from "@dcloudio/uni-app";
// 计算属性与监听属性是在vue中而非uniap中 需要注意!!! // 计算属性与监听属性是在vue中而非uniap中 需要注意!!!