This commit is contained in:
wangshiming
2022-02-14 13:32:52 +08:00
parent 01cd9dbbde
commit f8cc73fb51
4 changed files with 35 additions and 36 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-02-10 10:40:17 * @LastEditTime : 2022-02-14 13:29:21
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\components\\list\\list.component.html * @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\components\\list\\list.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
@ -60,27 +60,24 @@
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }" [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
[loading]="service.http.loading" [loading]="service.http.loading"
> >
<ng-template st-row="freightPrice" let-item let-index="index"> <ng-template st-row="resourceCode" let-item let-index="index">
{{ item.freightPrice | currency}} {{ item.resourceCode | currency}}
</ng-template> </ng-template>
<ng-template st-row="loadingTime" let-item let-index="index"> <ng-template st-row="practicalPremium" let-item let-index="index">
<div *ngIf="item?.loadPlanTime">装 | {{item?.loadPlanTime}}</div> {{ item.practicalPremium | currency}}
<div *ngIf="item?.unloadPlanTime">卸 | {{item?.unloadPlanTime}}</div> </ng-template>
<ng-template st-row="premium" let-item let-index="index">
{{ item.premium | currency}}
</ng-template> </ng-template>
<ng-template st-row="driverName" let-item let-index="index"> <ng-template st-row="driverName" let-item let-index="index">
<div> <div>
{{item?.driverName}}/{{item?.driverPhone}}/{{item?.carNo}} {{item?.driverName}}/{{item?.driverTelephone}}/{{item?.carNo}}
</div> </div>
</ng-template> </ng-template>
<ng-template st-row="payeeName" let-item let-index="index"> <ng-template st-row="insureCode" let-item let-index="index">
<div>{{item.insureCode}}</div>
<div> <div>
{{item?.payeeName}}/{{item?.payeePhone}} <span>{{item?.insureStatusLabel}}</span>
</div>
</ng-template>
<ng-template st-row="billCode" let-item let-index="index">
<a [routerLink]="'/order-management/bulk-detail/'+item.id">{{item.billCode}}</a>
<div>
<span>{{item?.billStatusLabel}}</span>
</div> </div>
</ng-template> </ng-template>
<ng-template st-row="goodsName" let-item let-index="index"> <ng-template st-row="goodsName" let-item let-index="index">
@ -92,7 +89,7 @@
</div> </div>
</ng-template> </ng-template>
<ng-template st-row="mybidDetailInfo" let-item let-index="index"> <ng-template st-row="mybidDetailInfo" let-item let-index="index">
<div *ngIf="item.mybidDetailInfo.length > 0"> <div *ngIf="item.mybidDetailInfo?.length > 0">
<p *ngFor="let data of item.mybidDetailInfo"> <p *ngFor="let data of item.mybidDetailInfo">
{{ data.expenseName }}{{ data.price | currency }} {{ data.expenseName }}{{ data.price | currency }}
<span *ngIf="data.paymentStatusLabel" style="color: #f59a63">{{ data.paymentStatusLabel }}</span> <span *ngIf="data.paymentStatusLabel" style="color: #f59a63">{{ data.paymentStatusLabel }}</span>

View File

@ -328,25 +328,25 @@ export class insuranceManagementListComponent implements OnInit {
width: '180px', width: '180px',
fixed: 'left', fixed: 'left',
className: 'text-left', className: 'text-left',
render: 'billCode' render: 'insureCode'
}, },
{ {
title: '保单号', title: '保单号',
width: '250px', width: '250px',
className: 'text-right', className: 'text-right',
render: 'mybidDetailInfo' render: 'policyNo'
}, },
{ title: '类型', index: 'enterpriseInfoName', width: '220px', className: 'text-left' }, { title: '类型', index: 'insureTypeLabel', width: '220px', className: 'text-left' },
{ title: '始发地', index: 'shipperAppUserName', width: '220px', className: 'text-left' }, { title: '始发地', index: 'startAddress', width: '220px', className: 'text-left' },
{ title: '目的地', index: 'enterpriseProjectName', width: '220px', className: 'text-left' }, { title: '目的地', index: 'endAddress', width: '220px', className: 'text-left' },
{ title: '距离', index: 'wayBillCode', width: '180px', className: 'text-left' }, { title: '距离', index: 'distance', width: '180px', className: 'text-left' },
{ title: '保额(元)', index: 'resourceCode', width: '180px', className: 'text-left' }, { title: '保额(元)', index: 'resourceCode', width: '180px', className: 'text-left' },
{ title: '保费(元)', index: 'loadingAddressArr', width: '180px', className: 'text-left' }, { title: '保费(元)', render: 'premium', width: '180px', className: 'text-left' },
{ {
title: '实际保费(元)', title: '实际保费(元)',
className: 'text-left', className: 'text-left',
width: '180px', width: '180px',
index: 'unloadingAddressArr' render: 'practicalPremium'
}, },
{ {
title: '货物信息', title: '货物信息',
@ -358,7 +358,7 @@ export class insuranceManagementListComponent implements OnInit {
title: '车牌号', title: '车牌号',
className: 'text-right', className: 'text-right',
width: '180px', width: '180px',
render: 'freightPrice' render: 'driverName'
}, },
{ {
title: '关联订单号', title: '关联订单号',
@ -369,46 +369,44 @@ export class insuranceManagementListComponent implements OnInit {
{ {
title: '货源编号', title: '货源编号',
className: 'text-right', className: 'text-right',
index: 'settlementWeight', index: 'resourceCode',
width: '150px' width: '150px'
}, },
{ {
title: '网络货运人', title: '网络货运人',
className: 'text-left', className: 'text-left',
width: '250px', width: '250px',
index: 'driverName', index: 'enterpriseInfoName',
render: 'driverName'
}, },
{ {
title: '货主', title: '货主',
className: 'text-left', className: 'text-left',
width: '180px', width: '180px',
index: 'payeeName', index: 'shipperAppUserName',
render: 'payeeName'
}, },
{ {
title: '所属项目', title: '所属项目',
width: '200px', width: '200px',
className: 'text-left', className: 'text-left',
render: 'loadingTime' render: 'enterpriseProjectName'
}, },
{ {
title: '投保时间', title: '投保时间',
width: '180px', width: '180px',
className: 'text-left', className: 'text-left',
index: 'createTime' index: 'insureTime'
}, },
{ {
title: '生效时间', title: '生效时间',
width: '180px', width: '180px',
className: 'text-left', className: 'text-left',
index: 'createTime' index: 'effectTime'
}, },
{ {
title: '录单时间', title: '录单时间',
width: '180px', width: '180px',
className: 'text-left', className: 'text-left',
index: 'createTime' index: 'recordTime'
}, },
{ {
title: '创建时间', title: '创建时间',
@ -420,7 +418,7 @@ export class insuranceManagementListComponent implements OnInit {
title: '失败原因', title: '失败原因',
width: '180px', width: '180px',
className: 'text-left', className: 'text-left',
index: 'createTime' index: 'processMessage'
}, },
{ {
title: '操作', title: '操作',

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-23 13:39:58 * @Date : 2021-12-23 13:39:58
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-01-20 20:28:15 * @LastEditTime : 2022-02-14 10:33:38
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail-change\\vehicle-detail-change.component.html * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail-change\\vehicle-detail-change.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->

View File

@ -153,6 +153,10 @@ export class InsuranceTableComponent implements OnInit {
console.log(this.data); console.log(this.data);
console.log(this.minInsurancePrice); console.log(this.minInsurancePrice);
console.log(this.sf.value); console.log(this.sf.value);
if(!this.minInsurancePrice) {
this.service.msgSrv.error('必填项为空!')
return
}
let params= { let params= {
minInsurancePrice: this.minInsurancePrice, minInsurancePrice: this.minInsurancePrice,
insuranceConfigDTOS: this.data insuranceConfigDTOS: this.data