This commit is contained in:
wangshiming
2022-02-17 15:41:20 +08:00
parent b9495a8753
commit 4a23973789
2 changed files with 11 additions and 9 deletions

View File

@ -634,14 +634,14 @@ export class CarSettleCarauthComponent implements OnInit {
params.certificatePhotoFront = this.detailData.certificatePhotoFront;
params.certificatePhotoBack = this.detailData.certificatePhotoBack;
params.roadTransportPhoto = this.detailData.roadTransportPhoto;
params.carFrontPhotoWatermark = this.sf.value.carFrontPhotoWatermark.data.fullFilePath
params.carProtocalWatermark = this.sf.value.carProtocalWatermark.data.fullFilePath
params.certificatePhotoBackWatermark = this.sf.value.certificatePhotoBackWatermark.data.fullFilePath
params.certificatePhotoFrontWatermark = this.sf.value.certificatePhotoFrontWatermark.data.fullFilePath
params.roadTransportPhotoWatermark = this.sf.value.roadTransportPhotoWatermark.data.fullFilePath
params.carFrontPhotoWatermark = this.sf.value.carFrontPhotoWatermark?.data?.fullFilePath || this.sf.value.carFrontPhotoWatermark
params.carProtocalWatermark = this.sf.value.carProtocalWatermark?.data?.fullFilePath || this.sf.value.carProtocalWatermark
params.certificatePhotoBackWatermark = this.sf.value.certificatePhotoBackWatermark?.data?.fullFilePath || this.sf.value.certificatePhotoBackWatermark
params.certificatePhotoFrontWatermark = this.sf.value.certificatePhotoFrontWatermark?.data?.fullFilePath || this.sf.value.certificatePhotoFrontWatermark
params.roadTransportPhotoWatermark = this.sf.value.roadTransportPhotoWatermark?.data?.fullFilePath || this.sf.value.roadTransportPhotoWatermark
delete params.titleA;
delete params.titleB;
this.service.request(this.service.$api_saveUpdateShipperCar, params).subscribe(res => {
this.service.request(this.service.$api_addOrUpdateCarLicenseInfo, params).subscribe(res => {
if (res) {
this.service.msgSrv.success('添加成功');
this.modal.close(true);