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