fix: BUG修改
This commit is contained in:
parent
20dd62e091
commit
1f8dc76739
@ -657,7 +657,7 @@
|
||||
v-model="addForm1.enterpriseName"
|
||||
clearable
|
||||
@focus="getEnterprise"
|
||||
@clear="addForm1.enterpriseSn = '';addForm1.changeId = '';crewUpdateList = []"
|
||||
@clear="addForm1.enterpriseSn = '';addForm1.enterpriseName = '';addForm1.changeId = '';crewUpdateList = []"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
@ -1122,7 +1122,7 @@
|
||||
v-model="addForm2.enterpriseName"
|
||||
clearable
|
||||
@focus="getEnterprise"
|
||||
@clear="addForm2.enterpriseSn = ''"
|
||||
@clear="addForm2.enterpriseSn = '';addForm2.enterpriseName = ''"
|
||||
>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
@ -2380,8 +2380,12 @@ export default {
|
||||
}
|
||||
},
|
||||
changeRegion(val) {
|
||||
console.log(val,666777)
|
||||
// console.log(val,this.checkPointList,this.$refs['formRegion1'].getCheckedNodes()[0])
|
||||
if (this.recordType == 1) {
|
||||
this.addForm1.enterpriseSn = "";
|
||||
this.addForm1.enterpriseName = "";
|
||||
this.addForm1.changeId = "";
|
||||
let pathLabels = this.$refs["formRegion1"].getCheckedNodes()[0]
|
||||
.pathLabels;
|
||||
let data = this.$refs["formRegion1"].getCheckedNodes()[0].data;
|
||||
@ -2426,9 +2430,9 @@ export default {
|
||||
this.addForm1.notifyPerson
|
||||
);
|
||||
this.subcontractList = data.enterpriseInfos;
|
||||
this.addForm1.enterpriseSn = "";
|
||||
this.addForm1.enterpriseName = "";
|
||||
} else if (this.recordType == 2) {
|
||||
this.addForm2.enterpriseSn = "";
|
||||
this.addForm2.enterpriseName = "";
|
||||
let pathLabels = this.$refs["addFormRegion2"].getCheckedNodes()[0]
|
||||
.pathLabels;
|
||||
let data = this.$refs["addFormRegion2"].getCheckedNodes()[0].data;
|
||||
@ -2445,8 +2449,6 @@ export default {
|
||||
// }
|
||||
this.addForm2.regionName = text;
|
||||
this.subcontractList = data.enterpriseInfos;
|
||||
this.addForm2.enterpriseSn = "";
|
||||
this.addForm2.enterpriseName = "";
|
||||
}
|
||||
this.addForm1.inspectManId = this.checkPointList;
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user