|
@@ -142,7 +142,7 @@
|
|
<script>
|
|
<script>
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { STable, VSelect, Upload } from '@/components'
|
|
import { STable, VSelect, Upload } from '@/components'
|
|
-import { getArea } from '@/api/data'
|
|
|
|
|
|
+import { getAreaCgj } from '@/api/data'
|
|
import custList from '@/views/common/custList.vue'
|
|
import custList from '@/views/common/custList.vue'
|
|
import { xprhStoreApplyDetail, xprhStoreApplyAudit } from '@/api/approveStore'
|
|
import { xprhStoreApplyDetail, xprhStoreApplyAudit } from '@/api/approveStore'
|
|
export default {
|
|
export default {
|
|
@@ -219,7 +219,7 @@ export default {
|
|
xprhStoreApplyDetail({ sn: this.$route.params.sn }).then(res => {
|
|
xprhStoreApplyDetail({ sn: this.$route.params.sn }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
if (res.data.addrProvince) { this.getArea('city', res.data.addrProvince) }
|
|
if (res.data.addrProvince) { this.getArea('city', res.data.addrProvince) }
|
|
- if (res.data.addrDistrict) { this.getArea('district', res.data.addrDistrict) }
|
|
|
|
|
|
+ if (res.data.addrDistrict) { this.getArea('district', res.data.addrCity) }
|
|
this.form = Object.assign(this.form, res.data)
|
|
this.form = Object.assign(this.form, res.data)
|
|
this.$refs.storeImage.setFileList(res.data.storeImage)
|
|
this.$refs.storeImage.setFileList(res.data.storeImage)
|
|
this.$refs.licenseImage.setFileList(res.data.licenseImage)
|
|
this.$refs.licenseImage.setFileList(res.data.licenseImage)
|
|
@@ -305,7 +305,7 @@ export default {
|
|
} else {
|
|
} else {
|
|
params = { parentId: sn, type: leve == 'city' ? '3' : '4' }
|
|
params = { parentId: sn, type: leve == 'city' ? '3' : '4' }
|
|
}
|
|
}
|
|
- getArea(params).then(res => {
|
|
|
|
|
|
+ getAreaCgj(params).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
if (leve == 'province') {
|
|
if (leve == 'province') {
|
|
this.addrProvinceList = res.data || []
|
|
this.addrProvinceList = res.data || []
|