This commit is contained in:
wangshiming
2022-03-07 16:23:33 +08:00
parent ef1f8e98e7
commit e61ba7f25e
4 changed files with 16 additions and 24 deletions

View File

@ -698,7 +698,9 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
...this.sf1.value,
...this.sf7.value,
unLoadingPlaceDTOList: LoadingList,
goodsInfoDTOList: goodsInfoDTOList
goodsInfoDTOList: goodsInfoDTOList,
estimatedKilometers: this.totalDistance,
estimatedTravelTime: this.totalTime,
};
params.freightPrice = this.totalFees;
const modalRef = this.modalService.create({
@ -885,6 +887,8 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
if (res?.enterpriseProjectId) {
this.enterpriseProjectIds = res.enterpriseProjectId;
}
this.totalDistance = res?.estimatedKilometers;
this.totalTime = res?.estimatedTravelTime;
this.sf1data = {
dispatchPhone: res?.dispatchPhone,
dispatchName: res?.dispatchName,