yyb
2025-10-11 508403e109aa9f8766b4caa05748afdec7103237
pages/wareHouse/nuclearScale/index.vue
@@ -330,6 +330,7 @@
          waivDevRejNo: codeInfo.WDR ? codeInfo.WDR : "*", // wdr号
          productType: that.form.productType,
        };
        if (codeInfo.CN != "") {
        if (codeInfo.CN != that.form.customerName1) {
          // 扫描报工单二维码
          uni.showModal({
@@ -356,6 +357,13 @@
              }
            },
          });
          } else {
            if (that.form.productType == "TG01") {
              that.$refs.saveForm.open(ScanCodeRecordList);
            } else {
              that.ScanCodeRecord.push(ScanCodeRecordList);
            }
          }
        } else {
          if (that.form.productType == "TG01") {
            that.$refs.saveForm.open(ScanCodeRecordList);
@@ -438,11 +446,12 @@
        })
        .catch((err) => {
          uni.hideLoading();
          uni.showToast({
            title: err.message || "网络异常,请重试",
            icon: "none",
          uni.showModal({
            title: "提示",
            content: err.message || "网络异常,请重试",
            showCancel: true,
            success: function (res) {},
          });
          // this.$u.toast(err.message || "网络异常,请重试");
        });
    },
@@ -495,7 +504,7 @@
    },
    //核磅记录
    openNuclearScaleRecord() {
      if (this.form.verificationNo == "") {
      if (!this.form.verificationNo) {
        uni.showToast({
          icon: "none",
          title: "请先选择核磅单号!",
@@ -504,7 +513,8 @@
        return;
      }
      uni.navigateTo({
        url: "/pages/wareHouse/nuclearScale/nuclearscalerecord",
         url: "/pages/wareHouse/nuclearScale/nuclearscalerecord?verificationNo=" +
                  encodeURIComponent(JSON.stringify(this.form.verificationNo)),
      });
    },
    // 存订单号