From 32678f5c24c7681a198b517fa72db1de2e98646d Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期一, 08 七月 2024 22:00:42 +0800
Subject: [PATCH] PCS平面图检测线段

---
 代码管理/太重PDA/pages/feeding/feeding.vue |   48 ++++++++++++++++++++----------------------------
 1 files changed, 20 insertions(+), 28 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue"
index c05d7b1..c5166ec 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue"
@@ -86,34 +86,26 @@
 					this.$t.message.toast('璇烽�夋嫨涓嬫枡鍙o紒')
 					return;
 				}
-				
-				uni.showModal({
-				    title: '纭',
-				    content: '杞﹁疆淇℃伅锛�'+this.barcode+',鏄惁鍛煎彨AGV锛�',
-				    success: (res) => {
-				      if (res.confirm) {
-				       // this.$u.post("/api/ToWms/OutsourceInbound", {
-				       // 	MainData: {
-				       // 		dataSN: this.barcode,
-				       // 		stationNo: this.stationNo,
-				       // 		creator: uni.getStorageSync('jo_user').userName,
-				       // 	}
-				       // }).then(res => {
-				       // 	if (res.status) {
-				       // 		this.barcode = '',
-				       // 			this.station = '',
-				       // 			this.stationNo = '',
-				       // 			this.$t.message.toast('鍛煎彨AGV鎴愬姛锛岃绛夊緟AGV鍙栬揣');
-				       // 	} else {
-				       // 		this.$t.message.toast(res.message);
-				       // 	}
-				       // 	console.log(res);
-				       // }).catch(err => {
-				       
-				       // })
-				      }
-				    }
-				  });
+
+				this.$u.post("/api/ToWms/OutsourceInbound", {
+					MainData: {
+						dataSN: this.barcode,
+						stationNo: this.stationNo,
+						creator: uni.getStorageSync('jo_user').userName,
+					}
+				}).then(res => {
+					if (res.status) {
+						this.barcode = '',
+							this.station = '',
+							this.stationNo = '',
+							this.$t.message.toast('鍛煎彨AGV鎴愬姛锛岃绛夊緟AGV鍙栬揣');
+					} else {
+						this.$t.message.toast(res.message);
+					}
+					console.log(res);
+				}).catch(err => {
+
+				})
 			}
 		}
 	}

--
Gitblit v1.9.3