车辆对接

This commit is contained in:
wangshiming
2022-01-11 16:18:17 +08:00
parent ecaa2ae4e2
commit 070d6bbf11
4 changed files with 32 additions and 62 deletions

View File

@ -218,11 +218,12 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
asyncData: () => this.shipperSrv.getStaffList2()
} as SFSelectWidgetSchema
}
}
},
required: ['shipperAppUserId','enterpriseProjectId','enterpriseInfoName','dispatchId']
};
this.ui1 = {
'*': {
spanLabelFixed: 90,
spanLabelFixed: 110,
grid: { span: 12 }
},
$enterpriseInfoName: {
@ -694,11 +695,12 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
this.validateForm1.controls[key].markAsDirty();
this.validateForm1.controls[key].updateValueAndValidity();
});
this.sf1.validator({ emitError: true });
this.sf3.validator({ emitError: true });
this.sf4.validator({ emitError: true });
this.sf6.validator({ emitError: true });
this.sf7.validator({ emitError: true });
if (this.validateForm1.invalid || !this.sf3.valid || !this.sf4.valid || !this.sf6.valid || !this.sf7.valid) {
if (this.validateForm1.invalid || !this.sf1.valid || !this.sf3.valid || !this.sf4.valid || !this.sf6.valid || !this.sf7.valid) {
return;
}