Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
9a5f214c
Commit
9a5f214c
authored
Sep 30, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
清空
parent
308d3371
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
pages/housePurchase/housePurchase.vue
+22
-2
No files found.
pages/housePurchase/housePurchase.vue
View file @
9a5f214c
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<view
class=
"inputItem"
>
<view
class=
"inputItem"
>
<text>
预购城市:
</text>
<text>
预购城市:
</text>
<uni-data-picker
placeholder=
"请选择地区"
popup-title=
"请选择所在地区"
:localdata=
"provinceList"
<uni-data-picker
placeholder=
"请选择地区"
popup-title=
"请选择所在地区"
:localdata=
"provinceList"
@
change=
"onchange"
@
nodeclick=
"onnodeclick"
>
@
change=
"onchange"
@
nodeclick=
"onnodeclick"
v-model=
"housePurchaseInfo.cityId"
>
</uni-data-picker>
</uni-data-picker>
</view>
</view>
<view
class=
"inputItem"
>
<view
class=
"inputItem"
>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<!-- 操作 -->
<!-- 操作 -->
<view
class=
"optionContent"
>
<view
class=
"optionContent"
>
<button
type=
"default"
plain=
"true"
form-type=
"reset"
<button
type=
"default"
plain=
"true"
form-type=
"reset"
>
全部清空
</button>
@
click=
"resetData()"
>
全部清空
</button>
<button
type=
"default"
plain=
"true"
<button
type=
"default"
plain=
"true"
class=
"btn"
@
click=
"startCount()"
>
开始计算
</button>
class=
"btn"
@
click=
"startCount()"
>
开始计算
</button>
</view>
</view>
...
@@ -521,6 +521,26 @@
...
@@ -521,6 +521,26 @@
this
.
planningParams
.
housePriceGrowthRate
=
res
[
'data'
][
'priceInfo'
][
'rateB'
]
/
100
;
this
.
planningParams
.
housePriceGrowthRate
=
res
[
'data'
][
'priceInfo'
][
'rateB'
]
/
100
;
}
}
})
})
},
resetData
(){
this
.
housePurchaseInfo
=
{
nyear
:
null
,
//几年后购房
provinceCode
:
null
,
provinceName
:
null
,
cityCode
:
null
,
cityName
:
null
,
preOrderSize
:
null
,
//预购面积
targetPrice
:
null
,
//目标价格(现值)
downPaymentMin
:
null
,
//首付款最低成数(百分位)
newLoanYear
:
null
,
//新房贷款年限【必须大于0】
firstHouseAmount
:
null
,
//初期购房资金(单位万)
housePurchaseType
:
null
,
//购房用途
repaymentSpecial
:
null
,
//每年还贷专用款(单位万)
interestRate
:
null
,
//贷款年利率
};
this
.
houseLoanOldList
=
[];
this
.
planningParams
=
{};
this
.
resultFlag
=
false
;
}
}
},
},
mounted
(){
mounted
(){
...
...
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