From 97b0966196c31d1d958d416393c7bcf7c8580809 Mon Sep 17 00:00:00 2001
From: qb <1191961160@qq.com>
Date: Fri, 29 Nov 2024 10:56:45 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A3=85=E8=BD=A6=E6=98=8E?=
=?UTF-8?q?=E7=BB=86=E7=BC=93=E5=AD=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/views/index.js | 1 +
.../artery/TripartiteTransfer.vue | 2 ++
.../artery/VehicleArrivalManagement.vue | 1 +
.../distribution/artery/VehicleStowage.vue | 1 +
.../artery/truckLoadingDetails.vue | 28 +++++++++----------
5 files changed, 18 insertions(+), 15 deletions(-)
diff --git a/src/router/views/index.js b/src/router/views/index.js
index 70e2a669..5b3bea46 100644
--- a/src/router/views/index.js
+++ b/src/router/views/index.js
@@ -217,6 +217,7 @@ export default [
name: '装车明细',
meta: {
i18n: 'data',
+ keepAlive: true,
},
component: () =>
import(
diff --git a/src/views/distribution/artery/TripartiteTransfer.vue b/src/views/distribution/artery/TripartiteTransfer.vue
index f840250b..cc6f7480 100644
--- a/src/views/distribution/artery/TripartiteTransfer.vue
+++ b/src/views/distribution/artery/TripartiteTransfer.vue
@@ -930,6 +930,8 @@ const beforeClose = done => {
/** 显示装车详情 */
const handleShowTruckLoadingDetails = ({ row }) => {
+ $store.commit('DEL_ONCE_TAG', '/distribution/artery/truckLoadingDetails');
+
$router.push({
path: '/distribution/artery/truckLoadingDetails',
query: {
diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue
index 10d19835..ad328fdc 100644
--- a/src/views/distribution/artery/VehicleArrivalManagement.vue
+++ b/src/views/distribution/artery/VehicleArrivalManagement.vue
@@ -1105,6 +1105,7 @@ const beforeClose = done => {
/** 显示装车详情 */
const handleShowTruckLoadingDetails = ({ row }) => {
+ $store.commit('DEL_ONCE_TAG', '/distribution/artery/truckLoadingDetails');
$router.push({
path: '/distribution/artery/truckLoadingDetails',
query: {
diff --git a/src/views/distribution/artery/VehicleStowage.vue b/src/views/distribution/artery/VehicleStowage.vue
index 92f883d7..d50fb84d 100644
--- a/src/views/distribution/artery/VehicleStowage.vue
+++ b/src/views/distribution/artery/VehicleStowage.vue
@@ -1055,6 +1055,7 @@ const handleComparativeStatement = () => {
/** 显示装车详情 */
const handleShowTruckLoadingDetails = ({ row }) => {
console.log('row :>> ', row);
+ $store.commit('DEL_ONCE_TAG', '/distribution/artery/truckLoadingDetails');
$router.push({
path: '/distribution/artery/truckLoadingDetails',
query: {
diff --git a/src/views/distribution/artery/truckLoadingDetails.vue b/src/views/distribution/artery/truckLoadingDetails.vue
index 40ced330..05cc7b96 100644
--- a/src/views/distribution/artery/truckLoadingDetails.vue
+++ b/src/views/distribution/artery/truckLoadingDetails.vue
@@ -360,6 +360,12 @@
>
+
+