From 63e5a1095c2a976551f8241d6045b0612bcb5441 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 03 二月 2026 14:31:36 +0800
Subject: [PATCH] 订单取消下发扫码校验

---
 pages/product/WorkshopOrderCancellationIssued/index.vue |   30 +++++++++++++++++++++++++-----
 1 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/pages/product/WorkshopOrderCancellationIssued/index.vue b/pages/product/WorkshopOrderCancellationIssued/index.vue
index af53612..1aa157c 100644
--- a/pages/product/WorkshopOrderCancellationIssued/index.vue
+++ b/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) => {
+		  })
+		}
       }
     });
   },

--
Gitblit v1.9.3