From cf810e81a6718cb926616cbcf80b9d348bee7c83 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 22 四月 2024 18:15:39 +0800
Subject: [PATCH] #

---
 pages/phyz/stationManage/stationDetl.vue |   19 +++++++++
 pages.json                               |    8 ++++
 pages/phyz/stationManage/pickAgain.vue   |   56 ++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+), 0 deletions(-)

diff --git a/pages.json b/pages.json
index c3e009e..5e5210d 100644
--- a/pages.json
+++ b/pages.json
@@ -654,6 +654,14 @@
         		"navigationBarTitleText" : "鍟嗗搧璇︽儏",
         		"enablePullDownRefresh" : false
         	}
+        },
+        {
+        	"path" : "pages/phyz/stationManage/pickAgain",
+        	"style" : 
+        	{
+        		"navigationBarTitleText" : "鍐嶆鎷f枡",
+        		"enablePullDownRefresh" : false
+        	}
         }
     ],
 	"globalStyle": {
diff --git a/pages/phyz/stationManage/pickAgain.vue b/pages/phyz/stationManage/pickAgain.vue
new file mode 100644
index 0000000..882e262
--- /dev/null
+++ b/pages/phyz/stationManage/pickAgain.vue
@@ -0,0 +1,56 @@
+<template>
+	<view>
+		<view>
+			
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		onShow() {
+			let _this = this
+			this.baseUrl = uni.getStorageSync('baseUrl');
+			this.token = uni.getStorageSync('token');
+			// const eventChannel = this.$scope.eventChannel; // 鍏煎APP-NVUE
+			const eventChannel = this.getOpenerEventChannel();
+			// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
+			eventChannel.on('item', function(data) {
+				console.log(data);
+			})
+		},
+		methods: {
+			getLocDetl() {
+				let _this = this
+				uni.request({
+					url: `${_this.baseUrl}/agvMobile/query/locDetl/v1`,
+					header: { 'token': uni.getStorageSync('token') },
+					data: {
+					},
+					method: 'POST',
+					success(res) {
+						res = res.data
+						console.log(res);
+						if (res.code === 200) {
+							
+						} else if (res.code == 403) {
+							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+							setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
+						} else {
+							uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+						}
+					}
+				})
+			}
+		}
+	}
+</script>
+
+<style>
+
+</style>
diff --git a/pages/phyz/stationManage/stationDetl.vue b/pages/phyz/stationManage/stationDetl.vue
index 6964508..4090640 100644
--- a/pages/phyz/stationManage/stationDetl.vue
+++ b/pages/phyz/stationManage/stationDetl.vue
@@ -163,6 +163,7 @@
 			<button size="mini" type="primary" @click="doContainerMoveOut2()" v-if="btnType == 'out'">璐ф灦绂诲満</button>
 			<button size="mini" type="primary" @click="doContainerMoveOut()" v-if="btnType == 'out'">纭鍑哄簱</button>
 			<button size="mini" type="primary" @click="doPickIn()" v-if="btnType == 'pick'">宸叉嫞鏂欏洖搴�</button>
+			<button size="mini" type="primary" @click="doPickIn2()" v-if="btnType == 'pick'">鍐嶆鎷f枡</button>
 			<button size="mini" type="primary" @click="startPakin()" v-if="btnType == 'start'">鍚姩鍏ュ簱</button>
 		</view>
 	</view>
@@ -553,6 +554,24 @@
 					}
 				})
 			},
+			// 鍐嶆鎷f枡
+			doPickIn2() {
+				let _this = this
+				let item = this.wrkMast
+				uni.navigateTo({
+					url: './pickAgain',
+					success(res) {
+						res.eventChannel.emit('item', {
+							item: item
+						})
+					},
+					events: {
+						acceptDataFromOpenedPage: function(data) {
+							
+						}
+					}
+				})
+			},
 			// 鎷f枡鍑哄簱 纭鍚庡洖搴�
 			doPickIn() {
 				this.$refs.doPickIn.open()

--
Gitblit v1.9.1