Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuiantw1212 committed May 13, 2024
1 parent e3b89ab commit 838cabf
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 335 deletions.
7 changes: 4 additions & 3 deletions components/calculator/estate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<el-col :span="17">
<el-form-item label="房屋總價">
<el-text v-if="estate.totalPriceEstimated">= 單價({{ estatePrice.unitPrice }}萬/坪) x 權狀({{
estateSize.floorSize }}坪) = {{
Number(Math.floor(estate.totalPriceEstimated / 10000)).toLocaleString() }} 萬</el-text>
estateSize.floorSize }}坪) = {{
Number(Math.floor(estate.totalPriceEstimated / 10000)).toLocaleString() }} 萬</el-text>
<el-input-number v-else v-model="estate.totalPrice" :min="0" :step="1000000"
@change="calculateMortgage({ setDownpay: true })" />
</el-form-item>
Expand Down Expand Up @@ -424,9 +424,10 @@ function drawDownpayChart() {
})
downPayChartInstance = shallowRef(chartInstance)
}
return {
const exportData = {
estateDebtData
}
return JSON.parse(JSON.stringify(exportData))
}
function formatNumber(tooltipItems) {
const { raw, } = tooltipItems
Expand Down
Loading

0 comments on commit 838cabf

Please sign in to comment.