fix bug
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
</nz-card>
|
||||
|
||||
<nz-card>
|
||||
<div class="card-title"
|
||||
<div class="card-title"x
|
||||
>装卸货信息<span class="tip-font">预计公里数:{{ totalDistance }}km,预计行程耗时:{{ totalTime }}小时</span></div
|
||||
>
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
</div>
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
<nz-form-item>
|
||||
<nz-form-item >
|
||||
<nz-form-label nzRequired>联系人</nz-form-label>
|
||||
<div style="display: flex;width: 86%">
|
||||
<nz-form-control [nzErrorTip]="'请输入联系人姓名'">
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
nz-date-picker {
|
||||
width: 100%;
|
||||
width: 94.3%;
|
||||
}
|
||||
}
|
||||
i {
|
||||
@ -37,10 +37,6 @@
|
||||
:hover{color: #52acff;}
|
||||
}
|
||||
|
||||
#container {
|
||||
width: 300px;
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
input[type='number'] {
|
||||
-moz-appearance: textfield;
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -760,7 +760,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
|
||||
this.sf7.setValue('/subtotal', subtotal);
|
||||
this.sf7.setValue('/total', subtotal + res.surcharge);
|
||||
this.service
|
||||
.request(this.service.$api_getAdditionalRate + `?shipperId=${this?.sf1.value?.shipperAppUserId}&enterpriseInfoId=${this?.sf1.value?.enterpriseInfoName}&resourcetype='1'`)
|
||||
.request(this.service.$api_getAdditionalRate + `?shipperId=${this?.sf1.value?.shipperAppUserId || ''}&enterpriseInfoId=${this?.sf1.value?.enterpriseInfoName || ''}&resourcetype='1'`)
|
||||
.subscribe(res => {
|
||||
if (res) {
|
||||
this.currentRate = res.rate * 100;
|
||||
|
||||
Reference in New Issue
Block a user