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

@ -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]="'请输入联系人姓名'">

View File

@ -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;

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) {

View File

@ -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;