This commit is contained in:
wangshiming
2022-04-28 20:26:30 +08:00
parent 6cc12ff451
commit 2aeaa09e14
112 changed files with 339 additions and 339 deletions

View File

@ -599,9 +599,9 @@ export class CarAddDriverComponent implements OnInit {
submitForm(){
const params:any = {
source: 1,
mobile: this.sf.value.mobile,
mobile: this.sf?.value.mobile,
identityInfoDTO:{
...this.sf.value,
...this.sf?.value,
certificatePhotoFront: this.detailData.certificatePhotoFront,
certificatePhotoBack: this.detailData.certificatePhotoBack,
},

View File

@ -49,5 +49,5 @@ export class PublishchooseFamifiarSetCaptainComponent implements OnInit {
}
close() {this.modal.close()}
save() {this.modal.close(this.sf.value.captainPhone)}
save() {this.modal.close(this.sf?.value.captainPhone)}
}

View File

@ -427,7 +427,7 @@ export class SupplyManagementVehicleComponent extends BasicTableComponent implem
// },
// allowClear: true,
// containsAllLabel: true,
// asyncData: () => this.shipperSrv.getEnterpriseProject(this.sf.value?.shipperAppUserId)
// asyncData: () => this.shipperSrv.getEnterpriseProject(this.sf?.value?.shipperAppUserId)
// } as SFSelectWidgetSchema
// },
enterpriseProjectId: {

View File

@ -155,7 +155,7 @@ export class SupplyManagementImportSupplyComponent implements OnInit {
});
}
save(): void {
if(!this.sf.value?.shipperAppUserId || !this?.networkTransporter || !this.sf.value?.enterpriseProjectId || !this.sf.value?.fileName) {
if(!this.sf?.value?.shipperAppUserId || !this?.networkTransporter || !this.sf?.value?.enterpriseProjectId || !this.sf?.value?.fileName) {
this.service.msgSrv.error('请填写必填项并上传文件!')
return
}
@ -163,9 +163,9 @@ export class SupplyManagementImportSupplyComponent implements OnInit {
const formData : any= new FormData();
this.files?.forEach((file: any) => {
formData.append('file', file);
formData.append('shipperAppUserId', this.sf.value?.shipperAppUserId);
formData.append('shipperAppUserId', this.sf?.value?.shipperAppUserId);
formData.append('enterpriseInfoId', this?.networkTransporter);
formData.append('enterpriseProjectId', this.sf.value?.enterpriseProjectId);
formData.append('enterpriseProjectId', this.sf?.value?.enterpriseProjectId);
});
console.log(formData)