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 @@ > + +