fix bug
This commit is contained in:
@ -424,7 +424,7 @@ export class VehicleSureArriveComponent implements OnInit {
|
||||
save(value: any): void {
|
||||
if(this.Status === 1) {
|
||||
if(!value.time) {
|
||||
this.service.msgSrv.warning('必填项为空!')
|
||||
this.service.msgSrv.warning('卸货时间为空!')
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
@ -442,7 +442,7 @@ export class VehicleSureArriveComponent implements OnInit {
|
||||
})
|
||||
} else {
|
||||
if(!value.time ) {
|
||||
this.service.msgSrv.warning('必填项为空!')
|
||||
this.service.msgSrv.warning('卸货时间为空!')
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
|
||||
@ -265,7 +265,7 @@ export class VehicleSureDepartComponent implements OnInit {
|
||||
save(value: any): void {
|
||||
if(this.Status === 1) {
|
||||
if(!value?.time) {
|
||||
this.service.msgSrv.warning('必填项为空!')
|
||||
this.service.msgSrv.warning('装货时间为空!')
|
||||
return;
|
||||
}
|
||||
const params = {
|
||||
@ -283,7 +283,7 @@ export class VehicleSureDepartComponent implements OnInit {
|
||||
})
|
||||
} else {
|
||||
if(!value?.time) {
|
||||
this.service.msgSrv.warning('必填项为空!')
|
||||
this.service.msgSrv.warning('装货时间为空!')
|
||||
return;
|
||||
}
|
||||
console.log(value)
|
||||
|
||||
Reference in New Issue
Block a user