|
@@ -249,6 +249,21 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ watch:{
|
|
|
+ 'firstFormData.areaType':{
|
|
|
+ handler(newVal){
|
|
|
+ console.log('watch?',newVal)
|
|
|
+ if(newVal==='海外'){
|
|
|
+ this.firstFormData.creditCode = 'HZ' + new Date().getTime()
|
|
|
+ this.firstFormData.address = ['海外','其他市']
|
|
|
+ this.selectRegion(['海外','其他市'])
|
|
|
+ }else{
|
|
|
+ this.firstFormData.creditCode = ''
|
|
|
+ this.firstFormData.address = []
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
created() {
|
|
|
this.getIndustry()
|
|
|
this.getSale()
|