From d7d07de0c1bd2f73a41b9bdeb03c28241751db62 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Fri, 26 Apr 2024 17:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B4=A7=E4=BD=8D=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E8=B7=B3=E8=BD=AC=E8=AF=A6=E6=83=85=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../goodsAllocation/BasicdataGoodsAllocation.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue b/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue index 67485d1d..de43afd6 100644 --- a/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue +++ b/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocation.vue @@ -528,11 +528,13 @@ export default { // 查看 handleView(row) { console.log('row :>> ', row); - this.$router.push( - `/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails?name=详情+-+${ - row.goodsAllocationName - }&info=${JSON.stringify(row)}` - ); + this.$router.push({ + path: '/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails', + query: { + name: '详情+-+' + row.goodsAllocationName, + info: JSON.stringify(row), + }, + }); }, }, };