This commit is contained in:
Taric Xin
2022-02-17 20:24:06 +08:00
parent b729574342
commit 7a24657bc1
2 changed files with 17 additions and 5 deletions

View File

@ -93,10 +93,22 @@ export class FreightConfigComponent implements OnInit {
initST(): STColumn[] { initST(): STColumn[] {
return [ return [
// { title: '', type: 'checkbox', className: 'text-center' }, // { title: '', type: 'checkbox', className: 'text-center' },
{ title: '企业名称', className: 'text-center', index: 'enterpriseName' }, { title: '企业名称', className: 'text-center', index: 'enterpriseName', width: 160 },
{ title: '网络货运人', className: 'text-center', index: 'netTranName' }, { title: '网络货运人', className: 'text-center', index: 'netTranName', width: 160 },
{ title: '合同单费率', className: 'text-center', index: 'contractSurchargeRatio' }, {
{ title: '货源单费率', className: 'text-center', index: 'goodsSurchargeRatio' }, title: '合同单费率',
className: 'text-right',
index: 'contractSurchargeRatio',
width: 140,
format: item => `${item.contractSurchargeRatio}%`
},
{
title: '货源单费率',
className: 'text-right',
index: 'goodsSurchargeRatio',
width: 140,
format: item => `${item.goodsSurchargeRatio}%`
},
{ {
title: '合同单业务量(元)', title: '合同单业务量(元)',
index: 'contractQuota', index: 'contractQuota',

View File

@ -24,7 +24,7 @@
<h2 style="font-weight: 800;">{{selectedTab?.name}}</h2> <h2 style="font-weight: 800;">{{selectedTab?.name}}</h2>
<div nz-row nzGutter="8"> <div nz-row nzGutter="8">
<div nz-col nzSpan="24" se-container [labelWidth]="labelWidth"> <div nz-col nzSpan="24" se-container [labelWidth]="labelWidth">
<se [label]="item.name" *ngFor="let item of configList" col="1"> <se [label]="item.name" *ngFor="let item of configList" col="1" [required]="item.requiredField" >
<ng-container [ngSwitch]="item.itemType"> <ng-container [ngSwitch]="item.itemType">
<ng-container *ngSwitchCase="1"> <ng-container *ngSwitchCase="1">
<nz-input-group [nzAddOnAfter]="item.remark?.afterLable" style="width: 155px;" <nz-input-group [nzAddOnAfter]="item.remark?.afterLable" style="width: 155px;"