Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
6b767406
Commit
6b767406
authored
Oct 13, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:贷款额度
parent
6bbdd504
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
index.vue
src/components/PopUpContent/LoanFilter/index.vue
+22
-7
index.vue
src/views/LoanList/index.vue
+4
-3
No files found.
src/components/PopUpContent/LoanFilter/index.vue
View file @
6b767406
...
...
@@ -14,9 +14,10 @@
<div
class=
"word24"
>
<input
v-model
.
number=
"min_"
@
blur=
"checkMin1"
type=
"number"
placeholder=
"最低利率"
class=
"bg-transparent w-full"
class=
"bg-transparent w-full
text-center
"
/>
</div>
<div
class=
"word25"
>
%
</div>
...
...
@@ -29,8 +30,9 @@
<input
type=
"number"
v-model
.
number=
"max_"
@
blur=
"checkMax1"
placeholder=
"最高利率"
class=
"bg-transparent w-full"
class=
"bg-transparent w-full
text-center
"
/>
</div>
<div
class=
"word26"
>
%
</div>
...
...
@@ -44,9 +46,10 @@
<div
class=
"word24"
>
<input
v-model
.
number=
"min_2"
@
blur=
"checkMin2"
type=
"number"
placeholder=
""
class=
"bg-transparent w-full"
placeholder=
"
0
"
class=
"bg-transparent w-full
text-center
"
/>
</div>
</div>
...
...
@@ -58,8 +61,9 @@
<input
type=
"number"
v-model
.
number=
"max_2"
placeholder=
""
class=
"bg-transparent w-full"
@
blur=
"checkMax2"
placeholder=
"9999"
class=
"bg-transparent w-full text-center"
/>
</div>
</div>
...
...
@@ -72,7 +76,7 @@
:selecteds=
"selectedTypes"
:setSelecteds=
"setSelectedTypes"
/>
<div
class=
"group-title mt-8"
>
期限
</div>
<div
class=
"group-title mt-8"
>
最长
期限
</div>
<SelectList
class=
"mt-5"
:list=
"peridList"
...
...
@@ -120,6 +124,17 @@ export default defineComponent({
required
:
true
,
},
},
methods
:{
checkMin1
(){
if
(
this
.
min_
){
console
.
log
(
'blur'
);
this
.
setMin
(
this
.
min
);
console
.
log
(
'blur'
,
this
.
min
,
this
.
min_
);
// this.min_ = +Number.parseFloat(this.min_ as string).toFixed(2)
}
}
},
computed
:
{
min_
:
{
get
():
number
|
string
|
undefined
{
...
...
src/views/LoanList/index.vue
View file @
6b767406
...
...
@@ -50,8 +50,9 @@
:setSelectedTypes=
"(v) => (selectedTypes = v)"
:min=
"min"
:max=
"max"
:setMin=
"(v) => (min = v)"
:setMax=
"(v) => (max = v)"
:setMin=
"(v) => (min = +Number.parseFloat(v).toFixed(2))"
:setMax=
"(v) => (max = +Number.parseFloat(v).toFixed(2))"
:min2=
"min2"
:max2=
"max2"
:setMin2=
"(v) => (min2 = v)"
...
...
@@ -114,7 +115,7 @@ export default defineComponent({
onUnmounted
(()
=>
{
/* 返回Loan主页时需清空list */
if
(
useRoute
().
name
===
"Loan"
)
{
clearSearchResult
()
clearSearchResult
()
;
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment