This commit is contained in:
wangshiming
2022-02-17 11:09:46 +08:00
parent a10aebd083
commit 51832918a0
2 changed files with 41 additions and 11 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-24 15:54:08 * @Date : 2021-12-24 15:54:08
* @LastEditors : Shiming * @LastEditors : Shiming
* @LastEditTime : 2022-02-14 14:39:47 * @LastEditTime : 2022-02-17 10:53:59
* @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\network-freight.component.html * @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\components\\network-freight\\network-freight.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved. * Copyright (C) 2022 huzhenhong. All rights reserved.
--> -->
@ -55,6 +55,36 @@
[loading]="service.http.loading" [loading]="service.http.loading"
(change)="stChange($event)" (change)="stChange($event)"
> >
<ng-template st-row="costRate" let-item let-index="index">
<div>{{item?.costRate ? item?.costRate + '%' : '' }}</div>
</ng-template>
<ng-template st-row="goodsSurchargeRatio" let-item let-index="index">
<div>货源单:{{item?.goodsSurchargeRatio ? item?.goodsSurchargeRatio + '%' : '' }}</div>
<div>合同单:{{item?.contractSurchargeRatio ? item?.contractSurchargeRatio + '%' : '' }}</div>
</ng-template>
<ng-template st-row="ticketEnable" let-item let-index="index">
<div>{{item?.ticketEnable ? '已开启' : '未开启' }}</div>
</ng-template>
<ng-template st-row="insuranceEnable" let-item let-index="index">
<div>{{item?.insuranceEnable ? '已开启' : '未开启' }}</div>
</ng-template>
<ng-template st-row="pinganEnable" let-item let-index="index">
<div>{{item?.pinganEnable ? '已开启' : '未开启' }}</div>
</ng-template>
<ng-template st-row="pufaEnable" let-item let-index="index">
<div>{{item?.pufaEnable ? '已开启' : '未开启' }}</div>
</ng-template>
<ng-template st-row="pinganAccountEnable" let-item let-index="index">
<div>{{item?.pinganAccountEnable ? '已开启' : '未开启' }}</div>
<div>{{item?.pinganAccountEnable ? item?.pinganAccount : '' }}</div>
</ng-template>
<ng-template st-row="pufaAccountEnable" let-item let-index="index">
<div>{{item?.pufaAccountEnable ? '已开启' : '未开启' }}</div>
<div>{{item?.pufaAccountEnable ? item?.pufaAccount : '' }}</div>
</ng-template>
<ng-template st-row="invoiceEnable" let-item let-index="index">
<div>{{item?.invoiceEnable ? '已开启' : '未开启' }}</div>
</ng-template>
<ng-template st-row="bankName" let-item let-index="index"> <ng-template st-row="bankName" let-item let-index="index">
<a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a> <a href="javascript:;" (click)="setMakeInvoice()">开通子账户</a>
</ng-template> </ng-template>

View File

@ -47,51 +47,51 @@ export class NetworkFreightComponent implements OnInit {
{ {
title: '成立日期', title: '成立日期',
width: '150px', width: '150px',
index: 'createTime' index: 'enterpriseRegistrationTime'
}, },
{ {
title: '成本费率', title: '成本费率',
width: '150px', width: '150px',
render: 'electronicInvoiceAccount' render: 'costRate'
}, },
{ {
title: '附加费率', title: '附加费率',
width: '150px', width: '150px',
render: 'etcAccount' render: 'goodsSurchargeRatio'
}, },
{ {
title: '云开票', title: '云开票',
width: '150px', width: '150px',
render: 'electronicContractAccount' render: 'ticketEnable'
}, },
{ {
title: '保险', title: '保险',
width: '150px', width: '150px',
render: 'electronicContractAccount' render: 'insuranceEnable'
}, },
{ {
title: '平安银行', title: '平安银行',
width: '150px', width: '150px',
render: 'bankName' }, render: 'pinganEnable' },
{ {
title: '浦发银行', title: '浦发银行',
width: '150px', width: '150px',
render: 'virtualAccount' render: 'pufaEnable'
}, },
{ {
title: '平安电子账户', title: '平安电子账户',
width: '150px', width: '150px',
render: 'virtualAccount' render: 'pinganAccountEnable'
}, },
{ {
title: '浦发电子账户', title: '浦发电子账户',
width: '150px', width: '150px',
render: 'virtualAccount' render: 'pufaAccountEnable'
}, },
{ {
title: '开票开关', title: '开票开关',
width: '150px', width: '150px',
render: 'virtualAccount' render: 'invoiceEnable'
}, },
{ {
title: '操作', title: '操作',