fix: 自测bug问题修复,功能完善。
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
<div class="item">
|
||||
<img src="@/static/images/one.png" alt="" />
|
||||
<div class="info-sum">
|
||||
<div class="title">储蓄卡可用余额</div>
|
||||
<div class="num">{{ accountsBalance.debetBalance }}<span>元</span></div>
|
||||
<div class="title">储蓄账户可用余额</div>
|
||||
<div class="num">{{ accountsBalance.debitBalance }}<span>元</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
@@ -45,7 +45,7 @@
|
||||
<img src="@/static/images/one.png" alt="" />
|
||||
<div class="info-sum">
|
||||
<div class="title">借贷账户余额</div>
|
||||
<div class="num">{{ accountsBalance.debitBalance }}<span>元</span></div>
|
||||
<div class="num">{{ accountsBalance.lendAccountBalance }}<span>元</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -42,6 +42,10 @@
|
||||
<text class="row-label">账号:</text>
|
||||
<text class="row-value">{{ item.code }}</text>
|
||||
</view>
|
||||
<view class="item-row" v-if="item.type=='1'">
|
||||
<text class="row-label">储蓄账户类型:</text>
|
||||
<text class="row-value">{{ dictStr(item.debitType, debitType) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</u-list-item>
|
||||
<view>
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
<view class="form-view">
|
||||
<u--form labelPosition="left" :model="form" :rules="rules" ref="uForm" label-width="auto"
|
||||
:labelStyle="{ color: '#333333', fontSize: '30rpx' }">
|
||||
<u-form-item label="储蓄卡" prop="outAccountName" required @click="handleDebitCard">
|
||||
<u--input v-model="form.outAccountName" disabled disabledColor="#ffffff" placeholder="请选择储蓄卡"
|
||||
<u-form-item label="储蓄账户" prop="outAccountName" required @click="handleDebitCard">
|
||||
<u--input v-model="form.outAccountName" disabled disabledColor="#ffffff" placeholder="请选择储蓄账户"
|
||||
inputAlign="right" border="none"></u--input>
|
||||
<u-icon slot="right" name="arrow-down"></u-icon>
|
||||
</u-form-item>
|
||||
@@ -112,7 +112,7 @@ const data = reactive({
|
||||
},
|
||||
rules: {
|
||||
inAccountName: [{ required: true, message: '信用卡不能为空', trigger:['change', 'blur'] }],
|
||||
outAccountName: [{ required: true, message: '储蓄卡不能为空', trigger: ['change', 'blur'] }],
|
||||
outAccountName: [{ required: true, message: '储蓄账户不能为空', trigger: ['change', 'blur'] }],
|
||||
dealTypeName: [{ required: true, message: '还款方式不能为空', trigger: ['change', 'blur'] }],
|
||||
amount: [{ required: true, message: '还款金额不能为空', trigger: ['change', 'blur'] }],
|
||||
createTime: [{ required: true, message: '还款时间不能为空', trigger: ['change', 'blur'] }]
|
||||
@@ -160,7 +160,7 @@ onLoad((option) => {
|
||||
function handleDebitCard() {
|
||||
if (debitCardList.value[0].length === 0) {
|
||||
proxy.$refs['uToast'].show({
|
||||
message: '储蓄卡为空 ', type: 'warning'
|
||||
message: '储蓄账户为空 ', type: 'warning'
|
||||
})
|
||||
} else {
|
||||
showDebitCard.value = true
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<!-- <view class="section-title">{{ detailInfo.name }}</view> -->
|
||||
<u-cell-group>
|
||||
<u-cell title="名称:" titleStyle="font-weight:bolder" :value="detailInfo.name"></u-cell>
|
||||
<u-cell title="储蓄卡:" titleStyle="font-weight:bolder" :value="detailInfo.outAccountName"></u-cell>
|
||||
<u-cell title="储蓄账户:" titleStyle="font-weight:bolder" :value="detailInfo.outAccountName"></u-cell>
|
||||
<u-cell title="信用卡:" titleStyle="font-weight:bolder" :value="detailInfo.inAccountName"></u-cell>
|
||||
<u-cell title="还款时间:" titleStyle="font-weight:bolder" :value="detailInfo.createTime"></u-cell>
|
||||
<u-cell title="还款金额:" titleStyle="font-weight:bolder" :value="detailInfo.amount"></u-cell>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
:text="item.name" size="30rpx" color="#333333" :bold="true"></u--text>
|
||||
</view>
|
||||
<view class="item-row">
|
||||
<text class="row-label">储蓄卡:</text>
|
||||
<text class="row-label">储蓄账户:</text>
|
||||
<text class="row-value">{{ item.outAccountName }}</text>
|
||||
</view>
|
||||
<view class="item-row">
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
inputAlign="right" border="none"></u--input>
|
||||
<u-icon slot="right" name="arrow-down"></u-icon>
|
||||
</u-form-item>
|
||||
<u-form-item label="储蓄卡" prop="inAccountName" required @click="handleInAccount">
|
||||
<u--input v-model="form.inAccountName" disabled disabledColor="#ffffff" placeholder="请选择储蓄卡"
|
||||
<u-form-item label="储蓄账户" prop="inAccountName" required @click="handleInAccount">
|
||||
<u--input v-model="form.inAccountName" disabled disabledColor="#ffffff" placeholder="请选择储蓄账户"
|
||||
inputAlign="right" border="none"></u--input>
|
||||
<u-icon slot="right" name="arrow-down"></u-icon>
|
||||
</u-form-item>
|
||||
@@ -118,7 +118,7 @@ const data = reactive({
|
||||
pageSize: 1000
|
||||
},
|
||||
rules: {
|
||||
inAccountName: [{ required: true, message: '储蓄卡不能为空', trigger:['change', 'blur'] }],
|
||||
inAccountName: [{ required: true, message: '储蓄账户不能为空', trigger:['change', 'blur'] }],
|
||||
outAccountName: [{ required: true, message: '借贷账户不能为空', trigger: ['change', 'blur'] }],
|
||||
amount: [{ required: true, message: '借贷金额不能为空', trigger: ['change', 'blur'] }],
|
||||
dealTypeName: [{ required: true, message: '交易类型不能为空', trigger: ['change', 'blur'] }],
|
||||
@@ -185,7 +185,7 @@ onLoad((option) => {
|
||||
function handleInAccount() {
|
||||
if (inAccountList.value[0].length === 0) {
|
||||
proxy.$refs['uToast'].show({
|
||||
message: '储蓄卡为空 ', type: 'warning'
|
||||
message: '储蓄账户为空 ', type: 'warning'
|
||||
})
|
||||
} else {
|
||||
showInAccount.value = true
|
||||
|
||||
Reference in New Issue
Block a user