fix bug
This commit is contained in:
@ -735,7 +735,7 @@ export class CarSettleCarauthComponent implements OnInit {
|
||||
submitForm() {
|
||||
const params: any = {
|
||||
appUserId: this.i.appUserId,
|
||||
...this.sf.value,
|
||||
...this.sf?.value,
|
||||
bindType: this.i.bindType
|
||||
};
|
||||
params.carFrontPhoto = this.detailData.carFrontPhoto;
|
||||
|
||||
@ -116,11 +116,11 @@ export class VehicleComponentsListEditComponent implements OnInit {
|
||||
this.modal.destroy();
|
||||
}
|
||||
sure() {
|
||||
console.log(this.sf.value);
|
||||
console.log(this.sf?.value);
|
||||
|
||||
const params ={
|
||||
carProtocal: this.sf.value.carProtocal,
|
||||
carProtocalWatermark: this.sf.value.carProtocalWatermark,
|
||||
carProtocal: this.sf?.value.carProtocal,
|
||||
carProtocalWatermark: this.sf?.value.carProtocalWatermark,
|
||||
id: this.i.id
|
||||
}
|
||||
this.service.request(this.service.$api_get_upLoadCarProtocal, params).subscribe((res) => {
|
||||
|
||||
@ -26,7 +26,7 @@ export class VehicleComponentsListComponent implements OnInit {
|
||||
*/
|
||||
get reqParams() {
|
||||
const params: any = {
|
||||
...(this.sf && this.sf.value)
|
||||
...(this.sf && this.sf?.value)
|
||||
};
|
||||
if (this.sf?.value.effectiveDate) {
|
||||
params.effectiveDateStart = this.sf?.value.effectiveDate[0];
|
||||
|
||||
Reference in New Issue
Block a user