src/pages/index.vue
@@ -545,6 +545,12 @@ orderRow = ""; } console.log(orderRow, "orderRow======@@@@@@@@"); try { JSON.parse(orderRow); } catch (error) { modal.msgError("订单解析失败"); return; } // 扫码成功后跳转到生产报工页面,并传递orderRow参数 uni.navigateTo({ url: `/pages/productionManagement/productionReport/index?orderRow=${orderRow}`, @@ -555,9 +561,9 @@ title: "扫码失败", icon: "none", }); uni.navigateTo({ url: `/pages/productionManagement/productionReport/index`, }); // uni.navigateTo({ // url: `/pages/productionManagement/productionReport/index`, // }); }, }); };