From 29aed5ece175b843f1c0a92145555f3322b734d0 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 15 四月 2024 16:52:55 +0800 Subject: [PATCH] # --- pages/phyz/checkLocDetl/checkLocDetl.vue | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/pages/phyz/checkLocDetl/checkLocDetl.vue b/pages/phyz/checkLocDetl/checkLocDetl.vue index bd56f44..b1e1c37 100644 --- a/pages/phyz/checkLocDetl/checkLocDetl.vue +++ b/pages/phyz/checkLocDetl/checkLocDetl.vue @@ -65,7 +65,6 @@ bay1: '', lev1: '', dataList: [], - } }, onLoad() { @@ -138,8 +137,34 @@ } }) }, - goToLocDetl() { + goToLocDetl(e) { + this.locNo = e.locNo this.$refs.check.open() + }, + checkClose() { + this.$refs.check.close() + }, + checkConfirm() { + let _this = this + let param = { + barcode : _this.barcode, + locNo : _this.locNo + } + uni.navigateTo({ + url: "./locDetl", + success: function(res) { + // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹� 鍚戝彟澶栦竴涓〉闈紶閫掑�肩殑 + res.eventChannel.emit('item', { + item: param + }) + }, + events: { + // 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹� 鍙﹀涓�涓〉闈紶杩囨潵鐨� + acceptDataFromOpenedPage: function(data) { + _this.searchValueFocus = true + } + }, + }); } } -- Gitblit v1.9.1