fix bug
This commit is contained in:
@ -567,12 +567,12 @@ export class CarSettleAddDriverComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
submitForm() {
|
submitForm() {
|
||||||
const items: any = this.sf.value;
|
const items: any = this.sf.value;
|
||||||
items.certificatePhotoFrontWatermark = this.sf.value?.certificatePhotoFrontWatermark.data.fullFilePath;
|
items.certificatePhotoFrontWatermark = this.sf.value?.certificatePhotoFrontWatermark?.data?.fullFilePath || this.sf.value?.certificatePhotoFrontWatermark;
|
||||||
items.certificatePhotoBackWatermark = this.sf.value?.certificatePhotoBackWatermark.data.fullFilePath;
|
items.certificatePhotoBackWatermark = this.sf.value?.certificatePhotoBackWatermark?.data?.fullFilePath || this.sf.value?.certificatePhotoBackWatermark;
|
||||||
const items2: any = this.sf1.value;
|
const items2: any = this.sf1.value;
|
||||||
items2.certificatePhotoWatermark = this.sf1.value?.certificatePhotoWatermark.data.fullFilePath;
|
items2.certificatePhotoWatermark = this.sf1.value?.certificatePhotoWatermark?.data?.fullFilePath || this.sf1.value?.certificatePhotoWatermark;
|
||||||
const items3: any = this.sf2.value;
|
const items3: any = this.sf2.value;
|
||||||
items3.certificatePhotoWatermark = this.sf2.value?.certificatePhotoWatermark.data.fullFilePath;
|
items3.certificatePhotoWatermark = this.sf2.value?.certificatePhotoWatermark?.data?.fullFilePath || this.sf2.value?.certificatePhotoWatermark;
|
||||||
const params: any = {
|
const params: any = {
|
||||||
source: 2,
|
source: 2,
|
||||||
mobile: this.sf.value.mobile,
|
mobile: this.sf.value.mobile,
|
||||||
|
|||||||
Reference in New Issue
Block a user