From 5e88772da782375f5eb0b150a4140ebd084d461c Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 19:14:09 +0800 Subject: [PATCH 01/44] fix bug --- .../driver-account-detail.component.ts | 6 +++++- .../components/driver-account/driver-account.component.ts | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts index 3e73fb60..be4ff263 100644 --- a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts +++ b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts @@ -76,7 +76,11 @@ export class DriverAccountDetailComponent implements OnInit { stChange(e: STChange): void {} exportList() { - this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceDriverByOperatorPage,); + this.service.exportStart( { ...this.sf.value, pageSize: -1 , ltdId: this.params.ltdId, + projectId: this.params.projectId, + enterpriseId: this.params.enterpriseId, + roleId: this.params.roleId, + bankType: this.params.bankType,}, this.service.$api_get_exportAccountBalanceDriverByOperatorPage,); } goBack() { diff --git a/src/app/routes/financial-management/components/driver-account/driver-account.component.ts b/src/app/routes/financial-management/components/driver-account/driver-account.component.ts index 99daad10..4892f27a 100644 --- a/src/app/routes/financial-management/components/driver-account/driver-account.component.ts +++ b/src/app/routes/financial-management/components/driver-account/driver-account.component.ts @@ -81,6 +81,8 @@ export class DriverAccountComponent implements OnInit { } exportList() { + console.log(this.sf.value); + this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_export_driver_account_page); } From 504f01d10e0e696f96a7e82e5a5e0205501d4f46 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 19:15:21 +0800 Subject: [PATCH 02/44] fix bug --- .../driver-account-detail.component.ts | 31 +++++++++++++------ 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts index be4ff263..bc954a6c 100644 --- a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts +++ b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts @@ -36,7 +36,7 @@ export class DriverAccountDetailComponent implements OnInit { projectId: this.params.projectId, enterpriseId: this.params.enterpriseId, roleId: this.params.roleId, - bankType: this.params.bankType, + bankType: this.params.bankType }); if (this.sf) { Object.assign(requestOptions.body, { @@ -76,11 +76,22 @@ export class DriverAccountDetailComponent implements OnInit { stChange(e: STChange): void {} exportList() { - this.service.exportStart( { ...this.sf.value, pageSize: -1 , ltdId: this.params.ltdId, - projectId: this.params.projectId, - enterpriseId: this.params.enterpriseId, - roleId: this.params.roleId, - bankType: this.params.bankType,}, this.service.$api_get_exportAccountBalanceDriverByOperatorPage,); + this.service.exportStart( + { + ...this.sf.value, + pageSize: -1, + ltdId: this.params.ltdId, + projectId: this.params.projectId, + enterpriseId: this.params.enterpriseId, + roleId: this.params.roleId, + bankType: this.params.bankType, + createTime: { + start: this.sf.value?.createTime?.[0] || '', + end: this.sf.value?.createTime?.[1] || '' + } + }, + this.service.$api_get_exportAccountBalanceDriverByOperatorPage + ); } goBack() { @@ -171,8 +182,8 @@ export class DriverAccountDetailComponent implements OnInit { { title: '交易时间', index: 'createTime', type: 'date', width: 150 }, { title: '流水号', index: 'channelPaySn', width: 170 }, { title: '交易类型', index: 'tradeTypeLabel', className: 'text-center', width: 150 }, - { title: '交易单号', index: 'businessNumber' , width: 190}, - { title: '订单号', index: 'orderSn' , width: 190}, + { title: '交易单号', index: 'businessNumber', width: 190 }, + { title: '订单号', index: 'orderSn', width: 190 }, { title: '运单号', index: 'transportSn', width: 190 }, { title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 150 }, { @@ -191,9 +202,9 @@ export class DriverAccountDetailComponent implements OnInit { className: 'text-right', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) } }, - { title: '付款方', index: 'payName', width: 150}, + { title: '付款方', index: 'payName', width: 150 }, { title: '收款方', index: 'incomeName', width: 150 }, - { title: '备注', index: 'tradeContent' , width: 150}, + { title: '备注', index: 'tradeContent', width: 150 } ]; } } From bd95bcc71fd3d4bd3ee808593a9dd4f226e04d05 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 19:30:50 +0800 Subject: [PATCH 03/44] fix bug --- .../components/bulk-detail/bulk-detail.component.ts | 12 +++++++----- .../vehicle-detail/vehicle-detail.component.ts | 9 +++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts index cfe20fdf..ce203d88 100644 --- a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts +++ b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-06 20:20:26 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 19:00:19 + * @LastEditTime : 2022-04-13 19:29:45 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -72,6 +72,8 @@ export class OrderManagementBulkeDetailComponent implements OnInit { } ]; get logParams() { + console.log(this.i?.billCode); + return { operateObject: this.i?.billCode, operateTypeList: ['3','8'] } } trajectory = 'car'; @@ -116,7 +118,9 @@ export class OrderManagementBulkeDetailComponent implements OnInit { time: '计划卸货时间:' + res.unloadPlanTime } ]; - + setTimeout(() => { + this.logSt.load(1); + }); } }); this.service.request(this.service.$api_listBillComplianceAbnormalByBillId, { id: this.id }).subscribe(res => { @@ -133,9 +137,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit { this.warringList = res } }); - setTimeout(() => { - this.logSt.load(1); - }); + } goBack() { diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts index a113356d..4dd0ddd8 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-28 14:42:03 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 19:06:44 + * @LastEditTime : 2022-04-13 19:30:46 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -111,6 +111,9 @@ export class OrderManagementVehicleDetailComponent implements OnInit { (data: any) => data.expenseCode === 'PRE' || data.expenseCode === 'RECE' || data.expenseCode === 'BACK' ); this.i.scheduleVOList = this.i?.scheduleVOList?.filter((data: any) => data.displayStatus !== 'HIDE'); + setTimeout(() => { + this.logSt.load(1); + }); } }); this.service.request(this.service.$api_listBillComplianceAbnormalByBillId, { id: this.id }).subscribe(res => { @@ -127,9 +130,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit { this.warringList = res } }); - setTimeout(() => { - this.logSt.load(1); - }); + } // 取消订单 cancellation() { From d5e8e5eb60e4a2159df067c73595a42cdc2c43d4 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 19:54:31 +0800 Subject: [PATCH 04/44] fix bug --- .../bulk-detail/bulk-detail.component.html | 7 +++--- .../bulk-detail/bulk-detail.component.ts | 23 +++++++++++++++---- .../vehicle-detail.component.html | 6 +++-- .../vehicle-detail.component.ts | 23 +++++++++++++++---- .../logistics-time-line.component.html | 14 +++++++++-- 5 files changed, 56 insertions(+), 17 deletions(-) diff --git a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html index 5cd7cb57..acf6fcff 100644 --- a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html +++ b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-06 20:20:26 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 19:02:35 + * @LastEditTime : 2022-04-13 19:38:36 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -241,13 +241,14 @@ [page]="{ show: false, showSize: false }"> - {{item?.operator}}/{{item.telephone}} - + --> + diff --git a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts index ce203d88..33757e8a 100644 --- a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts +++ b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-06 20:20:26 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 19:29:45 + * @LastEditTime : 2022-04-13 19:52:18 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail\\bulk-detail.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -31,6 +31,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit { billExpenses: any[] = []; //运费信息表格信息 pois: any[] = []; abnormalList: any[] = []; + operationList: any; i: any; imges: any; totalObj: any; @@ -72,8 +73,6 @@ export class OrderManagementBulkeDetailComponent implements OnInit { } ]; get logParams() { - console.log(this.i?.billCode); - return { operateObject: this.i?.billCode, operateTypeList: ['3','8'] } } trajectory = 'car'; @@ -118,8 +117,21 @@ export class OrderManagementBulkeDetailComponent implements OnInit { time: '计划卸货时间:' + res.unloadPlanTime } ]; - setTimeout(() => { - this.logSt.load(1); + this.service.request(this.service.$api_get_log_list,{operateObject: this.i?.billCode, operateTypeList: ['3','8']}).subscribe(res => { + if (res) { + console.log('操作日志'); + console.log(res); + let a :any= [] + res.records.forEach((item: any) => { + a.push({ + value: `操作人: ${item.operator}
操作内容: ${ item.operationContent}`, + time: item.operatorTimestamp, + color: 'green' + }) + }) + console.log(a); + this.operationList = a; + } }); } }); @@ -130,6 +142,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit { this.abnormalList = res; } }); + this.service.request(this.service.$api_getAbnormalWarningByBillId, { id: this.id }).subscribe(res => { if (res) { console.log('异常预警'); diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html index 8fb28115..ef545cc3 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html @@ -247,13 +247,15 @@ [page]="{ show: false, showSize: false }"> - {{item?.operator}}/{{item.telephone}} - + --> + + diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts index 4dd0ddd8..89713968 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-28 14:42:03 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 19:30:46 + * @LastEditTime : 2022-04-13 19:52:15 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -27,6 +27,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit { modalcontent: any; modalTitle: string = ''; trajectory = 'car'; + operationList: any; mapList: any[] = []; //地图点位数据组 pois: any[] = []; addressItems: any[] = []; //打点地址数据组 @@ -107,13 +108,25 @@ export class OrderManagementVehicleDetailComponent implements OnInit { time: '计划卸货时间:' + res.unloadPlanTime } ]; + this.service.request(this.service.$api_get_log_list,{operateObject: this.i?.billCode, operateTypeList: ['3','8']}).subscribe(res => { + if (res) { + console.log('操作日志'); + console.log(res); + let a :any= [] + res.records.forEach((item: any) => { + a.push({ + value: `操作人: ${item.operator}
操作内容: ${ item.operationContent}`, + time: item.operatorTimestamp, + color: 'green' + }) + }) + console.log(a); + this.operationList = a; + } + }); this.billExpenses = this.i?.billExpenseDetails?.filter( (data: any) => data.expenseCode === 'PRE' || data.expenseCode === 'RECE' || data.expenseCode === 'BACK' ); - this.i.scheduleVOList = this.i?.scheduleVOList?.filter((data: any) => data.displayStatus !== 'HIDE'); - setTimeout(() => { - this.logSt.load(1); - }); } }); this.service.request(this.service.$api_listBillComplianceAbnormalByBillId, { id: this.id }).subscribe(res => { diff --git a/src/app/shared/components/logistics-time-line/logistics-time-line.component.html b/src/app/shared/components/logistics-time-line/logistics-time-line.component.html index 5ab3688a..8a63e8bf 100644 --- a/src/app/shared/components/logistics-time-line/logistics-time-line.component.html +++ b/src/app/shared/components/logistics-time-line/logistics-time-line.component.html @@ -1,5 +1,15 @@ + - - + + \ No newline at end of file From d9b7901b759e94741cd414f06592cecf0d142009 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 20:02:32 +0800 Subject: [PATCH 05/44] fix bug --- .../freight-account-detail.component.ts | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts b/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts index 3693361f..dd2fa6ca 100644 --- a/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts +++ b/src/app/routes/financial-management/components/freight-account/freight-account-detail/freight-account-detail.component.ts @@ -83,7 +83,21 @@ export class FreightAccountDetailComponent implements OnInit { stChange(e: STChange): void {} exportList() { - this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceShipperByOperatorPage,); + this.service.exportStart( + { + ...this.sf.value, + pageSize: -1, + ltdId: this.params.ltdId, + projectId: this.params.projectId, + enterpriseId: this.params.enterpriseId, + roleId: this.params.roleId, + createTime: { + start: this.sf?.value.createTime?.[0] || '', + end: this.sf?.value.createTime?.[1] || '' + } + }, + this.service.$api_get_exportAccountBalanceShipperByOperatorPage + ); } goBack() { @@ -201,8 +215,8 @@ export class FreightAccountDetailComponent implements OnInit { { title: '交易单号', index: 'businessNumber', width: 170 }, { title: '订单号', index: 'orderSn', width: 170 }, { title: '运单号', index: 'transportSn', width: 170 }, - { title: '货主', index: 'enterpriseName' , width: 170}, - { title: '所属项目', index: 'projectName' , width: 170}, + { title: '货主', index: 'enterpriseName', width: 170 }, + { title: '所属项目', index: 'projectName', width: 170 }, { title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 140 }, { title: '交易金额', @@ -220,7 +234,7 @@ export class FreightAccountDetailComponent implements OnInit { className: 'text-right', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) } }, - { title: '付款方', index: 'payName' , width: 170}, + { title: '付款方', index: 'payName', width: 170 }, { title: '收款方', index: 'incomeName', width: 170 }, { title: '备注', index: 'tradeContent', width: 170 } ]; From 932db393cb063d1170368eb1bf5aa15fb4bd11a5 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Wed, 13 Apr 2022 20:07:08 +0800 Subject: [PATCH 06/44] fix bug --- .../abnormal-appear/abnormal-appear.component.html | 8 ++++---- .../abnormal-appear/abnormal-appear.component.less | 1 + .../abnormal-appear/abnormal-appear.component.ts | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html b/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html index d4ac94de..393c74d6 100644 --- a/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html +++ b/src/app/routes/waybill-management/components/abnormal-appear/abnormal-appear.component.html @@ -1,7 +1,7 @@ @@ -230,8 +230,8 @@
如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈
    -
  • 系统识别:{{item?.complianceTypeName}}
  • -
  • {{item?.determineDetails}},您可在企业端提交申诉材料或联系客服。
  • +
  • 系统识别:{{item?.complianceTypeName}}
  • +
  • {{item?.determineDetails}}
diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html index ef545cc3..dba53098 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-28 14:42:03 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 19:04:48 + * @LastEditTime : 2022-04-14 10:09:03 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail\\vehicle-detail.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -236,8 +236,8 @@
您的订单可能存在交易风险,请及时提交申诉材料,提交成功后,平台将及时完成审核并通知您!
如果您的运单没有问题,可以提出申诉,并提供相关资料,我们将24小时内审核反馈
    -
  • 系统识别:{{ item?.complianceTypeName }}
  • -
  • {{ item?.determineDetails }},您可在企业端提交申诉材料或联系客服。
  • +
  • 系统识别:{{ item?.complianceTypeName }}
  • +
  • {{ item?.determineDetails }}
From 3737d0e943bc790acc6898e9d443f855f297064a Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 10:19:07 +0800 Subject: [PATCH 14/44] fix bug --- .../components/complaint-detail/complaint-detail.component.ts | 2 +- .../components/vehicle-detail/vehicle-detail.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts index 1fec3254..33960128 100644 --- a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts +++ b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts @@ -63,7 +63,7 @@ export class OrderManagementComplaintDetailComponent implements OnInit { initSF() { this.schema = { properties: { - drvComplaintCauseLabel: { + shpComplaintCauseLabel: { title: '投诉原因', type: 'string', maxLength: 30, diff --git a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html index 4909c270..a570a0d1 100644 --- a/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html +++ b/src/app/routes/supply-management/components/vehicle-detail/vehicle-detail.component.html @@ -190,7 +190,7 @@ (运费{{ i?.totalFreight | currency }}含附加运费 {{ i?.totalSurcharge | currency }}) -
车队长:{{ i?.payeeName }}/{{ i?.payeePhone }}/{{ i?.payeeCardNo }}
+
车队长:{{ i?.payeeName }}/{{ i?.payeePhone }}/{{ i?.payeeCardNo }}
From 3670c8e5159adfc8ff2fde3377f016d4123954dd Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 10:27:13 +0800 Subject: [PATCH 15/44] fix bug --- .../complaint-detail/complaint-detail.component.ts | 13 +++++++++++++ .../components/complaint/complaint.component.ts | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts index 33960128..0c311e0e 100644 --- a/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts +++ b/src/app/routes/order-management/components/complaint-detail/complaint-detail.component.ts @@ -37,6 +37,8 @@ export class OrderManagementComplaintDetailComponent implements OnInit { if (this.id) { this.getDetail(this.id); + console.log(this.ar.snapshot.queryParams.sts); + this.initSF(); this.initSTAudit() } @@ -68,6 +70,17 @@ export class OrderManagementComplaintDetailComponent implements OnInit { type: 'string', maxLength: 30, ui: { + hidden: this.ar.snapshot.queryParams.sts == 2, + widget: 'text', + change: (value, orgData) => console.log(value, orgData), + } as SFSelectWidgetSchema, + }, + drvComplaintCauseLabel: { + title: '投诉原因', + type: 'string', + maxLength: 30, + ui: { + hidden: this.ar.snapshot.queryParams.sts == 1, widget: 'text', change: (value, orgData) => console.log(value, orgData), } as SFSelectWidgetSchema, diff --git a/src/app/routes/order-management/components/complaint/complaint.component.ts b/src/app/routes/order-management/components/complaint/complaint.component.ts index 82e301a3..2d421c63 100644 --- a/src/app/routes/order-management/components/complaint/complaint.component.ts +++ b/src/app/routes/order-management/components/complaint/complaint.component.ts @@ -360,7 +360,8 @@ export class OrderManagementComplaintComponent implements OnInit { view(value: any) { this.router.navigate(['/order-management/complaint-detail/' + value.id], { queryParams: { - detail: JSON.stringify(value) + detail: JSON.stringify(value), + sts: this.selectedMainTabStatus } }); } From 8462c41b9cd423852c47f7b771b17bb5999aa3a1 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 10:28:53 +0800 Subject: [PATCH 16/44] fix bug --- .../components/bulk-detail/bulk-detail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.ts b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.ts index 75b71007..b7711049 100644 --- a/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.ts +++ b/src/app/routes/supply-management/components/bulk-detail/bulk-detail.component.ts @@ -53,7 +53,7 @@ export class SupplyManagementBulkDetailComponent implements OnInit { } // 运单类型 settlementBasis: any = { - 1: '以收获为准', + 1: '以收货为准', 2: '以发货为准' } // 结算依据 From 177d1eefd5fbecf7096e8e503e6034966d6585f9 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 10:33:24 +0800 Subject: [PATCH 17/44] fix bug --- .../order-management/components/bulk/bulk.component.ts | 6 ++++++ .../components/vehicle/vehicle.component.ts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts index 6ef8e789..90da4ed6 100644 --- a/src/app/routes/order-management/components/bulk/bulk.component.ts +++ b/src/app/routes/order-management/components/bulk/bulk.component.ts @@ -518,6 +518,12 @@ export class OrderManagementBulkComponent implements OnInit { className: 'text-left', render: 'loadingTime' }, + { + title: '录单时间', + className: 'text-left', + index: 'recordTime', + width: '170px' + }, { title: '创建时间', width: '180px', diff --git a/src/app/routes/order-management/components/vehicle/vehicle.component.ts b/src/app/routes/order-management/components/vehicle/vehicle.component.ts index 4c380bd6..27494ac4 100644 --- a/src/app/routes/order-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/order-management/components/vehicle/vehicle.component.ts @@ -394,6 +394,12 @@ export class OrderManagementVehicleComponent extends BasicTableComponent impleme className: 'text-left', render: 'loadingTime' }, + { + title: '录单时间', + className: 'text-left', + index: 'recordTime', + width: '170px' + }, { title: '创建时间', className: 'text-left', From 4006e70c3750818a99bd05ce3bcbcc96340da86f Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 10:40:21 +0800 Subject: [PATCH 18/44] fix bug --- .../components/abnormal-gold/abnormal-gold.component.html | 3 +-- .../components/abnormal-gold/abnormal-gold.component.ts | 8 -------- .../recharge-record/recharge-record.component.ts | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html index 5353f411..04df021a 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-06 10:57:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-11 14:23:35 + * @LastEditTime : 2022-04-14 10:39:57 * @FilePath : \\tms-obc-web\\src\\app\\routes\\financial-management\\components\\abnormal-gold\\abnormal-gold.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -36,7 +36,6 @@ - diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts index a0add6da..2affe91f 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts @@ -173,14 +173,6 @@ export class AbnormalGoldComponent implements OnInit { className: 'text-center', width: 120, buttons: [ - { - text: '清分', - click: item => this.clearingAction(item) - }, - { - text: '退款', - click: item => this.refund(item) - }, { text: '查看', click: item => this.router.navigate(['/financial-management/withdrawals-record/detail/1']) diff --git a/src/app/routes/financial-management/components/recharge-record/recharge-record.component.ts b/src/app/routes/financial-management/components/recharge-record/recharge-record.component.ts index 52015766..f06bc8cb 100644 --- a/src/app/routes/financial-management/components/recharge-record/recharge-record.component.ts +++ b/src/app/routes/financial-management/components/recharge-record/recharge-record.component.ts @@ -229,7 +229,7 @@ export class RechargeRecordComponent implements OnInit { bankType: item.bankType, rmYll: item.roleId, snglFlgCd: item.paySerialNumber2, - bussType: '06', + bussType: '05', ltdId: item.ltdId, accountType: item.accountType }) From b3cdcf5bff1bcbc22a92ce63f0646be0e74f700f Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 10:53:51 +0800 Subject: [PATCH 19/44] fix bug --- .../order-management/components/bulk/bulk.component.html | 5 ++++- .../order-management/components/bulk/bulk.component.ts | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/app/routes/order-management/components/bulk/bulk.component.html b/src/app/routes/order-management/components/bulk/bulk.component.html index 482bb68c..bced8f7d 100644 --- a/src/app/routes/order-management/components/bulk/bulk.component.html +++ b/src/app/routes/order-management/components/bulk/bulk.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-12 10:52:50 * @LastEditors : Shiming - * @LastEditTime : 2022-04-08 11:30:05 + * @LastEditTime : 2022-04-14 10:53:35 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk\\bulk.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -78,6 +78,9 @@
{{ item?.driverName }}{{ item?.driverPhone ? "/" + item?.driverPhone : '' }}{{ item?.carNo ? "/" + item?.carNo : ''}}
+ +
{{ item.settlementWeight ? item.settlementWeight + '吨/ ': ''}} {{ item.settlementVolume ? item.settlementVolume + '方 ': ''}}
+
{{ item?.payeeName }}{{ item?.payeePhone ? "/" + item?.payeePhone : '' }}
diff --git a/src/app/routes/order-management/components/bulk/bulk.component.ts b/src/app/routes/order-management/components/bulk/bulk.component.ts index 90da4ed6..e4944856 100644 --- a/src/app/routes/order-management/components/bulk/bulk.component.ts +++ b/src/app/routes/order-management/components/bulk/bulk.component.ts @@ -491,12 +491,12 @@ export class OrderManagementBulkComponent implements OnInit { }, { title: '结算数量', - index: '结算数量', + render: 'settlementWeight', width: '170px', className: 'text-left', - format: (item: any) => - `${item.settlementWeight || '0'}吨/ - ${item.settlementVolume || '0'}方` + // format: (item: any) => + // `${item.settlementWeight || '0'}吨/ + // ${item.settlementVolume || '0'}方` }, { title: '承运司机', From e6a451c0a546d3ea31cd813e7ca2514d4c3e3f74 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 11:41:20 +0800 Subject: [PATCH 20/44] fix bug --- proxy.conf.js | 4 +-- .../components/list/list.component.ts | 6 ++-- .../services/insurance-management.service.ts | 29 ++++++++++++++++++- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/proxy.conf.js b/proxy.conf.js index e6de13f2..b8983842 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-18 09:51:21 * @LastEditors : Shiming - * @LastEditTime : 2022-04-09 16:39:20 + * @LastEditTime : 2022-04-14 11:38:39 * @FilePath : \\tms-obc-web\\proxy.conf.js * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -20,7 +20,7 @@ module.exports = { // } '//api': { target: { - host: 'tms-api-test.eascs.com', + host: 'tms-api-dev.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/insurance-management/components/list/list.component.ts b/src/app/routes/insurance-management/components/list/list.component.ts index 2846e43a..4655ee58 100644 --- a/src/app/routes/insurance-management/components/list/list.component.ts +++ b/src/app/routes/insurance-management/components/list/list.component.ts @@ -501,8 +501,10 @@ export class insuranceManagementListComponent implements OnInit { // console.log(newUrl); // window.open(newUrl,'_self'); - - this.service.downloadFile(`${_record.policyUrl}`) + window.open(`${_record.newPolicyUrl}`); + // this.service.downloadFile(`${_record.newPolicyUrl}`) + + // const params = { // imgList: [_record.policyUrl], // index: 0 diff --git a/src/app/routes/insurance-management/services/insurance-management.service.ts b/src/app/routes/insurance-management/services/insurance-management.service.ts index 0482f606..413d2a7d 100644 --- a/src/app/routes/insurance-management/services/insurance-management.service.ts +++ b/src/app/routes/insurance-management/services/insurance-management.service.ts @@ -55,7 +55,34 @@ export class InsuranceManagementService extends ShipperBaseService { // } // a.remove(); } - + // getReceiptUrl(url: string, params: any) { + // const { bankType, snglFlgCd } = params; + // if (url) { + // if (params?.bankType === '1') { + // window.open(params?.receiptUrl); + // } else if (params?.bankType === '2') { + // window.open(url); + // // this.exportFile({ bankType, receiptUrl: url, bankSerialNumber: snglFlgCd }, this.$api_download_receipt_apply_byte); + // } + // } else { + // this.request(this.$api_download_receipt_apply, { ...params }).subscribe(res => { + // if (res?.receiptUrl) { + // if (bankType === '1') { + // window.open(res?.receiptUrl); + // } else if (bankType === '2') { + // window.open(res?.receiptUrl); + // // this.downloadFile(this.$api_download_receipt_apply_byte, { + // // bankType, + // // receiptUrl: res.receiptUrl, + // // bankSerialNumber: snglFlgCd + // // }); + // } + // } else { + // this.msgSrv.warning(res.statusMsg || '获取回单失败'); + // } + // }); + // } + // } constructor(public injector: Injector) { super(injector); } From 14c91d242bac2b22be67bb30c23bd25368f06f1c Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 14:00:32 +0800 Subject: [PATCH 21/44] edit --- proxy.conf.js | 2 +- .../abnormal-gold.component.less | 37 ----------------- .../abnormal-gold/abnormal-gold.component.ts | 41 +++++++++++-------- 3 files changed, 25 insertions(+), 55 deletions(-) delete mode 100644 src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.less diff --git a/proxy.conf.js b/proxy.conf.js index b8983842..72b8c166 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -20,7 +20,7 @@ module.exports = { // } '//api': { target: { - host: 'tms-api-dev.eascs.com', + host: 'tms-api-test.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.less b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.less deleted file mode 100644 index c5f2b1ea..00000000 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.less +++ /dev/null @@ -1,37 +0,0 @@ -:host::ng-deep { - .search-box { - .ant-card-body { - padding-bottom: 18px; - } - } - - .content-box { - .ant-card-body { - padding-top: 0; - } - } - - nz-range-picker { - width: 100%; - } - - .ant-tabs-tab-btn { - padding-left : 16px; - padding-right: 16px; - } -} - -.expend-options { - margin-top: 0px; -} - - -@media (min-width: 1200px) { - .expend-options { - max-width: 400px; - position : absolute; - right : 0; - bottom : 25px; - } - -} \ No newline at end of file diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts index 2affe91f..6482bcfa 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.ts @@ -9,7 +9,7 @@ import { ClearingModalComponent } from './clearing-modal/clearing-modal.componen @Component({ selector: 'app-abnormal-gold', templateUrl: './abnormal-gold.component.html', - styleUrls: ['./abnormal-gold.component.less'] + styleUrls: ['../../../commom/less/box.less', '../../../commom/less/expend-but.less'] }) export class AbnormalGoldComponent implements OnInit { @ViewChild('st', { static: true }) @@ -101,7 +101,7 @@ export class AbnormalGoldComponent implements OnInit { ], ui: { widget: 'select', - placeholder: '请选择', + placeholder: '请选择' }, default: '' }, @@ -154,18 +154,25 @@ export class AbnormalGoldComponent implements OnInit { private initST(): STColumn[] { return [ - { title: '银行流水号', index: 'paySerialNumber', width: 150 }, - { title: '网络货运人', index: 'ltdId', width: 120 }, - { title: '银行类型', index: 'callNo', width: 100, type: 'enum', enum: { 1: '平安银行', 2: '浦发银行' } }, - { title: '资金总账号', index: 'callNo', width: 120 }, - { title: '充值金额', index: 'rechargeAmount', width: 100 }, - { title: '付款账户', index: 'transferBankAccount', width: 100 }, - { title: '付款账号', index: 'transferBankCardNumber', width: 100 }, - { title: '付款银行', index: 'transferBankOpenName', width: 100 }, + { title: '银行流水号', index: 'paySerialNumber', width: 180 }, + { title: '网络货运人', index: 'ltdName', width: 220 }, + { title: '银行类型', index: 'bankTypeLabel', width: 100 }, + { title: '资金总账号', index: 'virtualAccount', width: 180 }, + { + title: '充值金额', + index: 'rechargeAmount', + width: 140, + type: 'widget', + className: 'text-right', + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.rechargeAmount }) } + }, + { title: '付款账户', index: 'transferBankAccount', width: 180 }, + { title: '付款账号', index: 'transferBankCardNumber', width: 180 }, + { title: '付款银行', index: 'transferBankOpenName', width: 220 }, { title: '转账时间', index: 'transferDate', type: 'date', width: 150 }, - { title: '转账备注', index: 'rechargeRemark', width: 100 }, - { title: '操作人', index: 'rechargeName', width: 90 }, - { title: '操作时间', index: 'callNo', type: 'date', width: 150 }, + { title: '转账备注', index: 'remark', width: 100 }, + { title: '操作人', index: 'rechargeName', width: 140 }, + { title: '操作时间', index: 'callNo', type: 'date', width: 160 }, { title: '状态', index: 'callNo', width: 90 }, { title: '操作', @@ -181,8 +188,8 @@ export class AbnormalGoldComponent implements OnInit { } ]; } - // 导出 - exprot() { - this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAbnormalAmountPage); - } + // 导出 + exprot() { + this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAbnormalAmountPage); + } } From faf399ca4460588a702fc1f1893fb41f1448f7b6 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 14:10:28 +0800 Subject: [PATCH 22/44] edit --- .../transaction-flow/transaction-flow.component.ts | 14 ++++++++++++-- .../services/freight-account.service.ts | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts b/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts index 7f26b5ca..0e7987e9 100644 --- a/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts +++ b/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts @@ -91,6 +91,16 @@ export class TransactionFlowComponent { placeholder: '请输入' } }, + orderSn: { + type: 'string', + title: '订单号', + ui: { + placeholder: '请输入', + visibleIf: { + expand: (value: boolean) => value + } + } + }, tradeType: { type: 'string', title: '交易类型', @@ -216,6 +226,7 @@ export class TransactionFlowComponent { { title: '流水号', index: 'transactionNumber', width: 180 }, { title: '交易类型', index: 'tradeTypeLabel', width: 120 }, { title: '关联单号', index: 'businessNumber', width: 150 }, + { title: '订单号', index: 'orderSn', width: 150 }, { title: '账户类型', index: 'accountTypeLabel', width: 130 }, { title: '账户名称', index: 'roleName', width: 180 }, { title: '所属项目', index: 'projectName', width: 140 }, @@ -262,7 +273,6 @@ export class TransactionFlowComponent { ]; } exportList() { - - this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceDetailPage,); + this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceDetailPage); } } diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts index 9056f8d9..c550bfde 100644 --- a/src/app/routes/financial-management/services/freight-account.service.ts +++ b/src/app/routes/financial-management/services/freight-account.service.ts @@ -173,7 +173,7 @@ export class FreightAccountService extends ShipperBaseService { const { bankType, snglFlgCd } = params; if (url) { if (params?.bankType === '1') { - window.open(params?.receiptUrl); + window.open(url); } else if (params?.bankType === '2') { window.open(url); // this.exportFile({ bankType, receiptUrl: url, bankSerialNumber: snglFlgCd }, this.$api_download_receipt_apply_byte); From 461bf39813afcf1f3611bfcf0ed913fa4b110745 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 14:52:48 +0800 Subject: [PATCH 23/44] fix bug --- proxy.conf.js | 4 +- .../customindex/customindex.component.html | 10 ++--- .../customindex/customindex.component.ts | 2 +- .../datascreen/datascreen.component.html | 24 +++++------ .../datascreen/datascreen.component.less | 6 ++- .../datascreen/datascreen.component.ts | 22 +++++----- .../datascreen/map/map.component.ts | 20 +++++---- .../services/insurance-management.service.ts | 41 ++++++------------- .../components/risk/risk.component.ts | 4 +- 9 files changed, 61 insertions(+), 72 deletions(-) diff --git a/proxy.conf.js b/proxy.conf.js index b8983842..6a0a73cf 100644 --- a/proxy.conf.js +++ b/proxy.conf.js @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-18 09:51:21 * @LastEditors : Shiming - * @LastEditTime : 2022-04-14 11:38:39 + * @LastEditTime : 2022-04-14 14:40:51 * @FilePath : \\tms-obc-web\\proxy.conf.js * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -20,7 +20,7 @@ module.exports = { // } '//api': { target: { - host: 'tms-api-dev.eascs.com', + host: 'tms-api-test.eascs.com', protocol: 'https:', port: 443 }, diff --git a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html index 9dfc91aa..19875e13 100644 --- a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html +++ b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-06 13:20:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-06 20:24:20 + * @LastEditTime : 2022-04-14 14:37:25 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\customtable\\customindex\\customindex.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -12,19 +12,19 @@
- +
- +
- +
- +
diff --git a/src/app/routes/datatable/components/customtable/customindex/customindex.component.ts b/src/app/routes/datatable/components/customtable/customindex/customindex.component.ts index 27b8a1ff..5d8edf23 100644 --- a/src/app/routes/datatable/components/customtable/customindex/customindex.component.ts +++ b/src/app/routes/datatable/components/customtable/customindex/customindex.component.ts @@ -38,7 +38,7 @@ export class DatatableCustomindexComponent implements OnInit { { title: '未激活用户数', index: 'notActivationTotal', className: 'text-center' }, { title: '沉默用户数', index: 'silentTotal', className: 'text-center' }, { title: '流失用户数', index: 'drainTotal', className: 'text-center' }, - { title: '流失率', index: 'drainRate', className: 'text-center',format: (item: any) => {return (item?.drainRate)*100 + '%' }} + { title: '流失率', index: 'drainRate', className: 'text-center',format: (item: any) => {return ((item?.drainRate)*100).toFixed(2) + '%' }} ]; hzData: any; hhrData: any; diff --git a/src/app/routes/datatable/components/datascreen/datascreen.component.html b/src/app/routes/datatable/components/datascreen/datascreen.component.html index e614479a..2bad58ef 100644 --- a/src/app/routes/datatable/components/datascreen/datascreen.component.html +++ b/src/app/routes/datatable/components/datascreen/datascreen.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-06 10:57:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 15:20:32 + * @LastEditTime : 2022-04-14 14:25:03 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\datascreen\\datascreen.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -22,7 +22,7 @@

实时交易监控

-
+
@@ -45,13 +45,12 @@ - + - - - + +
+ +
+ - +
@@ -152,12 +153,11 @@ - + tr > th, .ant-table-tbody > tr > td, .ant-table tfoot > tr > th, .ant-table tfoot > tr > td { + padding: 0; + font-size: 12px; } } } \ No newline at end of file diff --git a/src/app/routes/datatable/components/datascreen/datascreen.component.ts b/src/app/routes/datatable/components/datascreen/datascreen.component.ts index 128e3f9e..ba2a32f4 100644 --- a/src/app/routes/datatable/components/datascreen/datascreen.component.ts +++ b/src/app/routes/datatable/components/datascreen/datascreen.component.ts @@ -5,7 +5,7 @@ import { map } from 'rxjs/operators'; * @Author : Shiming * @Date : 2022-04-06 10:57:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-13 10:25:50 + * @LastEditTime : 2022-04-14 14:05:01 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\datascreen\\datascreen.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -127,20 +127,20 @@ export class DatatableDatascreenComponent implements OnInit { */ initST() { this.columns = [ - { title: '序号', render: 'index', className: 'text-center', width: '70px', }, - { title: '发货地', index: 'loadAddress', className: 'text-center', width: '90px' }, - { title: '卸货地', index: 'dischargeAddress', className: 'text-center', width: '90px' }, - { title: '货物', index: 'goodsName', className: 'text-center', width: '90px' }, - { title: '数量', render: 'weight', className: 'text-center', width: '120px' } + { title: '序号', render: 'index', className: 'text-center', }, + { title: '发货地', index: 'loadAddress', className: 'text-center', }, + { title: '卸货地', index: 'dischargeAddress', className: 'text-center',}, + { title: '货物', index: 'goodsName', className: 'text-center', }, + { title: '数量', render: 'weight', className: 'text-center',} ]; } initOrderST() { this.orderColumns = [ - { title: '运单号', index: 'wayCode', className: 'text-center', width: '150px' }, - { title: '司机/车辆', index: 'carNo', className: 'text-center', width: '120px' }, - { title: '货主', index: 'shipperName', className: 'text-center', width: '200px' }, - { title: '时间', index: 'createTime', className: 'text-center', width: '200px' }, - { title: '异常预警', index: 'warningTypeLabel', className: 'text-center', width: '120px' } + { title: '运单号', index: 'wayCode', className: 'text-center', }, + { title: '司机/车辆', index: 'carNo', className: 'text-center', }, + { title: '货主', index: 'shipperName', className: 'text-center', }, + { title: '时间', index: 'createTime', className: 'text-center', }, + { title: '异常预警', index: 'warningTypeLabel', className: 'text-center',} ]; } diff --git a/src/app/routes/datatable/components/datascreen/map/map.component.ts b/src/app/routes/datatable/components/datascreen/map/map.component.ts index 23d25d80..739e2592 100644 --- a/src/app/routes/datatable/components/datascreen/map/map.component.ts +++ b/src/app/routes/datatable/components/datascreen/map/map.component.ts @@ -95,8 +95,8 @@ export class DatatableCustomindexMapComponent implements OnInit, OnChanges, Afte if(res) { res.forEach((element: any) => { value.push({ - name: element.province, - value: element.weight, + '省份': element.province, + '订单数': element.weight, }); }); console.log(value); @@ -107,17 +107,19 @@ if (!(this.userData instanceof Array) || this.userData.length === 0) { } this.userDv = this.ds.createView().source(this.userData).transform({ geoDataView: this.worldMap, - field: 'name', + field: '省份', type: 'geo.region', as: ['longitude', 'latitude'] }).transform({ type: 'map', - callback: (obj: { trend: string; value: number }) => { - if(obj.value < 500) { + callback: (obj: { trend: string; 订单数: number }) => { + console.log(obj); + + if(obj.订单数 < 500) { obj.trend = '500以下'; - } else if(obj.value >= 500 && obj.value < 1000){ + } else if(obj.订单数 >= 500 && obj.订单数 < 1000){ obj.trend = '500-1000'; - } else if(obj.value >= 1000 ){ + } else if(obj.订单数 >= 1000 ){ obj.trend = '>1000'; } return obj; @@ -127,13 +129,13 @@ if (!(this.userData instanceof Array) || this.userData.length === 0) { this.userView.data(this.userDv.rows); this.userView.scale({ trend: { - alias: '蓝色地区数量' + alias: '订单交易数量' } }); console.log(this.userView); console.log('45545'); - this.userView.polygon().position('longitude*latitude').color('trend', ['#0a3f80', '#1b6aca', '#5d93d4']).tooltip('name*trend*value').style({fillOpacity: 0.85 }) + this.userView.polygon().position('longitude*latitude').color('trend', ['#0a3f80', '#1b6aca', '#5d93d4']).tooltip('省份*订单数').style({fillOpacity: 0.85 }) .animate({ leave: { animation: 'fade-out' diff --git a/src/app/routes/insurance-management/services/insurance-management.service.ts b/src/app/routes/insurance-management/services/insurance-management.service.ts index 413d2a7d..cd35b120 100644 --- a/src/app/routes/insurance-management/services/insurance-management.service.ts +++ b/src/app/routes/insurance-management/services/insurance-management.service.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2021-12-03 15:31:52 * @LastEditors : Shiming - * @LastEditTime : 2022-04-11 15:13:24 + * @LastEditTime : 2022-04-14 11:43:13 * @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\services\\insurance-management.service.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -55,34 +55,17 @@ export class InsuranceManagementService extends ShipperBaseService { // } // a.remove(); } - // getReceiptUrl(url: string, params: any) { - // const { bankType, snglFlgCd } = params; - // if (url) { - // if (params?.bankType === '1') { - // window.open(params?.receiptUrl); - // } else if (params?.bankType === '2') { - // window.open(url); - // // this.exportFile({ bankType, receiptUrl: url, bankSerialNumber: snglFlgCd }, this.$api_download_receipt_apply_byte); - // } - // } else { - // this.request(this.$api_download_receipt_apply, { ...params }).subscribe(res => { - // if (res?.receiptUrl) { - // if (bankType === '1') { - // window.open(res?.receiptUrl); - // } else if (bankType === '2') { - // window.open(res?.receiptUrl); - // // this.downloadFile(this.$api_download_receipt_apply_byte, { - // // bankType, - // // receiptUrl: res.receiptUrl, - // // bankSerialNumber: snglFlgCd - // // }); - // } - // } else { - // this.msgSrv.warning(res.statusMsg || '获取回单失败'); - // } - // }); - // } - // } + getReceiptUrl(url: string, params: any) { + const { bankType, snglFlgCd } = params; + if (url) { + if (params?.bankType === '1') { + window.open(params?.receiptUrl); + } else if (params?.bankType === '2') { + window.open(url); + // this.exportFile({ bankType, receiptUrl: url, bankSerialNumber: snglFlgCd }, this.$api_download_receipt_apply_byte); + } + } + } constructor(public injector: Injector) { super(injector); } diff --git a/src/app/routes/order-management/components/risk/risk.component.ts b/src/app/routes/order-management/components/risk/risk.component.ts index 898ad94a..400d1fb0 100644 --- a/src/app/routes/order-management/components/risk/risk.component.ts +++ b/src/app/routes/order-management/components/risk/risk.component.ts @@ -201,7 +201,7 @@ export class OrderManagementRiskComponent implements OnInit { } } as SFSelectWidgetSchema }, - shipperId: { + shipperAppUserName: { type: 'string', title: '托运人', ui: { @@ -218,7 +218,7 @@ export class OrderManagementRiskComponent implements OnInit { if (str) { return this.service .request(this.service.$api_enterpriceList, { enterpriseName: str }) - .pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.id } as SFSchemaEnum)))) + .pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.enterpriseName } as SFSchemaEnum)))) .toPromise(); } else { return of([]); From 540ea2ee588f807b569096420f40c13560379f90 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 15:37:03 +0800 Subject: [PATCH 24/44] fix bug --- .../customindex/customindex.component.html | 14 +++++++------- .../customindex/customindex.component.ts | 4 +++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html index 19875e13..6606c383 100644 --- a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html +++ b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-06 13:20:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-14 14:37:25 + * @LastEditTime : 2022-04-14 15:36:53 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\customtable\\customindex\\customindex.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -16,7 +16,7 @@
- +
@@ -32,24 +32,24 @@
- +
{return ((item?.drainRate)*100).toFixed(2) + '%' }} ]; hzData: any; - hhrData: any; + hhrData: any = { + total: 0 + }; sjData: any; clData: any; reportData: any = []; From 4a52639e791dbb916bc58c90716e977a7acd8b51 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 15:44:41 +0800 Subject: [PATCH 25/44] fix bug --- .../customindex/customindex.component.html | 20 +++++++++---------- .../customindex/customindex.component.ts | 3 +++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html index 6606c383..dece86a1 100644 --- a/src/app/routes/datatable/components/customtable/customindex/customindex.component.html +++ b/src/app/routes/datatable/components/customtable/customindex/customindex.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-04-06 13:20:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-14 15:36:53 + * @LastEditTime : 2022-04-14 15:43:56 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\customtable\\customindex\\customindex.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -12,19 +12,19 @@
- +
- +
- +
- +
@@ -32,24 +32,24 @@
- +
{ if (res) { + this.hhrData = res; + console.log(this.hhrData); + } }); this.service.request(this.service.$api_statistics_total, { type: 3 }).subscribe(res => { From bfbcb144aea74f9faa7f28dfc265e758f2593f83 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 15:49:24 +0800 Subject: [PATCH 26/44] fix bug --- .../datascreen/datascreen.component.html | 53 ++++++++++--------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/src/app/routes/datatable/components/datascreen/datascreen.component.html b/src/app/routes/datatable/components/datascreen/datascreen.component.html index 2bad58ef..625f4869 100644 --- a/src/app/routes/datatable/components/datascreen/datascreen.component.html +++ b/src/app/routes/datatable/components/datascreen/datascreen.component.html @@ -4,25 +4,28 @@ * @Author : Shiming * @Date : 2022-04-06 10:57:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-14 14:25:03 + * @LastEditTime : 2022-04-14 15:48:32 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\datascreen\\datascreen.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> -
-
-

运多星网络货运平台

-
-   - {{todayTime}} +
+
+

运多星网络货运平台

+
+   + {{ todayTime }}
- -

实时交易监控

+

实时交易监控

-
+
@@ -42,15 +45,15 @@ - - + + - + - -
- -
- + +
+ +
+ - +
@@ -153,11 +156,11 @@ - + - - {{ item?.driverName }}{{ item?.carNo ? '/' + item?.carNo : '' }} - + + {{ item?.driverName }}{{ item?.carNo ? '/' + item?.carNo : '' }} +
From c64ae3a93a87449c4b31b8f155fa8022202db5a2 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 15:53:12 +0800 Subject: [PATCH 27/44] fix bug --- .../datatable/components/datascreen/datascreen.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/datatable/components/datascreen/datascreen.component.html b/src/app/routes/datatable/components/datascreen/datascreen.component.html index 625f4869..9468c1c8 100644 --- a/src/app/routes/datatable/components/datascreen/datascreen.component.html +++ b/src/app/routes/datatable/components/datascreen/datascreen.component.html @@ -21,7 +21,7 @@
-

实时交易监控

From f395483903fa83d05b1b6e56eb6282f59a051547 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 16:12:32 +0800 Subject: [PATCH 28/44] edit --- .../abnormal-gold-detail.component.html | 55 +++++++++++++++++++ .../abnormal-gold-detail.component.less | 0 .../abnormal-gold-detail.component.ts | 45 +++++++++++++++ .../abnormal-gold.component.html | 8 +-- .../abnormal-gold/abnormal-gold.component.ts | 20 +++++-- .../financial-managemen-routing.module.ts | 2 + .../financial-management.module.ts | 4 +- .../services/freight-account.service.ts | 3 + 8 files changed, 126 insertions(+), 11 deletions(-) create mode 100644 src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.html create mode 100644 src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.less create mode 100644 src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.html b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.html new file mode 100644 index 00000000..4e5096af --- /dev/null +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.html @@ -0,0 +1,55 @@ + + + + + + + +
+ + {{formData?.ltdName}} + + + {{formData?.bankTypeLabel}} + + + {{formData?.virtualAccount}} + + + {{formData?.transferBankAccount}} + + + {{formData?.rechargeAmount | currency}} + + + {{formData?.transferBankOpenName}} + + + {{formData?.rechargeStatusLabel}} + + + {{formData?.rechargeRemark}} + + + {{formData?.createTime}} + + + {{formData?.refundTime}} + + + {{formData?.paySerialNumber}} + + + {{formData?.paySerialNumber2}} + + + {{formData?.refundStatus==='3'?'查看回单':'暂无回单'}} + + + {{formData?.refundStatus==='3'?'查看回单':'暂无回单'}} + +
+ +
\ No newline at end of file diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.less b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.less new file mode 100644 index 00000000..e69de29b diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts new file mode 100644 index 00000000..1a7730c9 --- /dev/null +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts @@ -0,0 +1,45 @@ +import { Component, OnInit } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { FreightAccountService } from '../../../services/freight-account.service'; + +@Component({ + selector: 'app-abnormal-gold-detail', + templateUrl: './abnormal-gold-detail.component.html', + styleUrls: ['./abnormal-gold-detail.component.less'] +}) +export class AbnormalGoldDetailComponent implements OnInit { + formData: any = {}; + + constructor(public service: FreightAccountService, private route: ActivatedRoute) { + const id = route.snapshot.params.id; + this.loadRefundDetail(id); + } + + ngOnInit(): void {} + + loadRefundDetail(id: string) { + this.service.request(this.service.$api_get_getAbnormalAmount_detail, { id }).subscribe(res => { + if (res) { + this.formData = res; + } + }); + } + + downBack() { + if (this.formData?.refundStatus !== '3') { + return; + } + this.service.getReceiptUrl(this.formData.receiptUrl, { + bankType: this.formData.bankType, + rmYll: this.formData.userId, + snglFlgCd: this.formData.coreSerNo, + bussType: '06', + ltdId: this.formData.ltdId, + accountType: this.formData.accountType + }); + } + + goBack() { + history.go(-1); + } +} diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html index 04df021a..593c1e97 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold.component.html @@ -16,7 +16,7 @@ @@ -35,9 +35,9 @@ - - - + + + { + Object.assign(requestOptions.body, { rechargeStatus: this.rechargeStatus }); if (this.sf) { Object.assign(requestOptions.body, { ...this.sf.value }); } return requestOptions; }; + changePaymentStatus(status: string) { + this.rechargeStatus = status; + this.st.load(1); + } + refund(item: any) { this.nzModalService.warning({ nzTitle: '确定要将该笔款项原路退回?', @@ -169,11 +176,12 @@ export class AbnormalGoldComponent implements OnInit { { title: '付款账户', index: 'transferBankAccount', width: 180 }, { title: '付款账号', index: 'transferBankCardNumber', width: 180 }, { title: '付款银行', index: 'transferBankOpenName', width: 220 }, - { title: '转账时间', index: 'transferDate', type: 'date', width: 150 }, - { title: '转账备注', index: 'remark', width: 100 }, - { title: '操作人', index: 'rechargeName', width: 140 }, - { title: '操作时间', index: 'callNo', type: 'date', width: 160 }, - { title: '状态', index: 'callNo', width: 90 }, + { title: '转账时间', index: 'createTime', type: 'date', width: 150 }, + { title: '转账备注', index: 'rechargeRemark', width: 180 }, + { title: '退款时间', index: 'refundTime', type: 'date', width: 150 }, + // { title: '操作人', index: 'rechargeName', width: 140 }, + // { title: '操作时间', index: 'callNo', type: 'date', width: 160 }, + { title: '状态', index: 'rechargeStatusLabel', width: 110 }, { title: '操作', fixed: 'right', @@ -182,7 +190,7 @@ export class AbnormalGoldComponent implements OnInit { buttons: [ { text: '查看', - click: item => this.router.navigate(['/financial-management/withdrawals-record/detail/1']) + click: item => this.router.navigate(['/financial-management/abnormal-gold/detail/' + item.id]) } ] } diff --git a/src/app/routes/financial-management/financial-managemen-routing.module.ts b/src/app/routes/financial-management/financial-managemen-routing.module.ts index e1a67109..cd54afa6 100644 --- a/src/app/routes/financial-management/financial-managemen-routing.module.ts +++ b/src/app/routes/financial-management/financial-managemen-routing.module.ts @@ -32,6 +32,7 @@ import { PlatformAccountDetailComponent } from './components/platform-account/pl import { AdvanceCollectionComponent } from './components/advance-collection/advance-collection.component'; import { AdvanceCollectionDetailComponent } from './components/advance-collection/advance-collection-detail/advance-collection-detail.component'; import { RefundRecordComponent } from './components/refund-record/refund-record.component'; +import { AbnormalGoldDetailComponent } from './components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component'; const routes: Routes = [ { path: 'freight-account', component: FreightAccountComponent, data: { guard: { ability: ['FINANCIAL-FREIGHT-ACOUNT-list'] } } }, @@ -55,6 +56,7 @@ const routes: Routes = [ { path: 'cost-management/expenses-receivable/:id', component: ExpensesReceivableComponent }, { path: 'cost-management/expenses-payable/:id', component: ExpensesPayableComponent }, { path: 'abnormal-gold', component: AbnormalGoldComponent }, + { path: 'abnormal-gold/detail/:id', component: AbnormalGoldDetailComponent }, { path: 'payment-record', component: PaymentRecordComponent }, { path: 'transaction-flow', component: TransactionFlowComponent }, { path: 'payment-order', component: PaymentOrderComponent }, diff --git a/src/app/routes/financial-management/financial-management.module.ts b/src/app/routes/financial-management/financial-management.module.ts index 5844f4a2..c17c335d 100644 --- a/src/app/routes/financial-management/financial-management.module.ts +++ b/src/app/routes/financial-management/financial-management.module.ts @@ -35,6 +35,7 @@ import { PlatformAccountDetailComponent } from './components/platform-account/pl import { AdvanceCollectionComponent } from './components/advance-collection/advance-collection.component'; import { AdvanceCollectionDetailComponent } from './components/advance-collection/advance-collection-detail/advance-collection-detail.component'; import { RefundRecordComponent } from './components/refund-record/refund-record.component'; +import { AbnormalGoldDetailComponent } from './components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component'; const ROUTESCOMPONENTS = [ FreightAccountComponent, @@ -66,7 +67,8 @@ const ROUTESCOMPONENTS = [ ReceiptOrderDetailComponent, AdvanceCollectionComponent, AdvanceCollectionDetailComponent, - RefundRecordComponent + RefundRecordComponent, + AbnormalGoldDetailComponent ]; const NOTROUTECOMPONENTS = [DriverAccountDetailComponent, FreightAccountDetailComponent, ClearingModalComponent]; diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts index c550bfde..a58055d5 100644 --- a/src/app/routes/financial-management/services/freight-account.service.ts +++ b/src/app/routes/financial-management/services/freight-account.service.ts @@ -156,6 +156,9 @@ export class FreightAccountService extends ShipperBaseService { // 查询异常入金充值信息 $api_get_getAbnormalAmountPage = '/api/fcc/rechargeInfo/list/getAbnormalAmountPage'; + // 查询异常入金充值信息详情 + $api_get_getAbnormalAmount_detail = '/api/fcc/rechargeInfo/get'; + // 异步导出运营后台异常入金列表 $api_get_exportAbnormalAmountPage = '/api/fcc/rechargeInfo/exportAbnormalAmountPage'; // 异步导出运营后台退款记录列表 From 67ca5f4cb39c2210d70244eb9b4bdcaa4fc920c3 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 16:19:54 +0800 Subject: [PATCH 29/44] fix bug --- .../datascreen/datascreen.component.html | 2 +- .../datascreen/datascreen.component.ts | 16 +++++++++++----- .../components/datascreen/map/map.component.ts | 13 +------------ 3 files changed, 13 insertions(+), 18 deletions(-) diff --git a/src/app/routes/datatable/components/datascreen/datascreen.component.html b/src/app/routes/datatable/components/datascreen/datascreen.component.html index 9468c1c8..27fec9ba 100644 --- a/src/app/routes/datatable/components/datascreen/datascreen.component.html +++ b/src/app/routes/datatable/components/datascreen/datascreen.component.html @@ -93,7 +93,7 @@
- +
diff --git a/src/app/routes/datatable/components/datascreen/datascreen.component.ts b/src/app/routes/datatable/components/datascreen/datascreen.component.ts index ba2a32f4..3c1448fd 100644 --- a/src/app/routes/datatable/components/datascreen/datascreen.component.ts +++ b/src/app/routes/datatable/components/datascreen/datascreen.component.ts @@ -5,7 +5,7 @@ import { map } from 'rxjs/operators'; * @Author : Shiming * @Date : 2022-04-06 10:57:56 * @LastEditors : Shiming - * @LastEditTime : 2022-04-14 14:05:01 + * @LastEditTime : 2022-04-14 16:19:06 * @FilePath : \\tms-obc-web\\src\\app\\routes\\datatable\\components\\datascreen\\datascreen.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -44,7 +44,7 @@ export class DatatableDatascreenComponent implements OnInit { monthData: G2TimelineData[] = []; monthData2:G2TimelineData[] =[]; - salesData2: Array = this.genData(); + salesData2: Array = []; constructor(public service: DataService) {} ngOnChanges(changes: any): void { console.log(changes); @@ -81,6 +81,7 @@ export class DatatableDatascreenComponent implements OnInit { this.service.request(this.service.$api_getAnnualTransactions).subscribe((res: any) => { this.allDeal = res; }); + this.initPillarData() this.service.request(this.service.$api_getTransactionAmount).subscribe((res: any) => { this.headDeal = res; }); @@ -105,8 +106,12 @@ export class DatatableDatascreenComponent implements OnInit { } }); } - public genData(): G2MiniAreaData[] { + genData(): any{ let value: any = []; + console.log('9999999'); + + // let value: any = [{city: '深圳市', weight: 5070.4} + // ,{city: '济宁市', weight: 338}]; this.service.request(this.service.$api_getShipmentRanking).subscribe((res: any) => { console.log(res); res.forEach((element: any) => { @@ -115,12 +120,13 @@ export class DatatableDatascreenComponent implements OnInit { y: element.weight }); }); + this.salesData2 = value }); console.log(value); - return value; } initPillarData(){ - this.curve.reRender() + // this.curve.reRender() + this.genData(); } /** * 初始化数据列表 diff --git a/src/app/routes/datatable/components/datascreen/map/map.component.ts b/src/app/routes/datatable/components/datascreen/map/map.component.ts index 739e2592..90927785 100644 --- a/src/app/routes/datatable/components/datascreen/map/map.component.ts +++ b/src/app/routes/datatable/components/datascreen/map/map.component.ts @@ -22,7 +22,7 @@ export class DatatableCustomindexMapComponent implements OnInit, OnChanges, Afte constructor(private service: DataService, private ngZone: NgZone) {} ngAfterViewInit(): void { this.map.el.nativeElement.style.height = this.map.el.nativeElement.clientWidth + 'px' - this.chart.render(); + this.chart?.render(); } ngOnChanges(changes: SimpleChanges): void { @@ -35,7 +35,6 @@ export class DatatableCustomindexMapComponent implements OnInit, OnChanges, Afte ngOnInit(): void {} reRender() { - console.log('5454545'); setTimeout(() => { this.chart.render(); }, 1000); @@ -75,7 +74,6 @@ export class DatatableCustomindexMapComponent implements OnInit, OnChanges, Afte this.chart.legend('trend', { position: 'left' }); - console.log('8888'); // 绘制世界地图背景 this.ds = new DataSet(); @@ -99,7 +97,6 @@ export class DatatableCustomindexMapComponent implements OnInit, OnChanges, Afte '订单数': element.weight, }); }); - console.log(value); this.userData = value if (!(this.userData instanceof Array) || this.userData.length === 0) { @@ -113,7 +110,6 @@ if (!(this.userData instanceof Array) || this.userData.length === 0) { }).transform({ type: 'map', callback: (obj: { trend: string; 订单数: number }) => { - console.log(obj); if(obj.订单数 < 500) { obj.trend = '500以下'; @@ -132,9 +128,6 @@ if (!(this.userData instanceof Array) || this.userData.length === 0) { alias: '订单交易数量' } }); - console.log(this.userView); - console.log('45545'); - this.userView.polygon().position('longitude*latitude').color('trend', ['#0a3f80', '#1b6aca', '#5d93d4']).tooltip('省份*订单数').style({fillOpacity: 0.85 }) .animate({ leave: { @@ -147,10 +140,6 @@ if (!(this.userData instanceof Array) || this.userData.length === 0) { } }) }); - - console.log('9999'); - - } } From cca5e0238497df2b9dd8a97492c05b5cfc36ff5a Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 16:25:58 +0800 Subject: [PATCH 30/44] edit --- .../individual-declare.component.ts | 45 ++++++++++--------- .../cancellation-invoice.component.ts | 20 ++++++--- 2 files changed, 37 insertions(+), 28 deletions(-) diff --git a/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts b/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts index 4dd8bb7d..65af6ff6 100644 --- a/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts +++ b/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts @@ -161,7 +161,10 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { ui: { placeholder: '请选择', widget: 'select', - containsAllLabel: true + containsAllLabel: true, + visibleIf: { + _$expand: (value: boolean) => value + } }, default: '' }, @@ -271,39 +274,39 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { } /** - *撤销 + *更正 * @param record 记录实例 */ recall() { if (this.selectedRows.length === 0) { - this.openWainingModal('请选择需要撤回的数据'); + this.openWainingModal('请选择需要更正的数据'); return; } - this.modal.confirm({ - nzTitle: '撤回提示', - nzContent: ' 撤回后可以重新上传,重新上传会覆盖已上传数据,确定要撤回?', - nzOkText: '确定', - nzCancelText: '取消', - nzOnOk: () => { - this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => { - if (res) { - this.service.msgSrv.success('撤销成功'); - this.search(); - } - }); - } - }); + // this.modal.confirm({ + // nzTitle: '撤回提示', + // nzContent: ' 撤回后可以重新上传,重新上传会覆盖已上传数据,确定要撤回?', + // nzOkText: '确定', + // nzCancelText: '取消', + // nzOnOk: () => { + // this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => { + // if (res) { + // this.service.msgSrv.success('撤销成功'); + // this.search(); + // } + // }); + // } + // }); } /** - *撤销 + *修改 * @param record 记录实例 */ uploadSetting() { if (this.selectedRows.length === 0) { - this.openWainingModal('请选择需要更新的数据!'); + this.openWainingModal('请选择需要修改的数据!'); return; } - this.isVisible = true + // this.isVisible = true } /** @@ -370,7 +373,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { */ upload() { if (this.selectedRows.length === 0) { - this.openWainingModal('请选择需要上传的数据'); + this.openWainingModal('请选择需要申报的数据'); return; } // this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => { diff --git a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts index 39e8bd93..a9d95464 100644 --- a/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts +++ b/src/app/routes/ticket-management/components/cancellation-invoice/cancellation-invoice.component.ts @@ -39,17 +39,23 @@ export class CancellationInvoiceComponent implements OnInit { beforeReq = (requestOptions: STRequestOptions) => { if (this.sf) { Object.assign(requestOptions.body, { - ...this.sf.value, - createTime: { - start: this.sf.value.createTime?.[0] || '', - end: this.sf.value.createTime?.[1] || '' - } + ...this.sf.value }); + if (this.sf.value.createTime) { + Object.assign(requestOptions.body, { + createTime: { + start: this.sf.value.createTime?.[0] || '', + end: this.sf.value.createTime?.[1] || '' + } + }); + } } if (this.resourceStatus) { Object.assign(requestOptions.body, { sts: this.resourceStatus }); + } else { + delete requestOptions.body.sts; } return requestOptions; }; @@ -339,7 +345,7 @@ export class CancellationInvoiceComponent implements OnInit { click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.vatappHId]) }, { title: '申请时间', index: 'createTime', type: 'date', width: 150 }, - { title: '发票类型', index: 'vatapptypeLabel', width: 150 }, + { title: '发票类型', index: 'vatapptypeLabel', width: 150 }, { title: '网络货运人', index: 'ltdName', width: 220 }, { title: '购买人', index: 'artoname', width: 220 }, { title: '订单数', index: 'ordlines', width: 90, className: 'text-right' }, @@ -401,7 +407,7 @@ export class CancellationInvoiceComponent implements OnInit { text: '手工开票
', iif: item => item.sts != '3', click: item => this.requestedAction(item) - }, + } // { // text: '推送开票
', // iif: item => item.sts === '1', From bf21ac030b346c061c76dbf05007435eef06a5b0 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 16:31:50 +0800 Subject: [PATCH 31/44] edit --- .../voucher-summary/voucher-summary.component.html | 4 ++-- .../voucher-summary/voucher-summary.component.ts | 10 +++++++--- .../services/freight-account.service.ts | 2 ++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.html b/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.html index 0c1d57e9..5f5f53c7 100644 --- a/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.html +++ b/src/app/routes/financial-management/components/voucher-summary/voucher-summary.component.html @@ -22,8 +22,8 @@ [class.expend-options]="_$expand"> -
- +
- +
司机姓名:张三/13812345678
是否确认要将该司机的起征点同步调整为超过15万?
@@ -88,4 +75,4 @@ -
+
\ No newline at end of file From 2ef736324b5f3d8170663cec3308e337b87fd6a2 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 16:39:27 +0800 Subject: [PATCH 34/44] edit --- .../individual-collect/individual-collect.component.html | 4 ++-- .../components/order-reporting/order-reporting.component.html | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/routes/tax-management/components/individual-collect/individual-collect.component.html b/src/app/routes/tax-management/components/individual-collect/individual-collect.component.html index 17ea49f8..139be577 100644 --- a/src/app/routes/tax-management/components/individual-collect/individual-collect.component.html +++ b/src/app/routes/tax-management/components/individual-collect/individual-collect.component.html @@ -18,8 +18,8 @@ [compact]="true" [button]="'none'">
- +
- +
\ No newline at end of file diff --git a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts index 1a7730c9..af5d81dd 100644 --- a/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts +++ b/src/app/routes/financial-management/components/abnormal-gold/abnormal-gold-detail/abnormal-gold-detail.component.ts @@ -25,15 +25,15 @@ export class AbnormalGoldDetailComponent implements OnInit { }); } - downBack() { + downBack(bussType: string, receiptUrl: string) { if (this.formData?.refundStatus !== '3') { return; } - this.service.getReceiptUrl(this.formData.receiptUrl, { + this.service.getReceiptUrl(receiptUrl, { bankType: this.formData.bankType, rmYll: this.formData.userId, snglFlgCd: this.formData.coreSerNo, - bussType: '06', + bussType, ltdId: this.formData.ltdId, accountType: this.formData.accountType }); From 7e50c5c770dbe2dd976ddf1bcc2dda37f58c0410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E6=99=93=E4=BA=91?= Date: Thu, 14 Apr 2022 17:05:47 +0800 Subject: [PATCH 39/44] - --- .../verify-result/verify-result.component.ts | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/app/routes/datatable/reporting/components/verify-result/verify-result.component.ts b/src/app/routes/datatable/reporting/components/verify-result/verify-result.component.ts index 0ae727c7..cd63765c 100644 --- a/src/app/routes/datatable/reporting/components/verify-result/verify-result.component.ts +++ b/src/app/routes/datatable/reporting/components/verify-result/verify-result.component.ts @@ -91,14 +91,26 @@ export class DatatableReportingVerifyResultComponent implements OnInit { } update() { - if (this.record?.billType === '1') { - window.open(location.origin + `/#/order-management/vehicle-detailChange/${this.record?.id}`) - - } else if (this.record.billType === '2') { - window.open(location.origin + `/#/order-management/bulk-detailChange/${this.record?.id}`); + switch (this?.subjectType) { + case 2: + this.openNewPage(`/usercenter/driver/detail/${this.record?.driverId}`); + break; + case 3: + if (this.record?.billType === '1') { + this.openNewPage(`/order-management/vehicle-detailChange/${this.record?.orderId}`); + } else if (this.record.billType === '2') { + this.openNewPage(`/order-management/bulk-detailChange/${this.record?.orderId}`); + } + break; + case 4: + this.openNewPage(`/vehicle/list/detail/${this.record?.carId}`); + break; + default: + break; } + } @@ -119,4 +131,8 @@ export class DatatableReportingVerifyResultComponent implements OnInit { } } + openNewPage(url: string) { + window.open(location.origin + `/#` + url); + } + } From c459a3905357a73a7624535c0dec29aa469d9f30 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 17:06:00 +0800 Subject: [PATCH 40/44] fix bug --- .../individual-collect/individual-collect.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts b/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts index ed4066bb..8876c702 100644 --- a/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts +++ b/src/app/routes/tax-management/components/individual-collect/individual-collect.component.ts @@ -282,7 +282,7 @@ export class TaxManagementIndividualCollectComponent implements OnInit { */ upload() { if (this.selectedRows.length === 0) { - this.service.msgSrv.warning('请选择需要上传的数据'); + this.service.msgSrv.warning('请选择需要申报的数据'); return; } // this.service.request(this.service.$api_recall_reporting, { rows: this.selectedRows }).subscribe((res: any) => { From ffaf43a9ee30285cdc1b7bf63f749ab4c0688fd9 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 14 Apr 2022 17:43:55 +0800 Subject: [PATCH 41/44] edit --- .../invoice-detail/invoice-detail.component.html | 6 +++--- .../requested-invoice-modal.component.ts | 12 ++++++++---- .../ticket-management/services/ticket.service.ts | 3 ++- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html index 8710a7c7..15cd0983 100644 --- a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html +++ b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html @@ -8,7 +8,7 @@
-
+
{{ headerInfo?.ltdName }} @@ -34,7 +34,7 @@ {{ headerInfo?.remarks }}
-
+
{{ headerInfo?.artoname }} @@ -57,7 +57,7 @@ {{headerInfo?.otherremarks || '-'}}
-
+
diff --git a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts index 6c411bc0..2a64cece 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/requested-invoice-modal/requested-invoice-modal.component.ts @@ -37,13 +37,16 @@ export class RequestedInvoiceModalComponent { * @returns */ removeOrder(item: any[]) { - console.log(item); + if (this.st1._data?.length <= 1) { + this.service.msgSrv.warning('开票申请记录不能少于一个订单'); + return; + } this.nzModalService.warning({ nzTitle: '确定从当前批次中移除所选订单?', nzContent: '移除后相关订单可以重新提交开票申请', nzOnOk: () => { - const ids = item.map(order => order.billHId); - this.service.request(this.service.$api_remove_bill, { billHIds: ids }).subscribe(res => { + const ids = item.map(order => order.billHCode); + this.service.request(this.service.$api_remove_bill, { billHcodes: ids }).subscribe(res => { if (res) { this.service.msgSrv.success('移除成功'); this.modal.destroy(true); @@ -107,7 +110,8 @@ export class RequestedInvoiceModalComponent { buttons: [ { text: '移除', - click: (item: any) => this.removeOrder([item]) + click: (item: any) => this.removeOrder([item]), + iif: _ => this.st1._data?.length > 1 } ] } diff --git a/src/app/routes/ticket-management/services/ticket.service.ts b/src/app/routes/ticket-management/services/ticket.service.ts index df5dd9d9..657091e2 100644 --- a/src/app/routes/ticket-management/services/ticket.service.ts +++ b/src/app/routes/ticket-management/services/ticket.service.ts @@ -25,7 +25,8 @@ export class TicketService extends ShipperBaseService { $api_get_invoice_requested_order_detail = '/api/fcc/ficoVatappBill/getDetailByVatapp'; // 删除开票申请订单明细 // $api_remove_bill = '/api/fcc/ficoVatappBill/deletebatch'; - $api_remove_bill = '/api/fcc/ficoVatappH/remove'; + // $api_remove_bill = '/api/fcc/ficoVatappH/remove'; + $api_remove_bill = '/api/fcc/ficoVatappBill/removeVatappBill'; // 运营端单个/批量驳回 $api_reject_invoice = '/api/fcc/ficoVatappH/rejectInvoiceApple'; // 运营端修改开票地址 From db46e5c093b07feff8116d0e79aa7100fab340a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=98=E6=99=93=E4=BA=91?= Date: Thu, 14 Apr 2022 18:01:22 +0800 Subject: [PATCH 42/44] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order-reporting.component.html | 22 +++++++++---------- .../order-reporting.component.ts | 10 ++++++--- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.html b/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.html index be7285cc..b1d74f18 100644 --- a/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.html +++ b/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.html @@ -3,19 +3,19 @@
-
+
-
- - - - -
+
+
+ + + +
diff --git a/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts b/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts index d8bafb1f..0f7a87d1 100644 --- a/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts +++ b/src/app/routes/datatable/reporting/components/order-reporting/order-reporting.component.ts @@ -112,7 +112,6 @@ export class DatatableOrderReportingComponent implements OnInit { placeholder: '请选择', widget: 'select', asyncData: () => this.shipperSrv.getNetworkFreightForwarder({}, false), - allowClear: true } }, @@ -266,8 +265,13 @@ export class DatatableOrderReportingComponent implements OnInit { }, }; this.ui = { - '*': { spanLabelFixed: 120, grid: { span: 8, gutter: 4 }, enter: () => this.search() }, - $time: { grid: { span: 24 } }, + '*': { + spanLabelFixed: 120, + grid: { + lg: 12, + xl: 8 + }, enter: () => this.search() + }, }; } From 7f7f1f8ffc1b9dee8adfe827add4c3f4794e9749 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 18:08:36 +0800 Subject: [PATCH 43/44] fix bug --- .../individual-declare.component.ts | 69 +++++++++++-------- 1 file changed, 42 insertions(+), 27 deletions(-) diff --git a/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts b/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts index ce4705c0..0f7c54a0 100644 --- a/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts +++ b/src/app/routes/tax-management/components/individual-declare/individual-declare.component.ts @@ -32,7 +32,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { ]; selectedIndex = ''; //选择的项目 serviceTel = ''; - isVisible : boolean = false + isVisible: boolean = false; constructor( public service: TaxManagementService, private router: Router, @@ -88,16 +88,16 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { ngOnInit() { this.initSF(); this.initST(); - const object1 : any = {}; - const object2 : any = {}; - Object.defineProperty(object1, 'name',{ writable: false ,value: 'wang'}); - Object.defineProperty(object2, 'xxoo',{ writable: false ,value: 'wang'}); + const object1: any = {}; + const object2: any = {}; + Object.defineProperty(object1, 'name', { writable: false, value: 'wang' }); + Object.defineProperty(object2, 'xxoo', { writable: false, value: 'wang' }); console.log(object1); console.log(object1.name); console.log(object2); console.log(object2.xxoo); - object1.name = 'ming' - object2.xxoo = 'ming' + object1.name = 'ming'; + object2.xxoo = 'ming'; console.log(object1); console.log(object2); } @@ -254,22 +254,40 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { width: '180px' }, { title: '纳税人识别号', index: 'nsrsbh', className: 'text-center', width: '200px' }, - { title: '姓名', index: 'xm', className: 'text-center', width: '200px' }, + { title: '姓名', index: 'xm', className: 'text-center', width: '200px' }, { title: '证件类型', index: 'sfzjlx', className: 'text-center', width: '200px' }, - { title: '证件号码', index: 'sfzjhm', className: 'text-center', width: '200px' }, + { title: '证件号码', index: 'sfzjhm', className: 'text-center', width: '200px' }, { title: '联系电话', index: 'lxdh', className: 'text-center', width: '200px' }, - { title: '国家(地区)', index: ' gjdq', className: 'text-center', width: '200px' }, - { title: '所属行业', index: 'hy', className: 'text-center', width: '200px' }, - { title: '征收项目', index: 'zsxm', className: 'text-center', width: '200px' }, + { title: '国家(地区)', index: ' gjdq', className: 'text-center', width: '200px' }, + { title: '所属行业', index: 'hy', className: 'text-center', width: '200px' }, + { title: '征收项目', index: 'zsxm', className: 'text-center', width: '200px' }, { title: '征收品目', index: 'zsmp', className: 'text-center', width: '200px' }, { title: '计税依据', index: 'jsyj', className: 'text-center', width: '200px' }, - { title: '税率', index: 'sl', render: 'sl', className: 'text-center', width: '200px' }, - { title: '应纳税额', index: 'ynse', className: 'text-center', width: '180px' }, - { title: '减免税额', index: 'jmse', className: 'text-center', width: '180px' }, - { title: '已缴纳税额', index: 'yjnse', className: 'text-center', width: '180px' }, - { title: '应代征税额', index: 'dzse', className: 'text-center', width: '180px' }, - { title: '已代征税额', index: 'ydzse', className: 'text-center', width: '150px' }, - { title: '申报日期', render: 'sbrq', className: 'text-center', width: '150px' }, + { + title: '税率', + index: 'sl', + render: 'sl', + className: 'text-center', + width: '200px', + format: item => `${item.sl ? ((item.sl as number) * 100).toFixed(2) : 0}%` + }, + { + title: '应纳税额', + index: 'ynse', + className: 'text-center', + width: '180px', + type: 'widget', + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ynse }) } + }, + { title: '减免税额', index: 'jmse', className: 'text-center', width: '180px' , type: 'widget', + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.jmse }) } }, + { title: '已缴纳税额', index: 'yjnse', className: 'text-center', width: '180px', type: 'widget', + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yjnse }) } }, + { title: '应代征税额', index: 'dzse', className: 'text-center', width: '180px', type: 'widget', + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.dzse }) } }, + { title: '已代征税额', index: 'ydzse', className: 'text-center', width: '150px', type: 'widget', + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ydzse }) } }, + { title: '申报日期', render: 'sbrq', className: 'text-center', width: '150px' } ]; } @@ -301,13 +319,12 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { *修改 * @param record 记录实例 */ - uploadSetting() { + uploadSetting() { if (this.selectedRows.length === 0) { this.openWainingModal('请选择需要修改的数据!'); return; } // this.isVisible = true - } /** *撤销 @@ -388,7 +405,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { * * @param params 更新数据 */ - resetData() { + resetData() { if (this.selectedRows.length === 0) { this.openWainingModal('请选择需要更新的数据'); return; @@ -402,7 +419,7 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { this.service.msgSrv.success('更新成功'); this.st.load(1); } - }) + }); } /** @@ -450,10 +467,8 @@ export class TaxManagementIndividualDeclareComponent implements OnInit { nzContent: content }); } - handleOK() { - - } + handleOK() {} handleCancel() { - this.isVisible = false; + this.isVisible = false; } } From 3a30575fd52b24c7b8598b934c76dee582c7a505 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 14 Apr 2022 19:33:36 +0800 Subject: [PATCH 44/44] fix bug --- .../components/invoice-detail/invoice-detail.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html index 15cd0983..160bf708 100644 --- a/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html +++ b/src/app/routes/ticket-management/components/invoice-detail/invoice-detail.component.html @@ -106,9 +106,9 @@ - {{ item.billLType }}: {{ item.vatmoney |currency }} + {{ item.billLTypeLabel }}: {{ item.vatmoney |currency }} - + vatmoney