This commit is contained in:
Taric Xin
2022-01-11 16:42:26 +08:00
parent eeb23fb975
commit 8e93a648a2
21 changed files with 778 additions and 45 deletions

View File

@ -22,16 +22,16 @@
<nz-card class="content-box" nzBordered>
<st #st [data]="service.$mock_url" [columns]="columns"
<st #st [data]="service.$api_get_invoice_record_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: '400px' }">
<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="call12No" let-item let-index="index" let-column="column">
粤B88888<br>张三
{{item.licenseCarNo}}<br>{{item.licenseBelonging}}
</ng-template>
</st>
</nz-card>

View File

@ -74,21 +74,21 @@ export class ETCInvoicedListComponent implements OnInit {
hidden: true
}
},
orderSn: {
wayBillCode: {
type: 'string',
title: '运单号',
ui: {
autocomplete: 'off'
}
},
order2Sn: {
billCode: {
type: 'string',
title: '订单号',
ui: {
autocomplete: 'off'
}
},
order2S2n: {
billType: {
type: 'string',
title: '订单类型',
ui: {
@ -97,12 +97,12 @@ export class ETCInvoicedListComponent implements OnInit {
placeholder: '请选择'
}
},
receiveName: {
invoicingStatus: {
type: 'string',
title: '开票状态',
ui: {
widget: 'dict-select',
params: { dictKey: 'refund:apply:status' },
params: { dictKey: 'etc:invoicing:status' },
placeholder: '请选择',
visibleIf: {
expand: (value: boolean) => value
@ -110,7 +110,7 @@ export class ETCInvoicedListComponent implements OnInit {
},
default: ''
},
receiveName2: {
shipperId: {
type: 'string',
title: '托运人',
enum: [{ label: '全部', value: '' }],
@ -123,7 +123,7 @@ export class ETCInvoicedListComponent implements OnInit {
},
default: ''
},
ltdId: {
enterpriseInfoId: {
type: 'string',
title: '网络货运人',
ui: {
@ -143,19 +143,19 @@ export class ETCInvoicedListComponent implements OnInit {
private initST(): STColumn[] {
return [
{ title: '运单号', index: 'no' },
{ title: '订单号', index: 'no' },
{ title: '开票状态', index: 'callNo' },
{ title: '订单类型', index: 'callNo' },
{ title: '装货地', index: 'callNo' },
{ title: '卸货地', index: 'callNo' },
{ title: '运单号', index: 'wayBillCode' },
{ title: '订单号', index: 'billCode' },
{ title: '开票状态', index: 'invoicingStatus', type: 'enum', enum: { '0': '待开票', '1': '开票中', '2': '已开票', '3': '开票失败' } },
{ title: '订单类型', index: 'billType' },
{ title: '装货地', index: 'loadingPlace' },
{ title: '卸货地', index: 'dischargePlace' },
{ title: '司机信息', render: 'call1No' },
{ title: '车辆信息', render: 'call12No' },
{ title: '托运人', index: 'callNo' },
{ title: '网络货运人', index: 'callNo' },
{ title: '开票金额', index: 'callNo' },
{ title: '开票张数', index: 'callNo' },
{ title: '申请时间', index: 'updatedAt', type: 'date' },
{ title: '托运人', index: 'shipperAppUserName' },
{ title: '网络货运人', index: 'enterpriseInfoName' },
{ title: '开票金额', index: 'invoicingAmount' },
{ title: '开票张数', index: 'invoicingNumber' },
{ title: '申请时间', index: 'orderReceivingTime', type: 'date' },
{
title: '操作',
buttons: [