edit
This commit is contained in:
@ -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',
|
||||||
|
|||||||
@ -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;"
|
||||||
|
|||||||
Reference in New Issue
Block a user