|
@@ -145,10 +145,10 @@ export default {
|
|
if(newVal != preVal){
|
|
if(newVal != preVal){
|
|
if(newVal == 1){
|
|
if(newVal == 1){
|
|
let tmpDeptDTOS = this.deptDis.deptDTOS
|
|
let tmpDeptDTOS = this.deptDis.deptDTOS
|
|
- let obj = {id:-1,name:'通用'}
|
|
|
|
- if(tmpDeptDTOS[0].id != 0){
|
|
|
|
- tmpDeptDTOS.unshift(obj)
|
|
|
|
- }
|
|
|
|
|
|
+ // let obj = {id:-1,name:'通用'}
|
|
|
|
+ // if(tmpDeptDTOS[0].id != 0){
|
|
|
|
+ // tmpDeptDTOS.unshift(obj)
|
|
|
|
+ // }
|
|
this.sonLis = tmpDeptDTOS
|
|
this.sonLis = tmpDeptDTOS
|
|
if(!this.form.id){
|
|
if(!this.form.id){
|
|
this.form.region4 = ''
|
|
this.form.region4 = ''
|
|
@@ -156,10 +156,10 @@ export default {
|
|
}
|
|
}
|
|
}else if(newVal == 2){
|
|
}else if(newVal == 2){
|
|
let tmpDisDTOS = this.deptDis.disDTOS
|
|
let tmpDisDTOS = this.deptDis.disDTOS
|
|
- let obj = {id:-1,name:'通用'}
|
|
|
|
- if(tmpDisDTOS[0].id != 0){
|
|
|
|
- tmpDisDTOS.unshift(obj)
|
|
|
|
- }
|
|
|
|
|
|
+ // let obj = {id:-1,name:'通用'}
|
|
|
|
+ // if(tmpDisDTOS[0].id != 0){
|
|
|
|
+ // tmpDisDTOS.unshift(obj)
|
|
|
|
+ // }
|
|
this.sonLis = tmpDisDTOS
|
|
this.sonLis = tmpDisDTOS
|
|
if(!this.form.id){
|
|
if(!this.form.id){
|
|
this.form.region4 = ''
|
|
this.form.region4 = ''
|