From 7947298e8405ef9f155f434313677d6da63edbd9 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Tue, 21 Jan 2025 14:46:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8A=A5=E8=A1=A8=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=96=B0=E5=A2=9E=E9=83=A8?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E9=9D=A2=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/option/reportforms/OrderAllTime.js | 17 ++++ .../reportforms/PackageStartTimePageReport.js | 35 ++++++++ .../PackageTransferTimePageReport.js | 11 +++ .../artery/VehicleArrivalManagement.vue | 7 ++ .../distribution/artery/VehicleStowage.vue | 7 ++ .../distribution/artery/abnormalList.vue | 8 -- .../artery/addTripartiteTransfer.vue | 25 ------ .../arteryDistrilbutionBillLadingList.vue | 5 ++ .../PackageAllTrunklineTimePageReport.vue | 4 +- .../PackageStartTimePageReport.vue | 7 +- .../PackageTransferTimePageReport.vue | 7 +- src/views/waybill/ChangeOrder.vue | 82 ++++++++++--------- .../waybill/WarehousingByTrainNumber.vue | 43 +++++----- src/views/waybill/WaybillOrderList.vue | 8 +- src/views/waybill/orderPackageList.vue | 11 +++ 15 files changed, 179 insertions(+), 98 deletions(-) diff --git a/src/option/reportforms/OrderAllTime.js b/src/option/reportforms/OrderAllTime.js index d286db60..b2e82ded 100644 --- a/src/option/reportforms/OrderAllTime.js +++ b/src/option/reportforms/OrderAllTime.js @@ -81,6 +81,23 @@ export const columnList = [ head: false, isshowSummary: true, //开启统计 }, + { + prop: 'serviceTypeName', + label: '订单类型', + type: 1, + values: '', + width: '150', + checkarr: [ + { label: '商配', value: 1 }, + { label: '市配', value: 2 }, + { label: '自提', value: 3 }, + { label: '三方中转', value: 4 }, + ], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, { prop: 'departureWarehouseName', label: '始发仓', diff --git a/src/option/reportforms/PackageStartTimePageReport.js b/src/option/reportforms/PackageStartTimePageReport.js index f9d5ff71..3a78a4fb 100644 --- a/src/option/reportforms/PackageStartTimePageReport.js +++ b/src/option/reportforms/PackageStartTimePageReport.js @@ -94,6 +94,18 @@ export const columnList = [ head: false, isshowSummary: true, //开启统计 }, + { + prop: 'noOutNum', + label: '未发运件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, { prop: 'onTimeNum', label: '准时发运数', @@ -106,6 +118,18 @@ export const columnList = [ head: false, isshowSummary: true, //开启统计 }, + { + prop: 'noOutOverNum', + label: '未发运超时件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, { prop: 'onTimeRate', label: '准时发运率', @@ -128,4 +152,15 @@ export const columnList = [ sortable: true, head: false, }, + { + prop: 'hoursTime', + label: '标准时效(小时)', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, ]; diff --git a/src/option/reportforms/PackageTransferTimePageReport.js b/src/option/reportforms/PackageTransferTimePageReport.js index 4eb82c03..7fcccfa8 100644 --- a/src/option/reportforms/PackageTransferTimePageReport.js +++ b/src/option/reportforms/PackageTransferTimePageReport.js @@ -151,4 +151,15 @@ export const columnList = [ sortable: true, head: false, }, + { + prop: 'hoursTime', + label: '标准时效(小时)', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, ]; diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue index c2fbb950..59ca22db 100644 --- a/src/views/distribution/artery/VehicleArrivalManagement.vue +++ b/src/views/distribution/artery/VehicleArrivalManagement.vue @@ -185,6 +185,7 @@
+ @@ -732,6 +733,7 @@ import { ElMessage, ElMessageBox } from 'element-plus'; import print from '@/utils/print'; import { exportExcelByDom } from '@/utils/export'; import { dateNow } from '@/utils/date'; +import { exportExcel } from '@/utils/exportData'; const ArteryPrintTemplateV2 = defineAsyncComponent( () => import('@/components/ArteryPrintTemplateV2/ArteryPrintTemplateV2.vue') @@ -1883,6 +1885,11 @@ const handleShowVehicleImgs = ({ row }) => { }, }); }; + +/** 导出表格数据 */ +const handleExportData = () => { + exportExcel(details.columnList, details.data, '到车 - ' + new Date().getTime()); +};