This commit is contained in:
wangshiming
2022-03-01 19:16:05 +08:00
parent 36c38de600
commit 9239beba33
4 changed files with 7 additions and 11 deletions

View File

@ -716,8 +716,8 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
const oilCardPay = 0;
const subtotal = prePay + toPay + receiptPay;
const params = {
shipperId: this.envCache?.enterpriseId,
enterpriseInfoId: this.envCache?.networkTransporterId,
shipperId: this?.sf1.value?.shipperAppUserId,
enterpriseInfoId: this?.sf1.value?.enterpriseInfoName,
totalFreight: subtotal,
fuelCardAmount: oilCardPay,
resourcetype: '1'
@ -732,7 +732,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit {
this.service
.request(
this.service.$api_getAdditionalRate +
`?shipperId=${this.envCache?.enterpriseId}&enterpriseInfoId=${this?.enterpriseProjectIds}&resourcetype='1'`
`?shipperId=${this?.sf1.value?.shipperAppUserId || ''}&enterpriseInfoId=${this?.sf1.value?.enterpriseInfoName || ''}&resourcetype='1'`
)
.subscribe(res => {
if (res) {