From 559f6fcd685d2144e931d2c4e56cbe38c2308d70 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 10 十二月 2025 17:42:51 +0800
Subject: [PATCH] 经销商管理
---
admin/src/components/business/OperaHotCityWindow.vue | 21 ++++++++++-----------
1 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/admin/src/components/business/OperaHotCityWindow.vue b/admin/src/components/business/OperaHotCityWindow.vue
index 8f92be7..ad63c9d 100644
--- a/admin/src/components/business/OperaHotCityWindow.vue
+++ b/admin/src/components/business/OperaHotCityWindow.vue
@@ -48,7 +48,7 @@
callback(new Error('璇峰厛閫夋嫨鐪佷唤'))
} else if (!this.form.cityId) {
callback(new Error('璇烽�夋嫨鍩庡競'))
- } else {
+ } else {
callback()
}
}
@@ -72,7 +72,7 @@
rules: {
cityId: [
{ required: true, validator: newRule, trigger: 'change' }
- ],
+ ]
}
}
},
@@ -81,13 +81,13 @@
api: '/business/hotCity',
'field.id': 'id'
})
- listByParentId({type: 0, parentId: ''})
+ listByParentId({ type: 0, parentId: '' })
.then(data => {
- this.province = data
- })
+ this.province = data
+ })
},
methods: {
- selectProvince(val) {
+ selectProvince (val) {
this.form.cityId = ''
this.cities = []
listByParentId({ type: 1, parentId: val })
@@ -97,13 +97,12 @@
.catch(e => {
this.$tip.error(e)
})
-
},
- numInput() {
+ numInput () {
// =""
- this.form.sortnum = this.form.sortnum.replace(/^(0+)|[^\d]+/g,'')
- },
- },
+ this.form.sortnum = this.form.sortnum.replace(/^(0+)|[^\d]+/g, '')
+ }
+ }
}
</script>
--
Gitblit v1.9.3