车辆接口更新
This commit is contained in:
@ -213,7 +213,7 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
} as SFUploadWidgetSchema,
|
||||
}
|
||||
},
|
||||
required: ['time']
|
||||
required: ['loadingLadingBillFilePath', 'loadingPeopleVehiclesGoodsFilePath','unloadingLadingBillFilePath','unloadingPeopleVehiclesGoodsFilePath' ]
|
||||
};
|
||||
}else {
|
||||
this.schema = {
|
||||
@ -383,7 +383,6 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
} as SFUploadWidgetSchema,
|
||||
}
|
||||
},
|
||||
required: ['time', 'weight' ]
|
||||
};
|
||||
}
|
||||
this.ui = {
|
||||
@ -398,17 +397,17 @@ export class orderManagementVoucherViewComponent implements OnInit {
|
||||
};
|
||||
}
|
||||
save(value: any): void {
|
||||
if(!value) {
|
||||
if(!this.sf.valid) {
|
||||
this.service.msgSrv.warning('必填项为空!')
|
||||
return;
|
||||
}
|
||||
console.log(value)
|
||||
const params = {
|
||||
id: this.i.id,
|
||||
loadingLadingBillFilePath: value.loadingLadingBillFilePath.data.fullFilePath,
|
||||
loadingPeopleVehiclesGoodsFilePath: value.loadingPeopleVehiclesGoodsFilePath.data.fullFilePath,
|
||||
unloadingLadingBillFilePath: value.unloadingLadingBillFilePath.data.fullFilePath,
|
||||
unloadingPeopleVehiclesGoodsFilePath: value.unloadingPeopleVehiclesGoodsFilePath.data.fullFilePath,
|
||||
id: this.i?.id,
|
||||
loadingLadingBillFilePath: value?.loadingLadingBillFilePath?.data?.fullFilePath,
|
||||
loadingPeopleVehiclesGoodsFilePath: value?.loadingPeopleVehiclesGoodsFilePath?.data?.fullFilePath,
|
||||
unloadingLadingBillFilePath: value?.unloadingLadingBillFilePath?.data?.fullFilePath,
|
||||
unloadingPeopleVehiclesGoodsFilePath: value?.unloadingPeopleVehiclesGoodsFilePath?.data?.fullFilePath,
|
||||
}
|
||||
console.log(params)
|
||||
this.service.request(this.service.$api_get_updateBillExamine, params).subscribe((res) => {
|
||||
|
||||
Reference in New Issue
Block a user