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