fix bug
This commit is contained in:
@ -78,14 +78,14 @@ export class VehicleModifyRateComponent implements OnInit {
|
||||
}
|
||||
|
||||
save(value: any): void {
|
||||
if (!this.sf.value?.additionalRate) {
|
||||
if (!this.sf?.value?.additionalRate) {
|
||||
this.service.msgSrv.warning('请填写附加费!');
|
||||
return;
|
||||
}
|
||||
console.log(this.sf.value);
|
||||
console.log(this.sf?.value);
|
||||
const params = {
|
||||
ids: this.data?.ids,
|
||||
...this.sf.value
|
||||
...this.sf?.value
|
||||
};
|
||||
console.log(params);
|
||||
this.service.request(this.service.$api_set_updateAdditionalRateBatch, params).subscribe((res: any) => {
|
||||
|
||||
Reference in New Issue
Block a user