|
@@ -196,6 +196,7 @@
|
|
|
this.options = this.nodeData.id ? await listCode(this.nodeData) : [];
|
|
this.options = this.nodeData.id ? await listCode(this.nodeData) : [];
|
|
|
if (this.options.length > 0) {
|
|
if (this.options.length > 0) {
|
|
|
this.form.businessCodeId = this.options[0].id;
|
|
this.form.businessCodeId = this.options[0].id;
|
|
|
|
|
+ this.form.codeType=this.options[0].parentId
|
|
|
} else {
|
|
} else {
|
|
|
this.form.businessCodeId = '';
|
|
this.form.businessCodeId = '';
|
|
|
}
|
|
}
|