fix: 新功能增加,原有功能优化。
This commit is contained in:
@@ -49,9 +49,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<u-toast ref="uToast"></u-toast>
|
||||
<u-picker itemHeight="88" :show="showOutAccount" :columns="outAccountList" keyName="nameCode" @cancel="handleOutAccountCancel"
|
||||
<u-picker itemHeight="88" :show="showOutAccount" :columns="outAccountList" keyName="nameCodeAvailableLimit" @cancel="handleOutAccountCancel"
|
||||
@confirm="handleOutAccountConfirm"></u-picker>
|
||||
<u-picker itemHeight="88" :show="showInAccount" :columns="inAccountList" keyName="nameCode" @cancel="handleInAccountCancel"
|
||||
<u-picker itemHeight="88" :show="showInAccount" :columns="inAccountList" keyName="nameCodeAvailableLimit" @cancel="handleInAccountCancel"
|
||||
@confirm="handleInAccountConfirm"></u-picker>
|
||||
<u-picker itemHeight="88" :show="showDealType" :columns="dealTypeList" keyName="dictLabel" @cancel="handleDealTypeCancel"
|
||||
@confirm="handleDealTypeConfirm"></u-picker>
|
||||
@@ -174,7 +174,7 @@ onLoad((option) => {
|
||||
}
|
||||
}
|
||||
function handleOutAccountConfirm(e) {
|
||||
form.value.outAccountName = e.value[0].nameCode
|
||||
form.value.outAccountName = e.value[0].nameCodeAvailableLimit
|
||||
form.value.outAccountId = e.value[0].id
|
||||
showOutAccount.value = false
|
||||
|
||||
@@ -192,7 +192,7 @@ function handleInAccount() {
|
||||
}
|
||||
}
|
||||
function handleInAccountConfirm(e) {
|
||||
form.value.inAccountName = e.value[0].nameCode
|
||||
form.value.inAccountName = e.value[0].nameCodeAvailableLimit
|
||||
form.value.inAccountId = e.value[0].id
|
||||
showInAccount.value = false
|
||||
}
|
||||
|
||||
@@ -3,10 +3,7 @@
|
||||
<u-sticky offsetTop="8rpx" customNavHeight="8rpx">
|
||||
<view class="search-view">
|
||||
<u--input v-model="queryParams.name" border="false" placeholder="请输入借贷账户名称" class="search-input"
|
||||
@blur="searchBlur">
|
||||
<template slot="prefix">
|
||||
<u-icon name="search" color="#B8B8B8" size="48"></u-icon>
|
||||
</template>
|
||||
@blur="searchBlur" suffixIcon="search" suffixIconStyle="color: #909399">
|
||||
</u--input>
|
||||
<u-icon :name="filterPanel ? 'arrow-up-fill' : 'arrow-down-fill'" color="#666666" size="28" label="筛选"
|
||||
labelPos="left" labelSize="32rpx" labelColor="#666666" @click="filterPanel = !filterPanel"></u-icon>
|
||||
@@ -93,7 +90,7 @@
|
||||
<text class="row-value">{{ item.commission }}</text>
|
||||
</view>
|
||||
<view class="operate" >
|
||||
<view class="btn filling" @click="enterDetails(item)">查看</view>
|
||||
<!-- <view class="btn filling" @click="enterDetails(item)">查看</view> -->
|
||||
<view class="btn filling" @click="handleDelete(item)">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -233,7 +230,7 @@ function dictStr(val, arr) {
|
||||
}
|
||||
function resetQuery() {
|
||||
queryParams.value.name = ''
|
||||
queryParams.value.type = ''
|
||||
queryParams.value.type = '5'
|
||||
queryParams.value.dealType = ''
|
||||
queryParams.value.startTime = ''
|
||||
queryParams.value.endTime = ''
|
||||
|
||||
Reference in New Issue
Block a user