From 9109375132900cd8b5ce01e567bce481af7fbbcb Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Wed, 25 Dec 2024 17:08:13 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reportforms/PackageStartTimePageReport.js | 131 ++++++++++ .../PackageTransferTimePageReport.js | 119 +++++++++ .../UpdateWaybillQualityPageReport.js | 225 ++++++++++++++++++ .../PackageStartTimePageReport.vue | 2 +- .../PackageTransferTimePageReport.vue | 2 +- .../UpdateWaybillQualityPageReport.vue | 2 +- .../reportforms/ZeroStartTimePageReport.vue | 2 +- 7 files changed, 479 insertions(+), 4 deletions(-) create mode 100644 src/option/reportforms/PackageStartTimePageReport.js create mode 100644 src/option/reportforms/PackageTransferTimePageReport.js create mode 100644 src/option/reportforms/UpdateWaybillQualityPageReport.js diff --git a/src/option/reportforms/PackageStartTimePageReport.js b/src/option/reportforms/PackageStartTimePageReport.js new file mode 100644 index 00000000..b6495891 --- /dev/null +++ b/src/option/reportforms/PackageStartTimePageReport.js @@ -0,0 +1,131 @@ +export const columnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'businessLine', + label: '事业线', + type: 1, + values: '', + width: '180', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'departureWarehouseName', + label: '始发仓', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'destinationWarehouseName', + label: '目的仓', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'brand', + label: '品牌', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'totalNum', + label: '总件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'openNum', + label: '开单件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'startNum', + label: '发运件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'onTimeNum', + label: '准时发运数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'onTimeRate', + label: '准时发运率', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'avgTime', + 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 new file mode 100644 index 00000000..942879ea --- /dev/null +++ b/src/option/reportforms/PackageTransferTimePageReport.js @@ -0,0 +1,119 @@ +export const columnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'businessLine', + label: '事业线', + type: 1, + values: '', + width: '180', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'departureWarehouseName', + label: '始发仓', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'destinationWarehouseName', + label: '目的仓', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'brand', + label: '品牌', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'incomingNum', + label: '中转入库件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'outNum', + label: '中转出库件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'outOnTimeNum', + label: '中转准时出库件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'outOnTimeRate', + label: '中转准时出库率', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'avgTime', + label: '平均中转时效', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, +]; diff --git a/src/option/reportforms/UpdateWaybillQualityPageReport.js b/src/option/reportforms/UpdateWaybillQualityPageReport.js new file mode 100644 index 00000000..15da303f --- /dev/null +++ b/src/option/reportforms/UpdateWaybillQualityPageReport.js @@ -0,0 +1,225 @@ +export const columnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'businessLine', + label: '事业线', + type: 1, + values: '', + width: '180', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'departureWarehouseName', + label: '始发仓', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'destinationWarehouseName', + label: '目的仓', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'brand', + label: '品牌', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'totalNum', + label: '总运单数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'editNum', + label: '改单单数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'updateNum', + label: '改单次数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'startBeforeNum', + label: '发车前修改数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'startBeforeRate', + label: '发车前修改率', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'personProbleNum', + label: '人为操作错误数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'personProbleRate', + label: '人为操作错误率', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'financeUpdateNum', + label: '财务修改数', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'financeUpdateRate', + label: '财务修改率', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'merchantUpdateNum', + label: '商家要求数', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'merchantUpdateRate', + label: '商家要求率', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'businessUpdateNum', + label: '业务调整数', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, + { + prop: 'businessUpdateRate', + label: '业务调整率', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'updateRate', + label: '改单率', + type: 6, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + isshowSummary: true, //开启统计 + }, +]; diff --git a/src/views/reportforms/PackageStartTimePageReport.vue b/src/views/reportforms/PackageStartTimePageReport.vue index 8d3feb18..bc3853f5 100644 --- a/src/views/reportforms/PackageStartTimePageReport.vue +++ b/src/views/reportforms/PackageStartTimePageReport.vue @@ -195,7 +195,7 @@ import { } from '@/utils/util'; import { useRouter } from 'vue-router'; import { ElMessage, ElMessageBox } from 'element-plus'; -import { columnList } from '@/option/reportforms/PackageAllTrunklineTimePageReport'; +import { columnList } from '@/option/reportforms/PackageStartTimePageReport'; // 获取路由实例 const $router = useRouter(); diff --git a/src/views/reportforms/PackageTransferTimePageReport.vue b/src/views/reportforms/PackageTransferTimePageReport.vue index 29f4761b..8bb10784 100644 --- a/src/views/reportforms/PackageTransferTimePageReport.vue +++ b/src/views/reportforms/PackageTransferTimePageReport.vue @@ -195,7 +195,7 @@ import { } from '@/utils/util'; import { useRouter } from 'vue-router'; import { ElMessage, ElMessageBox } from 'element-plus'; -import { columnList } from '@/option/reportforms/PackageAllTrunklineTimePageReport'; +import { columnList } from '@/option/reportforms/PackageTransferTimePageReport'; // 获取路由实例 const $router = useRouter(); diff --git a/src/views/reportforms/UpdateWaybillQualityPageReport.vue b/src/views/reportforms/UpdateWaybillQualityPageReport.vue index 4287933d..0b2c0053 100644 --- a/src/views/reportforms/UpdateWaybillQualityPageReport.vue +++ b/src/views/reportforms/UpdateWaybillQualityPageReport.vue @@ -195,7 +195,7 @@ import { } from '@/utils/util'; import { useRouter } from 'vue-router'; import { ElMessage, ElMessageBox } from 'element-plus'; -import { columnList } from '@/option/reportforms/PackageAllTrunklineTimePageReport'; +import { columnList } from '@/option/reportforms/UpdateWaybillQualityPageReport'; // 获取路由实例 const $router = useRouter(); diff --git a/src/views/reportforms/ZeroStartTimePageReport.vue b/src/views/reportforms/ZeroStartTimePageReport.vue index b3512172..8b0f1747 100644 --- a/src/views/reportforms/ZeroStartTimePageReport.vue +++ b/src/views/reportforms/ZeroStartTimePageReport.vue @@ -195,7 +195,7 @@ import { } from '@/utils/util'; import { useRouter } from 'vue-router'; import { ElMessage, ElMessageBox } from 'element-plus'; -import { columnList } from '@/option/reportforms/PackageAllTrunklineTimePageReport'; +import { columnList } from '@/option/reportforms/PackageStartTimePageReport'; // 获取路由实例 const $router = useRouter(); From a28320c1c5f91ef2cadd1b2b51145c7a2bcaaade Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Wed, 25 Dec 2024 17:52:21 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/finance/ReconciliationDepositSlip.js | 13 ++++- .../distribution/artery/abnormalList.vue | 51 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/src/api/finance/ReconciliationDepositSlip.js b/src/api/finance/ReconciliationDepositSlip.js index 575b37e2..fe18d675 100644 --- a/src/api/finance/ReconciliationDepositSlip.js +++ b/src/api/finance/ReconciliationDepositSlip.js @@ -25,6 +25,18 @@ export const postOrderInfoListExport = data => { }); }; +/** + * 导出 + */ +export const postOrderInfoListExport2C = data => { + return request({ + url: '/api/logpm-statisticsdata/merchantStatistics/orderInfoListExport2C', + method: 'post', + data, + responseType: 'blob', + }); +}; + /** * 确认结算 * @param {*} data @@ -62,7 +74,6 @@ export const postCalculateRealCostByWaybillId = data => { }); }; - /** * 生成对账单 * @param {*} data diff --git a/src/views/distribution/artery/abnormalList.vue b/src/views/distribution/artery/abnormalList.vue index 95968d3e..4f715cb6 100644 --- a/src/views/distribution/artery/abnormalList.vue +++ b/src/views/distribution/artery/abnormalList.vue @@ -118,6 +118,8 @@