From a056b108848790f409aba7fb245fedb8a224e35b Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 18 二月 2025 08:14:09 +0800
Subject: [PATCH] #
---
pages/phyz/checkLocDetl/locDetl.vue | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/pages/phyz/checkLocDetl/locDetl.vue b/pages/phyz/checkLocDetl/locDetl.vue
index 80b5a08..0717a80 100644
--- a/pages/phyz/checkLocDetl/locDetl.vue
+++ b/pages/phyz/checkLocDetl/locDetl.vue
@@ -11,7 +11,7 @@
<view>璐ф灦鐮侊細{{containerDetl.barcode}}</view>
<view>搴撳瓨鍝佺被锛歿{containerDetl.count}}</view>
</view>
- <view class="list-right" @click="goToLocDetl(containerDetl)">
+ <view class="list-right" @click="goToLocDetl(containerDetl,'con')">
<uni-icons type="right" size="25" color="#fff"></uni-icons>
</view>
</view>
@@ -23,7 +23,7 @@
<view>璐ф灦鐮侊細{{locDetl.barcode}}</view>
<view>搴撳瓨鍝佺被锛歿{locDetl.count}}</view>
</view>
- <view class="list-right" @click="goToLocDetl(locDetl)">
+ <view class="list-right" @click="goToLocDetl(locDetl,'loc')">
<uni-icons type="right" size="25" color="#fff"></uni-icons>
</view>
</view>
@@ -122,7 +122,6 @@
method: 'POST',
success(res) {
res = res.data
- console.log(res);
if (res.code === 200) {
if (res.data.containerCode.length > 0) {
_this.dataList = res.data.containerCode
@@ -152,7 +151,7 @@
}
})
},
- goToLocDetl(item) {
+ goToLocDetl(item,type) {
let _this = this
if (item.data.length <= 0) {
uni.showToast({ title: '娌℃湁搴撳瓨', icon: "error", position: 'top' })
@@ -162,8 +161,11 @@
url: "./locDetlList",
success: function(res) {
// 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹� 鍚戝彟澶栦竴涓〉闈紶閫掑�肩殑
- res.eventChannel.emit('item', {
- item: item
+ // res.eventChannel.emit('item', {
+ // item: item
+ // })
+ res.eventChannel.emit('baseInfo', {
+ info: {locNo:_this.locNo,barcode:_this.barcode,type: type}
})
},
events: {
--
Gitblit v1.9.1