yyb
2026-02-03 63e5a1095c2a976551f8241d6045b0612bcb5441
订单取消下发扫码校验
已修改1个文件
30 ■■■■ 文件已修改
pages/product/WorkshopOrderCancellationIssued/index.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/product/WorkshopOrderCancellationIssued/index.vue
@@ -260,11 +260,31 @@
        console.log("扫码结果:", data.code);
        let codeInfo = JSON.parse(data.code);
        that.codeInfoId = codeInfo.id;
        if (codeInfo) {
          // 扫描报工单二维码
          that.scanHandle(codeInfo);
          that.$forceUpdate();
        }
        if (codeInfo.PN) {
          // 扫描报工单二维码
          that.scanHandle(codeInfo);
          that.$forceUpdate();
          // that.getHandelList();
        }
        if (codeInfo.moOn) {
            console.log('1111111111')
          this.$u.api.WorkshopOrderIssued.getManuOrder({
            moOn: codeInfo.moOn,
          }).then((res) => {
              console.log('111111111',res)
            if (res.code === 0) {
                that.registerInfo = {
                  operationTaskId: "",
                  id:res.data.id,
                  moNo: res.data.ifsOrderNo,
                  optaskNo: "",
                  workstationId: "",
                }
            }
          })
          .catch((err) => {
          })
        }
      }
    });
  },