zhangwencui
6 天以前 b0dada24ccf8bebf143a921ae01d6cc95d378f6e
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`,
        // });
      },
    });
  };