This commit is contained in:
wangshiming
2022-04-29 15:08:34 +08:00
parent 002bf1b1b7
commit 17904dcf6c
2 changed files with 47 additions and 36 deletions

View File

@ -1,7 +1,7 @@
/*
* @Author: your name
* @Date: 2021-12-03 15:23:05
* @LastEditTime : 2022-04-28 21:40:03
* @LastEditTime : 2022-04-29 15:08:29
* @LastEditors : Shiming
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath : \\tms-obc-web\\src\\app\\routes\\sys-setting\\sys-setting-routing.module.ts

View File

@ -20,14 +20,14 @@ export class BillingOrderComponent implements OnInit {
_$expand = false;
constructor(public service: TicketService, private nzModalService: NzModalService, private router: Router, private ar: ActivatedRoute) { }
constructor(public service: TicketService, private nzModalService: NzModalService, private router: Router, private ar: ActivatedRoute) {}
ngOnInit(): void { }
ngOnInit(): void {}
beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) {
Object.assign(requestOptions.body, {
...this.sf?.value,
...this.sf?.value
});
}
return requestOptions;
@ -77,34 +77,41 @@ export class BillingOrderComponent implements OnInit {
serviceType: {
title: '服务类型',
type: 'string',
enum: [{
label: '全部',
value: ''
},{
label: '整车抢单',
value: 1
},{
label: '整车指派',
value: 2
},{
label: '大宗抢单',
value: 3
},{
label: '大宗指派',
value: 4
},{
label: '结算单',
value: 5
}],
enum: [
{
label: '全部',
value: ''
},
{
label: '整车抢单',
value: 1
},
{
label: '整车指派',
value: 2
},
{
label: '大宗抢单',
value: 3
},
{
label: '大宗指派',
value: 4
},
{
label: '结算单',
value: 5
}
],
ui: {
widget: 'select',
widget: 'select'
}
},
shipperAppUserName: {
type: 'string',
title: '货主名称',
ui: {
placeholder: '请输入',
placeholder: '请输入'
}
},
vatappcode: {
@ -245,7 +252,7 @@ export class BillingOrderComponent implements OnInit {
format: record => `${record.paymentMethodRate}%`
},
{ title: '货主名称', index: 'shipperAppUserName', width: '180px', className: 'text-center' },
{ title: '所属项目', index: 'enterpriseProjectName', width: '180px', className: 'text-center', },
{ title: '所属项目', index: 'enterpriseProjectName', width: '180px', className: 'text-center' },
{
title: '服务类型',
render: 'serviceType',
@ -260,30 +267,34 @@ export class BillingOrderComponent implements OnInit {
title: '承运司机',
index: 'driverName',
className: 'text-center',
width: '120px',
width: '120px'
},
{
title: '车队长',
className: 'text-center',
width: '120px',
index: 'carCaptainName',
index: 'carCaptainName'
},
{ title: '业务员', width: '100px', index: 'salesmanName', className: 'text-center', },
{ title: '业务员', width: '100px', index: 'salesmanName', className: 'text-center' },
// { title: '录单时间', index: 'recordTime', type: 'date', className: 'text-center', width: '150px' }, //TODO
{ title: '装货时间', index: 'loadTime', type: 'date', width: '150px', className: 'text-center', },
{ title: '卸货时间', index: 'unloadTime', type: 'date', width: '150px', className: 'text-center', },
{ title: '订单完成时间', index: 'orderReceivingTime', type: 'date', width: 150, className: 'text-center', },
{ title: '支付完成时间', index: 'overallPaymentTime', type: 'date', width: 150, className: 'text-center', },
{ title: '装货时间', index: 'loadTime', type: 'date', width: '150px', className: 'text-center' },
{ title: '卸货时间', index: 'unloadTime', type: 'date', width: '150px', className: 'text-center' },
{ title: '订单完成时间', index: 'orderReceivingTime', type: 'date', width: 150, className: 'text-center' },
{ title: '支付完成时间', index: 'overallPaymentTime', type: 'date', width: 150, className: 'text-center' },
{ title: '开票状态', index: 'sts', render: 'sts', className: 'text-center', width: 120 },
{ title: '申请开票时间', index: 'vatappdate', type: 'date', className: 'text-center', width: 180 },
{ title: '申请开票编号', index: 'vatappcode', className: 'text-center', width: 190 },
{ title: '分票编号', index: 'vatinvcode', width: '200px', className: 'text-center', },
{ title: '发票号码', index: 'invoiceno', width: 130, className: 'text-center', },
{ title: '分票编号', index: 'vatinvcode', width: '200px', className: 'text-center' },
{ title: '发票号码', index: 'invoiceno', width: 130, className: 'text-center' },
{ title: '发票代码', index: 'invoiceno2', width: 130, className: 'text-center' },
{ title: '开票日期', index: 'invoicedate', type: 'date', width: 150, className: 'text-center' },
// { title: '作废日期', index: 'invalidTime', type: 'date', width: 150 }, // TODO
{
title: 'ETC开票金额', index: 'etcInvoiceMoney', className: 'text-center', width: 120, type: 'widget',
title: 'ETC开票金额',
index: 'etcInvoiceMoney',
className: 'text-center',
width: 120,
type: 'widget',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.etcInvoiceMoney }) }
}
];