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), + }, + }); }, }, };