Commit 97102229 by zhangquan

bug修复

1 parent 271c13b0
...@@ -651,7 +651,7 @@ export default { ...@@ -651,7 +651,7 @@ export default {
}, },
async addParkingPlaceFn() { async addParkingPlaceFn() {
await this.getRadarList() await this.getRadarList()
this.parkingPlaceVisible = true this.openParkingDialog()
}, },
async updateParkingPlaceFn(row) { async updateParkingPlaceFn(row) {
await this.getRadarList(row.radarId) await this.getRadarList(row.radarId)
...@@ -659,6 +659,10 @@ export default { ...@@ -659,6 +659,10 @@ export default {
this.basicForm[key] = row[key] this.basicForm[key] = row[key]
} }
this.basicForm.merchantId = this.basicForm.merchantId ? this.basicForm.merchantId + '' : '' this.basicForm.merchantId = this.basicForm.merchantId ? this.basicForm.merchantId + '' : ''
this.openParkingDialog()
},
openParkingDialog() {
this.$refs.parkingPlaceRef?.$refs?.formRef?.clearValidate()
this.parkingPlaceVisible = true this.parkingPlaceVisible = true
}, },
handleOk() { handleOk() {
...@@ -691,7 +695,6 @@ export default { ...@@ -691,7 +695,6 @@ export default {
parkingRemark: '' parkingRemark: ''
} }
this.parkingPlaceVisible = false this.parkingPlaceVisible = false
this.$refs.parkingPlaceRef?.$refs?.formRef?.clearValidate()
}, },
setTableFinishFun() { setTableFinishFun() {
this.$refs.infoTableRef.data.length ? (this.$refs.infoTableRef.tableHeightValues = '') : this.$refs.infoTableRef.setTableHeightFun() this.$refs.infoTableRef.data.length ? (this.$refs.infoTableRef.tableHeightValues = '') : this.$refs.infoTableRef.setTableHeightFun()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!