Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -56,7 +56,7 @@
|
||||
</ng-template>
|
||||
|
||||
<ng-template st-row="freightAmount" let-item let-index="index">
|
||||
<div class="text-right">{{item?.freightAmount | currency :' '}}</div>
|
||||
<div class="text-right">{{item?.freightAmount | currency }}</div>
|
||||
</ng-template>
|
||||
<ng-template st-row="goodsInfoList" let-item let-index="index">
|
||||
<div *ngFor="let _item of item?.goodsInfoList">
|
||||
|
||||
@ -306,7 +306,7 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
{ title: '装货地址', index: 'loadingAddress', className: 'text-center', width: '200px' },
|
||||
{ title: '收货方名称', index: 'receivingName', className: 'text-center', width: '150px' },
|
||||
{ title: '收货地址', index: 'consigneeAddress', className: 'text-center', width: '150px' },
|
||||
{ title: '运费金额', render: 'freightAmount', className: 'text-center', width: '250px' },
|
||||
{ title: '运费金额', render: 'freightAmount', className: 'text-center', width: '100px' },
|
||||
{ title: '车牌号', index: 'carNo', className: 'text-center', width: '150px' },
|
||||
{
|
||||
title: '车牌颜色',
|
||||
@ -325,11 +325,11 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
{ title: '司机姓名', index: 'driverName', className: 'text-center', width: '150px' },
|
||||
{ title: '司机手机号码', index: 'driverPhone', className: 'text-center', width: '200px' },
|
||||
{ title: '司机身份证号', index: 'driverIdentityNo', className: 'text-center', width: '150px' },
|
||||
{ title: '货物信息', render: 'goodsName', className: 'text-center', width: '180px' },
|
||||
{ title: '货物信息', index: 'goodsName', className: 'text-center', width: '180px' },
|
||||
{ title: '实际承运人名称', index: 'carrierName', className: 'text-center', width: '150px' },
|
||||
{ title: '实际承运人证件号码', index: 'carrierIdentityNo', className: 'text-center', width: '200px' },
|
||||
|
||||
{ title: '实际承运人道路运输许可证号', render: 'roadTransportNo', className: 'text-center', width: '150px' },
|
||||
{ title: '实际承运人道路运输许可证号', index: 'roadTransportNo', className: 'text-center', width: '150px' },
|
||||
|
||||
{ title: '车辆轨迹', render: 'car', className: 'text-center', width: '250px' },
|
||||
{ title: '司机轨迹', render: 'driver', className: 'text-center', width: '150px' },
|
||||
@ -518,7 +518,7 @@ export class DatatableOrderReportingComponent implements OnInit {
|
||||
* 异步导出
|
||||
*/
|
||||
export() {
|
||||
this.service.exportStart({...this.sf?.value, pageSize: -1 }, this.service.$api_export_reporting_order);
|
||||
this.service.exportStart({ ...this.sf?.value, pageSize: -1 }, this.service.$api_export_reporting_order);
|
||||
}
|
||||
|
||||
openWainingModal(content: string, title = '提示') {
|
||||
|
||||
@ -40,16 +40,16 @@ export class PayableOrderComponent implements OnInit {
|
||||
if (this.sf.value?.createTime) {
|
||||
Object.assign(requestOptions.body, {
|
||||
createTime: {
|
||||
start: this.sf.value.createTime?.[0] || null,
|
||||
end: this.sf.value.createTime?.[1] || null
|
||||
start: this.sf.value.createTime?.[0] || '',
|
||||
end: this.sf.value.createTime?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
if (this.sf.value?.phxdate) {
|
||||
Object.assign(requestOptions.body, {
|
||||
phxdate: {
|
||||
start: this.sf.value.phxdate?.[0] || null,
|
||||
end: this.sf.value.phxdate?.[1] || null
|
||||
start: this.sf.value.phxdate?.[0] || '',
|
||||
end: this.sf.value.phxdate?.[1] || ''
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -23,23 +23,23 @@ export class PaymentOrderComponent implements OnInit {
|
||||
_$expand = false;
|
||||
|
||||
selectedRows: any[] = [];
|
||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) { }
|
||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
||||
|
||||
ngOnInit(): void { }
|
||||
ngOnInit(): void {}
|
||||
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
let params = { ...this.sf.value };
|
||||
if (params.payDate) {
|
||||
const payDate = { start: this.sf?.value?.payDate?.[0], end: this.sf?.value?.payDate?.[1] }
|
||||
const payDate = { start: this.sf?.value?.payDate?.[0], end: this.sf?.value?.payDate?.[1] };
|
||||
params.payDate = payDate;
|
||||
}
|
||||
if (params.payDate2) {
|
||||
const payDate2 = { start: this.sf?.value?.payDate2?.[0], end: this.sf?.value?.payDate2?.[1] }
|
||||
const payDate2 = { start: this.sf?.value?.payDate2?.[0], end: this.sf?.value?.payDate2?.[1] };
|
||||
params.payDate2 = payDate2;
|
||||
}
|
||||
if (params.createTime) {
|
||||
const createTime = { start: this.sf?.value?.createTime?.[0], end: this.sf?.value?.createTime?.[1] }
|
||||
const createTime = { start: this.sf?.value?.createTime?.[0] || '', end: this.sf?.value?.createTime?.[1] || '' };
|
||||
params.createTime = createTime;
|
||||
}
|
||||
Object.assign(requestOptions.body, params);
|
||||
@ -95,7 +95,7 @@ export class PaymentOrderComponent implements OnInit {
|
||||
},
|
||||
paycode: {
|
||||
type: 'string',
|
||||
title: '付款单号',
|
||||
title: '付款单号'
|
||||
},
|
||||
ltdId: {
|
||||
type: 'string',
|
||||
@ -125,7 +125,7 @@ export class PaymentOrderComponent implements OnInit {
|
||||
widget: 'dict-select',
|
||||
containsAllLabel: true,
|
||||
params: { dictKey: 'pay:type' },
|
||||
placeholder: '请选择',
|
||||
placeholder: '请选择'
|
||||
}
|
||||
},
|
||||
paymode: {
|
||||
@ -264,7 +264,7 @@ export class PaymentOrderComponent implements OnInit {
|
||||
{
|
||||
text: '浏览',
|
||||
click: item => this.router.navigate(['/financial-management/payment-order/detail/' + item.id])
|
||||
},
|
||||
}
|
||||
// {
|
||||
// text: '修改',
|
||||
// }
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
* @Description :
|
||||
* @Description :
|
||||
* @Version : 1.0
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-08 13:38:19
|
||||
@ -13,7 +13,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>运多星运营平台</title>
|
||||
<title>运多星</title>
|
||||
<base href="/" />
|
||||
<!-- <meta name="viewport" content="width=device-width, initial-scale=0.3" /> -->
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||
@ -82,4 +82,4 @@
|
||||
// }
|
||||
</script>
|
||||
<!-- <script type="text/javascript" src='//webapi.amap.com/maps?v=2.0&key=63f9573ca55fef2b92d4ffe0c85dea8f'></script>
|
||||
<script src="//webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script> -->
|
||||
<script src="//webapi.amap.com/ui/1.1/main.js?v=1.1.1"></script> -->
|
||||
|
||||
Reference in New Issue
Block a user