车辆对接

This commit is contained in:
wangshiming
2022-01-13 15:21:30 +08:00
parent a917c83275
commit 5bf20e71c1
6 changed files with 81 additions and 82 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: your name
* @Date: 2021-12-22 11:28:28
* @LastEditTime: 2022-01-05 15:45:01
* @LastEditTime: 2022-01-13 15:02:42
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \tms-obc-web\src\app\routes\supply-management\components\vehicle\vehicle.component.html
@ -57,8 +57,11 @@
<p>{{item.resourceTypeLabel}}{{item.serviceTypeLabel}}</p>
</ng-template>
<ng-template st-row="totalAmount" let-item let-index="index">
<!-- [nzPopoverContent]="contentTemplate" -->
<div class="mr-xs" nzPopoverTitle="Title" nz-popover>¥{{item.totalAmount}}
<div class="mr-xs" >{{item.totalAmount | currency}}
</div>
</ng-template>
<ng-template st-row="surcharge" let-item let-index="index">
<div class="mr-xs" >{{item.surcharge | currency}}
</div>
</ng-template>
<ng-template st-row="useCarDemand" let-item let-index="index">

View File

@ -358,75 +358,75 @@ export class SupplyManagementVehicleComponent implements OnInit {
{
title: '货源编号',
width: '180px',
className: 'text-center',
className: 'text-left',
render: 'resourceCode'
},
{
title: '货主',
index: 'shipperAppUserName',
width: '180px',
className: 'text-center' },
className: 'text-left' },
{
title: '项目名称',
index: 'enterpriseProjectName',
width: '180px',
className: 'text-center'
className: 'text-left'
},
{
title: '装货地',
index: 'loadingAddressArr',
width: '200px',
className: 'text-center'
className: 'text-left'
},
{
title: '卸货地',
index: 'unloadingAddressArr',
width: '200px',
className: 'text-center'
className: 'text-left'
},
{
title: '货物名称',
index: 'goodsName',
width: '150px',
className: 'text-center'
className: 'text-left'
},
{
title: '货物数量',
width: '200px',
index: 'goodsNumber',
className: 'text-center',
className: 'text-left',
format: item => item.goodsNumber.join('/')
},
{
title: '用车需求',
className: 'text-center',
width: '120px',
className: 'text-left',
width: '180px',
render: 'useCarDemand'
},
{
title: '总费用',
className: 'text-center',
className: 'text-right',
width: '120px',
index: 'totalAmount',
render: 'totalAmount'
},
{
title: '总运费',
width: '120px',
className: 'text-center',
width: '150px',
className: 'text-right',
index: 'totalAmount',
render: 'totalAmount'
},
{
title: '附加费',
className: 'text-center',
className: 'text-right',
width: '120px',
index: 'surcharge',
format: item => `${item.surcharge}`
render: 'surcharge'
},
{
title: '货源状态',
className: 'text-center',
className: 'text-left',
index: 'resourceStatus',
type: 'badge',
width: '120px',
@ -439,12 +439,12 @@ export class SupplyManagementVehicleComponent implements OnInit {
title: '创建时间',
width: '170px',
index: 'createTime',
className: 'text-center',
className: 'text-left',
type: 'date'
},
{
title: '审核状态',
className: 'text-center',
className: 'text-left',
index: 'auditStatus',
type: 'badge',
width: '170px',