Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
wangshiming
2022-04-11 11:10:25 +08:00
5 changed files with 20 additions and 20 deletions

View File

@ -56,7 +56,7 @@
</ng-template> </ng-template>
<ng-template st-row="freightAmount" let-item let-index="index"> <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>
<ng-template st-row="goodsInfoList" let-item let-index="index"> <ng-template st-row="goodsInfoList" let-item let-index="index">
<div *ngFor="let _item of item?.goodsInfoList"> <div *ngFor="let _item of item?.goodsInfoList">

View File

@ -306,7 +306,7 @@ export class DatatableOrderReportingComponent implements OnInit {
{ title: '装货地址', index: 'loadingAddress', className: 'text-center', width: '200px' }, { title: '装货地址', index: 'loadingAddress', className: 'text-center', width: '200px' },
{ title: '收货方名称', index: 'receivingName', className: 'text-center', width: '150px' }, { title: '收货方名称', index: 'receivingName', className: 'text-center', width: '150px' },
{ title: '收货地址', index: 'consigneeAddress', 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: '车牌号', index: 'carNo', className: 'text-center', width: '150px' },
{ {
title: '车牌颜色', title: '车牌颜色',
@ -325,11 +325,11 @@ export class DatatableOrderReportingComponent implements OnInit {
{ title: '司机姓名', index: 'driverName', className: 'text-center', width: '150px' }, { title: '司机姓名', index: 'driverName', className: 'text-center', width: '150px' },
{ title: '司机手机号码', index: 'driverPhone', className: 'text-center', width: '200px' }, { title: '司机手机号码', index: 'driverPhone', className: 'text-center', width: '200px' },
{ title: '司机身份证号', index: 'driverIdentityNo', className: 'text-center', width: '150px' }, { 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: 'carrierName', className: 'text-center', width: '150px' },
{ title: '实际承运人证件号码', index: 'carrierIdentityNo', className: 'text-center', width: '200px' }, { 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: 'car', className: 'text-center', width: '250px' },
{ title: '司机轨迹', render: 'driver', className: 'text-center', width: '150px' }, { title: '司机轨迹', render: 'driver', className: 'text-center', width: '150px' },
@ -518,7 +518,7 @@ export class DatatableOrderReportingComponent implements OnInit {
* 异步导出 * 异步导出
*/ */
export() { 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 = '提示') { openWainingModal(content: string, title = '提示') {

View File

@ -40,16 +40,16 @@ export class PayableOrderComponent implements OnInit {
if (this.sf.value?.createTime) { if (this.sf.value?.createTime) {
Object.assign(requestOptions.body, { Object.assign(requestOptions.body, {
createTime: { createTime: {
start: this.sf.value.createTime?.[0] || null, start: this.sf.value.createTime?.[0] || '',
end: this.sf.value.createTime?.[1] || null end: this.sf.value.createTime?.[1] || ''
} }
}); });
} }
if (this.sf.value?.phxdate) { if (this.sf.value?.phxdate) {
Object.assign(requestOptions.body, { Object.assign(requestOptions.body, {
phxdate: { phxdate: {
start: this.sf.value.phxdate?.[0] || null, start: this.sf.value.phxdate?.[0] || '',
end: this.sf.value.phxdate?.[1] || null end: this.sf.value.phxdate?.[1] || ''
} }
}); });
} }

View File

@ -23,23 +23,23 @@ export class PaymentOrderComponent implements OnInit {
_$expand = false; _$expand = false;
selectedRows: any[] = []; 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) => { beforeReq = (requestOptions: STRequestOptions) => {
if (this.sf) { if (this.sf) {
let params = { ...this.sf.value }; let params = { ...this.sf.value };
if (params.payDate) { 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; params.payDate = payDate;
} }
if (params.payDate2) { 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; params.payDate2 = payDate2;
} }
if (params.createTime) { 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; params.createTime = createTime;
} }
Object.assign(requestOptions.body, params); Object.assign(requestOptions.body, params);
@ -95,7 +95,7 @@ export class PaymentOrderComponent implements OnInit {
}, },
paycode: { paycode: {
type: 'string', type: 'string',
title: '付款单号', title: '付款单号'
}, },
ltdId: { ltdId: {
type: 'string', type: 'string',
@ -125,7 +125,7 @@ export class PaymentOrderComponent implements OnInit {
widget: 'dict-select', widget: 'dict-select',
containsAllLabel: true, containsAllLabel: true,
params: { dictKey: 'pay:type' }, params: { dictKey: 'pay:type' },
placeholder: '请选择', placeholder: '请选择'
} }
}, },
paymode: { paymode: {
@ -264,7 +264,7 @@ export class PaymentOrderComponent implements OnInit {
{ {
text: '浏览', text: '浏览',
click: item => this.router.navigate(['/financial-management/payment-order/detail/' + item.id]) click: item => this.router.navigate(['/financial-management/payment-order/detail/' + item.id])
}, }
// { // {
// text: '修改', // text: '修改',
// } // }

View File

@ -1,5 +1,5 @@
<!-- <!--
* @Description : * @Description :
* @Version : 1.0 * @Version : 1.0
* @Author : Shiming * @Author : Shiming
* @Date : 2021-12-08 13:38:19 * @Date : 2021-12-08 13:38:19
@ -13,7 +13,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>运多星运营平台</title> <title>运多星</title>
<base href="/" /> <base href="/" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=0.3" /> --> <!-- <meta name="viewport" content="width=device-width, initial-scale=0.3" /> -->
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
@ -82,4 +82,4 @@
// } // }
</script> </script>
<!-- <script type="text/javascript" src='//webapi.amap.com/maps?v=2.0&key=63f9573ca55fef2b92d4ffe0c85dea8f'></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> -->