fix bug
This commit is contained in:
@ -422,7 +422,10 @@ export class VehicleSureArriveComponent implements OnInit {
|
||||
};
|
||||
}
|
||||
save(value: any): void {
|
||||
console.log('444');
|
||||
if(this.Status === 1) {
|
||||
console.log('555');
|
||||
|
||||
if(!value.time) {
|
||||
this.service.msgSrv.warning('必填项为空!')
|
||||
return;
|
||||
@ -449,11 +452,11 @@ export class VehicleSureArriveComponent implements OnInit {
|
||||
console.log(this.i)
|
||||
const params = {
|
||||
id: this.i?.id,
|
||||
imgUrl1: value.imgUrl1.data.fullFilePath,
|
||||
imgUrl2: value.imgUrl2.data.fullFilePath,
|
||||
time: value.time,
|
||||
volume: this.data.volume,
|
||||
weight: this.data.weight
|
||||
imgUrl1: value?.imgUrl1?.data?.fullFilePath,
|
||||
imgUrl2: value?.imgUrl2?.data?.fullFilePath,
|
||||
time: value?.time,
|
||||
volume: this.data?.volume,
|
||||
weight: this.data?.weight
|
||||
}
|
||||
params.time = this.datePipe.transform(value.time, 'yyyy-MM-dd HH:mm:ss ')
|
||||
console.log(params)
|
||||
|
||||
Reference in New Issue
Block a user