From 963282fc6978dfb1157196144921afceacadbcbb Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Fri, 6 Dec 2024 16:55:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=A0=A1=E9=AA=8C=EF=BC=8C=E8=BF=90=E5=8D=95=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=A2=9E=E5=8A=A0=E4=BB=93=E5=BA=93=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/axios.js | 9 +++ .../finance/ReconciliationDepositSlip.js | 4 +- src/option/finance/WaybillAudit.js | 58 +++++++++++++++++ .../aftersales/aftersalesWorkOrderInfo.vue | 13 ++-- .../aftersales/aftersalesWorkOrderend.vue | 2 +- .../delivery/distributionStockArticle.vue | 4 +- .../distributionStockArticleDetails.vue | 2 +- .../finance/ReconciliationDepositSlip.vue | 3 +- src/views/finance/WaybillAudit.vue | 63 +++++++++++++++++-- 9 files changed, 139 insertions(+), 19 deletions(-) diff --git a/src/axios.js b/src/axios.js index 5d69e5b7..1180783e 100644 --- a/src/axios.js +++ b/src/axios.js @@ -137,8 +137,17 @@ axios.interceptors.response.use( // 如果状态码在白名单中,则直接返回Promise的reject状态 if (statusWhiteList.includes(status)) return Promise.reject(res); + console.log(router.currentRoute._value.path, 'router'); // 如果状态码为401,则表示用户未认证,需跳转到登录页 if (status === 401 && !isAlertShowing) { + // 如果在登录页面,则表示账号或密码错误 + if (router.currentRoute._value.path === '/login') { + ElMessage({ + message: '账号或密码错误', + type: 'warning', + }); + return; + } isAlertShowing = true; // 设置为 true 表示弹窗正在显示 ElMessageBox.alert('长时间未操作,登录已过期,或账号已在别处登录,请重新登录', '提示', { confirmButtonText: '确定', diff --git a/src/option/finance/ReconciliationDepositSlip.js b/src/option/finance/ReconciliationDepositSlip.js index bd6188b1..a845170a 100644 --- a/src/option/finance/ReconciliationDepositSlip.js +++ b/src/option/finance/ReconciliationDepositSlip.js @@ -280,7 +280,7 @@ export const columnList = [ }, { prop: 'totalFee', - label: '实际费用', + label: '实际总费用', type: 1, values: '', width: '130', @@ -1053,7 +1053,7 @@ export const columnListB = [ }, { prop: 'totalFee', - label: '实际费用', + label: '实际总费用', type: 1, values: '', width: '130', diff --git a/src/option/finance/WaybillAudit.js b/src/option/finance/WaybillAudit.js index a1770baf..e7f45e6e 100644 --- a/src/option/finance/WaybillAudit.js +++ b/src/option/finance/WaybillAudit.js @@ -183,6 +183,7 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, }, { prop: 'totalCount', @@ -194,6 +195,7 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, }, { prop: 'totalWeight', @@ -205,6 +207,7 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, }, { prop: 'totalVolume', @@ -216,6 +219,7 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, }, { prop: 'totalFee', @@ -227,6 +231,7 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, }, { prop: 'systemTotalFee', @@ -238,6 +243,7 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, }, { prop: 'goodsTypePrice', @@ -282,6 +288,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'freightFee', @@ -293,6 +301,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, // { // prop: 'templateType', @@ -326,6 +336,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'warehouseFee', @@ -337,6 +349,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'warehouseManagementFee', @@ -348,6 +362,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'warehouseSortingFee', @@ -359,6 +375,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'warehouseOprationFee', @@ -370,6 +388,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryServiceFee', @@ -381,6 +401,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryFee', @@ -392,6 +414,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryHandlingFee', @@ -403,6 +427,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliverySortingFee', @@ -414,6 +440,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryUpfloorFee', @@ -425,6 +453,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryMoveFee', @@ -436,6 +466,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, // { // prop: 'deliveryLine', @@ -458,6 +490,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryLineFee', @@ -469,6 +503,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'installFee', @@ -480,6 +516,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'insuranceFee', @@ -491,6 +529,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'claimingValue', @@ -502,6 +542,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'otherFee', @@ -513,6 +555,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'rebate', @@ -524,6 +568,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'thirdOperationFee', @@ -535,6 +581,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'shipperName', @@ -739,6 +787,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'dpay', @@ -750,6 +800,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'hpay', @@ -761,6 +813,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'ypay', @@ -772,6 +826,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { @@ -784,6 +840,8 @@ export const columnList = [ fixed: false, sortable: true, head: false, + isshowSummary: true, + }, { prop: 'deliveryTime', diff --git a/src/views/aftersales/aftersalesWorkOrderInfo.vue b/src/views/aftersales/aftersalesWorkOrderInfo.vue index 5bcbbba7..fb05b0a8 100644 --- a/src/views/aftersales/aftersalesWorkOrderInfo.vue +++ b/src/views/aftersales/aftersalesWorkOrderInfo.vue @@ -657,7 +657,7 @@