This commit is contained in:
wangshiming
2022-03-04 09:47:58 +08:00
parent 43a9d48930
commit 1f806432d1

View File

@ -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)