|
@@ -69,6 +69,7 @@
|
|
<a-form-model-item label="所属城市" prop="citySn">
|
|
<a-form-model-item label="所属城市" prop="citySn">
|
|
<Area
|
|
<Area
|
|
id="epenseDetailModal-area"
|
|
id="epenseDetailModal-area"
|
|
|
|
+ ref="city"
|
|
@change="cityChange"
|
|
@change="cityChange"
|
|
placeholder="请选择所属城市"
|
|
placeholder="请选择所属城市"
|
|
leve="city"
|
|
leve="city"
|
|
@@ -211,6 +212,7 @@ export default {
|
|
this.form.provinceSn = v || ''
|
|
this.form.provinceSn = v || ''
|
|
this.form.citySn = undefined
|
|
this.form.citySn = undefined
|
|
this.form.cityName = ''
|
|
this.form.cityName = ''
|
|
|
|
+ this.$refs.city.clearData()
|
|
},
|
|
},
|
|
// 市
|
|
// 市
|
|
cityChange (v, row) {
|
|
cityChange (v, row) {
|
|
@@ -293,6 +295,7 @@ export default {
|
|
resetForm () {
|
|
resetForm () {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
|
|
+ this.$refs.city.clearData()
|
|
})
|
|
})
|
|
this.form = {
|
|
this.form = {
|
|
id: undefined,
|
|
id: undefined,
|