|
|
|
@ -1246,18 +1246,24 @@ export default {
|
|
|
|
|
editForm: { |
|
|
|
|
handler(newValue, oldValue) { |
|
|
|
|
if (this.editForm.city && this.editForm.city != '') { |
|
|
|
|
getAreaList(this.editForm.city).then(res => { |
|
|
|
|
this.regionList = res.data.data |
|
|
|
|
}) |
|
|
|
|
if (this.editForm.canton && this.editForm.canton != '') { |
|
|
|
|
getBigGroupList(this.editForm.city, this.editForm.canton).then(res => { |
|
|
|
|
this.bigGroupList = res.data.data |
|
|
|
|
if (newValue.city !== oldValue.city) { |
|
|
|
|
getAreaList(this.editForm.city).then(res => { |
|
|
|
|
this.regionList = res.data.data |
|
|
|
|
}) |
|
|
|
|
if (this.editForm.bigGroup && this.editForm.bigGroup != '') { |
|
|
|
|
getSmallGroupList(this.editForm.city, this.editForm.canton, this.editForm.bigGroup).then(res => { |
|
|
|
|
this.smallGroupList = res.data.data |
|
|
|
|
} |
|
|
|
|
if (this.editForm.canton && this.editForm.canton != '') { |
|
|
|
|
if (newValue.canton !== oldValue.canton) { |
|
|
|
|
getBigGroupList(this.editForm.city, this.editForm.canton).then(res => { |
|
|
|
|
this.bigGroupList = res.data.data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
if (this.editForm.bigGroup && this.editForm.bigGroup != '') { |
|
|
|
|
if (newValue.bigGroup !== oldValue.bigGroup) { |
|
|
|
|
getSmallGroupList(this.editForm.city, this.editForm.canton, this.editForm.bigGroup).then(res => { |
|
|
|
|
this.smallGroupList = res.data.data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if ( |
|
|
|
@ -1268,7 +1274,7 @@ export default {
|
|
|
|
|
this.editForm.landTransferMu = ( |
|
|
|
|
(this.editForm.landTransferSquare / 2000) * |
|
|
|
|
3 |
|
|
|
|
).toFixed(2); |
|
|
|
|
).toFixed(0); |
|
|
|
|
//容积率 |
|
|
|
|
this.editForm.plotRatio = ( |
|
|
|
|
this.editForm.totalConsArea / this.editForm.landTransferSquare |
|
|
|
@ -1276,7 +1282,7 @@ export default {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (this.editForm.totalConsArea && this.editForm.totalConsArea != 0) { |
|
|
|
|
//商务面积占比(%) |
|
|
|
|
//商业商务占比(%) |
|
|
|
|
this.editForm.bizCommerceRate = ( |
|
|
|
|
((this.editForm.bizSpace + this.editForm.commerceSpace) / |
|
|
|
|
this.editForm.totalConsArea) * |
|
|
|
@ -1286,8 +1292,14 @@ export default {
|
|
|
|
|
this.editForm.startingFloorPrice = ( |
|
|
|
|
(this.editForm.transferPrice * 10000) / |
|
|
|
|
this.editForm.totalConsArea |
|
|
|
|
).toFixed(2); |
|
|
|
|
).toFixed(0); |
|
|
|
|
//成交楼面价(元/㎡) |
|
|
|
|
this.editForm.dealFloorPrice = (this.editForm.dealPrice * 10000 / this.editForm.totalConsArea).toFixed(0) |
|
|
|
|
} |
|
|
|
|
if (this.editForm.transferPrice && this.editForm.transferPrice != 0) { |
|
|
|
|
this.editForm.premiumRate = ((this.editForm.dealPrice - this.editForm.transferPrice) / this.editForm.transferPrice).toFixed(2) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
deep: true, |
|
|
|
|
}, |
|
|
|
|