|
@@ -993,6 +993,7 @@
|
|
|
|
|
|
|
|
if (this.enterprisePage.length === 1) {
|
|
if (this.enterprisePage.length === 1) {
|
|
|
this.form.partbName = this.enterprisePage[0].name;
|
|
this.form.partbName = this.enterprisePage[0].name;
|
|
|
|
|
+ this.form.partbId = this.enterprisePage[0].id;
|
|
|
this.getEnterprise();
|
|
this.getEnterprise();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1537,6 +1538,7 @@
|
|
|
this.isUpdate = false;
|
|
this.isUpdate = false;
|
|
|
if (this.enterprisePage.length > 0) {
|
|
if (this.enterprisePage.length > 0) {
|
|
|
this.form.partbName = this.enterprisePage[0].name;
|
|
this.form.partbName = this.enterprisePage[0].name;
|
|
|
|
|
+ this.form.partbId = this.enterprisePage[0].id;
|
|
|
this.form.partbUnifiedSocialCreditCode =
|
|
this.form.partbUnifiedSocialCreditCode =
|
|
|
this.enterprisePage[0].unifiedSocialCreditCode;
|
|
this.enterprisePage[0].unifiedSocialCreditCode;
|
|
|
this.form.partbFax = this.enterprisePage[0].fax;
|
|
this.form.partbFax = this.enterprisePage[0].fax;
|
|
@@ -1586,6 +1588,7 @@
|
|
|
}
|
|
}
|
|
|
if (this.enterprisePage.length > 0) {
|
|
if (this.enterprisePage.length > 0) {
|
|
|
this.form.partbName = this.enterprisePage[0].name;
|
|
this.form.partbName = this.enterprisePage[0].name;
|
|
|
|
|
+ this.form.partbId = this.enterprisePage[0].id;
|
|
|
this.form.partbUnifiedSocialCreditCode =
|
|
this.form.partbUnifiedSocialCreditCode =
|
|
|
this.enterprisePage[0].unifiedSocialCreditCode;
|
|
this.enterprisePage[0].unifiedSocialCreditCode;
|
|
|
this.form.partbFax = this.enterprisePage[0].fax;
|
|
this.form.partbFax = this.enterprisePage[0].fax;
|
|
@@ -1607,6 +1610,7 @@
|
|
|
(item) => item.name == this.form.partbName
|
|
(item) => item.name == this.form.partbName
|
|
|
);
|
|
);
|
|
|
this.form.partbName = data.name;
|
|
this.form.partbName = data.name;
|
|
|
|
|
+ this.form.partbId = data.id;
|
|
|
this.form.partbUnifiedSocialCreditCode = data.unifiedSocialCreditCode;
|
|
this.form.partbUnifiedSocialCreditCode = data.unifiedSocialCreditCode;
|
|
|
this.form.partbFax = data.fax;
|
|
this.form.partbFax = data.fax;
|
|
|
this.form.partbAddress = data.address;
|
|
this.form.partbAddress = data.address;
|