From ddab693f389b648157c8b48c7fcbdefc92561dd2 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期五, 05 七月 2024 19:55:22 +0800
Subject: [PATCH] 老PCS替换代码优化,工业大屏优化,PDA功能优化
---
代码管理/太重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