Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
		@ -1,7 +1,7 @@
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * @Author: your name
 | 
					 * @Author: your name
 | 
				
			||||||
 * @Date: 2021-12-03 15:23:05
 | 
					 * @Date: 2021-12-03 15:23:05
 | 
				
			||||||
 * @LastEditTime : 2022-04-28 21:40:03
 | 
					 * @LastEditTime : 2022-04-29 15:08:29
 | 
				
			||||||
 * @LastEditors  : Shiming
 | 
					 * @LastEditors  : Shiming
 | 
				
			||||||
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 | 
					 * @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
 | 
					 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\sys-setting\\sys-setting-routing.module.ts
 | 
				
			||||||
 | 
				
			|||||||
@ -20,14 +20,14 @@ export class BillingOrderComponent implements OnInit {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  _$expand = false;
 | 
					  _$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) => {
 | 
					  beforeReq = (requestOptions: STRequestOptions) => {
 | 
				
			||||||
    if (this.sf) {
 | 
					    if (this.sf) {
 | 
				
			||||||
      Object.assign(requestOptions.body, {
 | 
					      Object.assign(requestOptions.body, {
 | 
				
			||||||
        ...this.sf?.value,
 | 
					        ...this.sf?.value
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return requestOptions;
 | 
					    return requestOptions;
 | 
				
			||||||
@ -77,34 +77,41 @@ export class BillingOrderComponent implements OnInit {
 | 
				
			|||||||
        serviceType: {
 | 
					        serviceType: {
 | 
				
			||||||
          title: '服务类型',
 | 
					          title: '服务类型',
 | 
				
			||||||
          type: 'string',
 | 
					          type: 'string',
 | 
				
			||||||
          enum: [{
 | 
					          enum: [
 | 
				
			||||||
            label: '全部',
 | 
					            {
 | 
				
			||||||
            value: ''
 | 
					              label: '全部',
 | 
				
			||||||
          },{
 | 
					              value: ''
 | 
				
			||||||
            label: '整车抢单',
 | 
					            },
 | 
				
			||||||
            value: 1
 | 
					            {
 | 
				
			||||||
          },{
 | 
					              label: '整车抢单',
 | 
				
			||||||
            label: '整车指派',
 | 
					              value: 1
 | 
				
			||||||
            value: 2
 | 
					            },
 | 
				
			||||||
          },{
 | 
					            {
 | 
				
			||||||
            label: '大宗抢单',
 | 
					              label: '整车指派',
 | 
				
			||||||
            value: 3
 | 
					              value: 2
 | 
				
			||||||
          },{
 | 
					            },
 | 
				
			||||||
            label: '大宗指派',
 | 
					            {
 | 
				
			||||||
            value: 4
 | 
					              label: '大宗抢单',
 | 
				
			||||||
          },{
 | 
					              value: 3
 | 
				
			||||||
            label: '结算单',
 | 
					            },
 | 
				
			||||||
            value: 5
 | 
					            {
 | 
				
			||||||
          }],
 | 
					              label: '大宗指派',
 | 
				
			||||||
 | 
					              value: 4
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					              label: '结算单',
 | 
				
			||||||
 | 
					              value: 5
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          ],
 | 
				
			||||||
          ui: {
 | 
					          ui: {
 | 
				
			||||||
            widget: 'select',
 | 
					            widget: 'select'
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        shipperAppUserName: {
 | 
					        shipperAppUserName: {
 | 
				
			||||||
          type: 'string',
 | 
					          type: 'string',
 | 
				
			||||||
          title: '货主名称',
 | 
					          title: '货主名称',
 | 
				
			||||||
          ui: {
 | 
					          ui: {
 | 
				
			||||||
            placeholder: '请输入',
 | 
					            placeholder: '请输入'
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        vatappcode: {
 | 
					        vatappcode: {
 | 
				
			||||||
@ -245,7 +252,7 @@ export class BillingOrderComponent implements OnInit {
 | 
				
			|||||||
        format: record => `${record.paymentMethodRate}%`
 | 
					        format: record => `${record.paymentMethodRate}%`
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      { title: '货主名称', index: 'shipperAppUserName', width: '180px', className: 'text-center' },
 | 
					      { 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: '服务类型',
 | 
					        title: '服务类型',
 | 
				
			||||||
        render: 'serviceType',
 | 
					        render: 'serviceType',
 | 
				
			||||||
@ -260,30 +267,34 @@ export class BillingOrderComponent implements OnInit {
 | 
				
			|||||||
        title: '承运司机',
 | 
					        title: '承运司机',
 | 
				
			||||||
        index: 'driverName',
 | 
					        index: 'driverName',
 | 
				
			||||||
        className: 'text-center',
 | 
					        className: 'text-center',
 | 
				
			||||||
        width: '120px',
 | 
					        width: '120px'
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        title: '车队长',
 | 
					        title: '车队长',
 | 
				
			||||||
        className: 'text-center',
 | 
					        className: 'text-center',
 | 
				
			||||||
        width: '120px',
 | 
					        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: 'recordTime', type: 'date', className: 'text-center', width: '150px' }, //TODO
 | 
				
			||||||
      { title: '装货时间', index: 'loadTime', type: 'date', width: '150px', 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: 'unloadTime', type: 'date', width: '150px', className: 'text-center' },
 | 
				
			||||||
      { title: '订单完成时间', index: 'orderReceivingTime', type: 'date', width: 150, 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: 'overallPaymentTime', type: 'date', width: 150, className: 'text-center' },
 | 
				
			||||||
      { title: '开票状态', index: 'sts', render: 'sts', className: 'text-center', width: 120 },
 | 
					      { title: '开票状态', index: 'sts', render: 'sts', className: 'text-center', width: 120 },
 | 
				
			||||||
      { title: '申请开票时间', index: 'vatappdate', type: 'date', className: 'text-center', width: 180 },
 | 
					      { title: '申请开票时间', index: 'vatappdate', type: 'date', className: 'text-center', width: 180 },
 | 
				
			||||||
      { title: '申请开票编号', index: 'vatappcode', className: 'text-center', width: 190 },
 | 
					      { title: '申请开票编号', index: 'vatappcode', className: 'text-center', width: 190 },
 | 
				
			||||||
      { title: '分票编号', index: 'vatinvcode', width: '200px', className: 'text-center', },
 | 
					      { title: '分票编号', index: 'vatinvcode', width: '200px', className: 'text-center' },
 | 
				
			||||||
      { title: '发票号码', index: 'invoiceno', width: 130, className: 'text-center', },
 | 
					      { title: '发票号码', index: 'invoiceno', width: 130, className: 'text-center' },
 | 
				
			||||||
      { title: '发票代码', index: 'invoiceno2', 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: 'invoicedate', type: 'date', width: 150, className: 'text-center' },
 | 
				
			||||||
      // { title: '作废日期', index: 'invalidTime', type: 'date', width: 150 }, // TODO
 | 
					      // { 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 }) }
 | 
					        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.etcInvoiceMoney }) }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    ];
 | 
					    ];
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user