This commit is contained in:
Taric Xin
2022-01-10 16:46:51 +08:00
parent 4fec082b18
commit df5a8b71bf
8 changed files with 72 additions and 42 deletions

View File

@ -32,16 +32,16 @@
</div>
</div>
<st #st [data]="service.$mock_url" [columns]="columns"
<st #st [data]="service.$api_get_apply_invoice_page" [columns]="columns"
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
[loading]="service.http.loading" [scroll]="{ x:'1200px',y: '370px' }" (change)="stChange($event)">
<ng-template st-row="call1No" let-item let-index="index" let-column="column">
张三<br>13812345678
{{item.driverName}}<br>{{item.driverTelephone}}
</ng-template>
<ng-template st-row="call1N2o" let-item let-index="index" let-column="column">
粤B88888<br>张三
{{item.licenseCarNo}}<br> {{item.licenseBelonging}}
</ng-template>
</st>
</nz-card>

View File

@ -80,7 +80,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
hidden: true
}
},
orderSn: {
wayBillCode: {
type: 'string',
title: '运单号',
ui: {
@ -88,7 +88,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
placeholder: '请输入'
}
},
orderS2n: {
billCode: {
type: 'string',
title: '订单号',
ui: {
@ -96,7 +96,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
placeholder: '请输入'
}
},
order2S2n: {
billType: {
type: 'string',
title: '订单类型',
ui: {
@ -105,7 +105,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
placeholder: '请选择'
}
},
orderSn1: {
driverName: {
type: 'string',
title: '司机姓名',
ui: {
@ -115,7 +115,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
}
},
ord0erSn1: {
driverPhone: {
type: 'string',
title: '司机手机',
ui: {
@ -125,7 +125,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
}
},
orderSn2: {
licenseCarNo: {
type: 'string',
title: '车牌号',
ui: {
@ -135,7 +135,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
}
},
orderS1n2: {
licenseBelonging: {
type: 'string',
title: '车辆所有人',
ui: {
@ -145,7 +145,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
}
},
orderS3: {
dischargePlace: {
type: 'string',
title: '卸货地',
ui: {
@ -156,7 +156,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
}
},
orderSn4: {
loadingPlace: {
type: 'string',
title: '装货地',
ui: {
@ -167,7 +167,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
}
}
},
orderSn5: {
shipperId: {
type: 'string',
title: '托运人',
enum: [{ label: '全部', value: '全部' }],
@ -200,19 +200,19 @@ export class ETCInvoicedRequestedComponent implements OnInit {
private initST(): STColumn[] {
return [
{ title: '', index: 'key', type: 'checkbox' },
{ title: '运单号', index: 'no' },
{ title: '订单号', index: 'no' },
{ title: '订单类型', index: 'no' },
{ title: '装货地', index: 'callNo' },
{ title: '卸货地', index: 'callNo' },
{ title: '运单号', index: 'wayBillCode' },
{ title: '订单号', index: 'billCode' },
{ title: '订单类型', index: 'billType' },
{ title: '装货地', index: 'loadingPlace' },
{ title: '卸货地', index: 'dischargePlace' },
{ title: '司机信息', render: 'call1No' },
{ title: '车辆信息', render: 'call1N2o' },
{ title: '托运人', index: 'callNo' },
{ title: '网络货运人', index: 'callNo' },
{ title: '接单时间', index: 'updatedAt', type: 'date' },
{ title: '装货时间', index: 'updatedAt', type: 'date' },
{ title: '卸货时间', index: 'updatedAt', type: 'date' },
{ title: '签收时间', index: 'updatedAt', type: 'date' }
{ title: '托运人', index: 'shipperAppUserName' },
{ title: '网络货运人', index: 'enterpriseInfoName' },
{ title: '接单时间', index: 'orderReceivingTime', type: 'date' },
{ title: '装货时间', index: 'shipperAppUserName', type: 'date' },
{ title: '卸货时间', index: 'unloadingTime', type: 'date' },
{ title: '签收时间', index: 'submissionTime', type: 'date' }
];
}
}