fix: 账户交易记录,bug修复。
This commit is contained in:
@@ -193,6 +193,11 @@ onLoad((option) => {
|
||||
if(form.value.id!=null){
|
||||
getAccountDealRecord(form.value.id).then(res => {
|
||||
form.value = res.data
|
||||
if (form.value.dealCategory === '1') {
|
||||
childCategoryShow.value = true
|
||||
} else {
|
||||
childCategoryShow.value = false
|
||||
}
|
||||
// 交易类别
|
||||
getDicts('deal_category').then(result => {
|
||||
form.value.dealCategoryName=dictStr(form.value.dealCategory, result.data)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<u-cell title="账户类型:" titleStyle="font-weight:bolder" :value="detailInfo.type"></u-cell>
|
||||
<u-cell title="交易类型:" titleStyle="font-weight:bolder" :value="detailInfo.dealType"></u-cell>
|
||||
<u-cell title="交易类别:" titleStyle="font-weight:bolder" :value="detailInfo.dealCategory"></u-cell>
|
||||
<u-cell title="交易子类别:" titleStyle="font-weight:bolder" :value="detailInfo.childCategoryName"></u-cell>
|
||||
<u-cell v-show="detailInfo.childCategory!=detailInfo.childCategory" title="交易子类别:" titleStyle="font-weight:bolder" :value="detailInfo.childCategoryName"></u-cell>
|
||||
<u-cell title="交易金额:" titleStyle="font-weight:bolder" :value="detailInfo.amount"></u-cell>
|
||||
<u-cell title="当前余额:" titleStyle="font-weight:bolder" :value="detailInfo.currentBalance"></u-cell>
|
||||
<u-cell title="交易时间:" titleStyle="font-weight:bolder" :value="detailInfo.createTime"></u-cell>
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
<text class="row-label">交易类别:</text>
|
||||
<text class="row-value">{{ dictStr(item.dealCategory, dealCategoryList) }}</text>
|
||||
</view>
|
||||
<view class="item-row">
|
||||
<view class="item-row" v-show="item.childCategory!=item.dealCategory">
|
||||
<text class="row-label">交易子类别:</text>
|
||||
<text class="row-value">{{ item.childCategoryName }}</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user