车辆接口更新

This commit is contained in:
wangshiming
2022-01-18 19:50:58 +08:00
parent 1f4d59c56e
commit 9f61585a67
3 changed files with 55 additions and 30 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2022-01-12 10:52:50 * @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-01-18 18:45:48 * @LastEditTime : 2022-01-18 19:49:23
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.html * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
@ -68,9 +68,21 @@
<p>装货时间:{{item?.loadTime}}</p> <p>装货时间:{{item?.loadTime}}</p>
<p>卸货时间:{{item?.unloadTime}}</p> <p>卸货时间:{{item?.unloadTime}}</p>
</ng-template> </ng-template>
<ng-template st-row="billExpenseDetailVOList" let-item let-index="index"> <ng-template st-row="driverName" let-item let-index="index">
<div *ngFor="let i of item?.billExpenseDetailVOList"> <div>
<p>{{i?.costName}}:¥{{i?.price}}</p> {{item?.driverName}}/{{item?.driverPhoneNumber}}
</div>
</ng-template>
<ng-template st-row="payeeName" let-item let-index="index">
<div>
{{item?.payeeName}}/{{item?.payeePhoneNumber}}
</div>
</ng-template>
<ng-template st-row="freightDetails" let-item let-index="index">
<div *ngIf="item.freightDetails.length > 0">
<p *ngFor="let data of item.freightDetails">
{{ data.expenseName }}{{ data.price | currency }}
</p>
</div> </div>
</ng-template> </ng-template>
<ng-template st-row="goodsInfoVOList" let-item let-index="index"> <ng-template st-row="goodsInfoVOList" let-item let-index="index">

View File

@ -0,0 +1,13 @@
:host {
p{
margin-bottom: 0
}
.left_btn {
width: 50px;
height: 32px;
padding-left: 8px;
line-height:32px;
background-color: #d7d7d7;
}
}

View File

@ -225,75 +225,75 @@ export class OrderManagementRiskComponent implements OnInit {
{ {
title: '申诉状态', title: '申诉状态',
width: '100px', width: '100px',
className: 'text-center', className: 'text-left',
index: 'representationsStatusLabel' index: 'representationsStatusLabel'
}, },
{ {
title: '订单号', title: '订单号',
width: '100px', width: '200px',
className: 'text-center', className: 'text-left',
render: 'billCode' render: 'billCode'
}, },
{ {
title: '异常信息', title: '异常信息',
width: '100px', width: '200px',
className: 'text-center', className: 'text-left',
index: 'abnormalCause' index: 'abnormalCause'
}, },
{ title: '托运人', index: 'shipperName', width: '120px', className: 'text-center' }, { title: '托运人', index: 'shipperName', width: '200px', className: 'text-left' },
{ title: '网络货运人', index: 'enterpriseInfoName', width: '120px', className: 'text-center' }, { title: '网络货运人', index: 'enterpriseInfoName', width: '220px', className: 'text-left' },
{ {
title: '运费明细', title: '运费明细',
className: 'text-center', className: 'text-right',
width: '120px', width: '200px',
render: 'billExpenseDetailVOList' render: 'freightDetails'
}, },
{ {
title: '服务类型', title: '服务类型',
className: 'text-center', className: 'text-left',
width: '120px', width: '100px',
index: 'serviceTypeLabel' index: 'serviceTypeLabel'
}, },
{ {
title: '装货地', title: '装货地',
className: 'text-center', className: 'text-left',
width: '180px', width: '200px',
index: 'loadingPlace' index: 'loadingPlace'
}, },
{ {
title: '卸货地', title: '卸货地',
className: 'text-center', className: 'text-left',
width: '180px', width: '200px',
index: 'dischargePlace' index: 'dischargePlace'
}, },
{ {
title: '货物信息', title: '货物信息',
className: 'text-center', className: 'text-left',
width: '180px', width: '200px',
render: 'goodsInfoVOList' render: 'goodsInfoVOList'
}, },
{ {
title: '承运司机', title: '承运司机',
className: 'text-center', className: 'text-left',
width: '120px', width: '200px',
render: 'driverName' render: 'driverName'
}, },
{ {
title: '收款人', title: '收款人',
className: 'text-center', className: 'text-left',
width: '120px', width: '200px',
render: 'payeeName' render: 'payeeName'
}, },
{ {
title: '运输信息', title: '运输信息',
className: 'text-center', className: 'text-left',
width: '120px', width: '200px',
render: 'timeer' render: 'timeer'
}, },
{ {
title: '操作', title: '操作',
fixed: 'right', fixed: 'right',
width: '200px', width: '90px',
className: 'text-left', className: 'text-left',
buttons: [ buttons: [
{ {
@ -302,7 +302,7 @@ export class OrderManagementRiskComponent implements OnInit {
iif: item => item.representationsStatus == '1' || item.representationsStatus == '2' , iif: item => item.representationsStatus == '1' || item.representationsStatus == '2' ,
}, },
{ {
text: '详情', text: '详情 ',
click: _record => this.viewEvaluate(_record), click: _record => this.viewEvaluate(_record),
} }
] ]