This commit is contained in:
weiyu
2022-04-27 17:32:50 +08:00
parent 6cb9c468de
commit 4ec554ce0c
2 changed files with 27 additions and 10 deletions

View File

@ -33,5 +33,8 @@
<span *ngIf="item.sts === '6'">已撤销</span> <span *ngIf="item.sts === '6'">已撤销</span>
<span *ngIf="item.sts === '7'">已作废</span> <span *ngIf="item.sts === '7'">已作废</span>
</ng-template> </ng-template>
<ng-template st-row="serviceType" let-item let-index="index">
<span>{{item.billTypeLabel + item.serviceTypeLabel}}</span>
</ng-template>
</st> </st>
</nz-card> </nz-card>

View File

@ -77,14 +77,28 @@ export class BillingOrderComponent implements OnInit {
serviceType: { serviceType: {
title: '服务类型', title: '服务类型',
type: 'string', type: 'string',
enum: [{
label: '全部',
value: ''
},{
label: '整车抢单',
value: 1
},{
label: '整车指派',
value: 2
},{
label: '大宗抢单',
value: 3
},{
label: '大宗指派',
value: 4
},{
label: '结算单',
value: 5
}],
ui: { ui: {
widget: 'dict-select', widget: 'select',
params: { dictKey: 'service:type' }, }
containsAllLabel: true,
visibleIf: {
_$expand: (value: boolean) => value
}
} as SFSelectWidgetSchema
}, },
shipperAppUserName: { shipperAppUserName: {
type: 'string', type: 'string',
@ -179,7 +193,7 @@ export class BillingOrderComponent implements OnInit {
private initST(): STColumn[] { private initST(): STColumn[] {
return [ return [
{ title: '订单号', index: 'billCode', type:'link', className: 'text-center', width: 180, click: _record => this.routeTo(_record) }, { title: '订单号', index: 'billCode', type: 'link', className: 'text-center', width: 180, click: _record => this.routeTo(_record) },
{ title: '运单号', index: 'wayBillCode', width: 180, className: 'text-center' }, { title: '运单号', index: 'wayBillCode', width: 180, className: 'text-center' },
{ title: '银行类型', index: 'bankTypeLabel', render: 'bankType', width: 100, className: 'text-center' }, { title: '银行类型', index: 'bankTypeLabel', render: 'bankType', width: 100, className: 'text-center' },
{ title: '网络货运人', index: 'enterpriseInfoName', width: 220, className: 'text-center' }, { title: '网络货运人', index: 'enterpriseInfoName', width: 220, className: 'text-center' },
@ -234,7 +248,7 @@ export class BillingOrderComponent implements OnInit {
{ title: '所属项目', index: 'enterpriseProjectName', width: '180px', className: 'text-center', }, { title: '所属项目', index: 'enterpriseProjectName', width: '180px', className: 'text-center', },
{ {
title: '服务类型', title: '服务类型',
index: 'serviceTypeLabel', render: 'serviceType',
width: '120px', width: '120px',
className: 'text-center' className: 'text-center'
}, },
@ -244,7 +258,7 @@ export class BillingOrderComponent implements OnInit {
{ title: '车牌号', index: 'carNo', className: 'text-center', width: '120px' }, { title: '车牌号', index: 'carNo', className: 'text-center', width: '120px' },
{ {
title: '承运司机', title: '承运司机',
index:'driverName', index: 'driverName',
className: 'text-center', className: 'text-center',
width: '120px', width: '120px',
}, },