From 0740148a2a3642e79460a8180cb9436d9c5cff03 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期四, 05 三月 2026 16:48:16 +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