fix: 自测问题统一修复。
This commit is contained in:
@@ -321,8 +321,9 @@ getDicts('deal_category').then(result => {
|
||||
tempDebitTypeName.value = null
|
||||
queryAccountParams.value.debitType = null
|
||||
|
||||
// 如果是储蓄账户(type='1')且不是修改模式,显示储蓄账户类型选择
|
||||
if (form.value.type === '1' && form.value.id == null) {
|
||||
// 如果是储蓄账户(type='1'),显示储蓄账户类型选择
|
||||
// 编辑模式(id不为null且flag为null)时不需要显示,因为已经在getData中处理
|
||||
if (form.value.type === '1' && !(form.value.id != null && flag.value == null)) {
|
||||
debitTypeShow.value = true
|
||||
} else {
|
||||
debitTypeShow.value = false
|
||||
|
||||
@@ -9,15 +9,19 @@
|
||||
>
|
||||
</u-navbar>
|
||||
|
||||
<view class="search-view">
|
||||
<u--input v-model="queryParams.time" border="false" disabled placeholder="请输入时间" class="search-input"
|
||||
@blur="searchBlur" suffixIcon="calendar" suffixIconStyle="color: #909399">
|
||||
</u--input>
|
||||
<view class="filter-btn" @click="filterPanel = !filterPanel">
|
||||
<uni-icons type="list" size="18" color="#667eea"></uni-icons>
|
||||
<text>筛选</text>
|
||||
<u-sticky offsetTop="0rpx" customNavHeight="0rpx">
|
||||
<view class="search-view">
|
||||
<u--input v-model="queryParams.time" border="false" disabled placeholder="请输入时间" class="search-input"
|
||||
@blur="searchBlur" suffixIcon="calendar" suffixIconStyle="color: #909399">
|
||||
</u--input>
|
||||
<view class="filter-btn" @click="filterPanel = !filterPanel">
|
||||
<uni-icons type="list" size="18" color="#667eea"></uni-icons>
|
||||
<text>筛选</text>
|
||||
</view>
|
||||
</view>
|
||||
<u-transition :show="filterPanel" mode="fade">
|
||||
</u-sticky>
|
||||
|
||||
<u-transition :show="filterPanel" mode="fade">
|
||||
<view class="filter-panel" :style="{ height: `${windowHeight - 42}px` }">
|
||||
<view class="filter-panel-content">
|
||||
<view class="filter-title">交易类别</view>
|
||||
@@ -48,7 +52,6 @@
|
||||
></u-datetime-picker>
|
||||
</view>
|
||||
</u-transition>
|
||||
</view>
|
||||
<u-list @scrolltolower="loadmore" :spaceHeight="170" lowerThreshold="100">
|
||||
<u-list-item v-for="(item, index) in listData" :key="index">
|
||||
<view class="list-item">
|
||||
@@ -272,18 +275,6 @@ page {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.btnAdd {
|
||||
width: 146rpx;
|
||||
height: 56rpx;
|
||||
line-height: 56rpx;
|
||||
border-radius: 8rpx;
|
||||
display:float;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.search-view {
|
||||
padding: 12rpx 32rpx;
|
||||
background-color: #ffffff;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="work-container">
|
||||
<view class="content">
|
||||
|
||||
<!-- 常用功能 -->
|
||||
<view class="section-header" v-show="auth.hasPermi('invest:accountDealRecord:list')">
|
||||
@@ -81,6 +81,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <refresh></refresh> -->
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -134,18 +135,9 @@ import auth from "@/plugins/auth"; // 建议使用auth进行鉴权操作
|
||||
|
||||
<style lang="scss">
|
||||
/* #ifndef APP-NVUE */
|
||||
page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-sizing: border-box;
|
||||
background-color: #f5f7fa;
|
||||
min-height: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* #endif */
|
||||
|
||||
.work-container {
|
||||
.content {
|
||||
padding: 12rpx 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user