From 04839b0c8660e2ba4228a743edf8f784e2470d6c Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 19 二月 2025 09:21:12 +0800 Subject: [PATCH] # --- pages/phyz/bcp/bcpDbOrder.vue | 37 +++++++++++++++++++++++-------------- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git a/pages/phyz/bcp/bcpDbOrder.vue b/pages/phyz/bcp/bcpDbOrder.vue index b989672..af5dcee 100644 --- a/pages/phyz/bcp/bcpDbOrder.vue +++ b/pages/phyz/bcp/bcpDbOrder.vue @@ -18,23 +18,16 @@ <view>缂栧彿锛歿{orderDetl.matnr}}</view> <view>鍚嶇О锛歿{orderDetl.maktx}}</view> <view>绫诲瀷锛歿{orderDetl.brand}}</view> - <view>鎬绘暟閲忥細{{orderDetl.anfme}}</view> - <view>宸插叆鏁伴噺锛歿{orderDetl.qty}}</view> + <view>璋冩嫧鎬婚噺锛歿{orderDetl.anfme}}</view> + <view>搴撳瓨鏁伴噺锛歿{orderDetl.stock}}</view> + <view>宸茶皟鎷ㄦ暟閲忥細{{orderDetl.qty}}</view> </view> - <view class="list-right" @click="addItem(index)"> - <uni-icons type="folder-add" size="25" color="#fff"></uni-icons> + <view class="list-right" @click="goToLocDetl(orderDetl)"> + <uni-icons type="right" size="25" color="#fff"></uni-icons> </view> </view> - <view class="shop-car" @click="orderCar()"> - <view class="car-left"> - <uni-icons type="cart-filled" size="35" color="#fff"></uni-icons> - </view> - <view class="car-right"> - <text>{{orderCarList.length}}</text> - </view> - </view> <!-- 鍨珮 --> <view style="height: 340rpx;text-align: center;color: #b9b9b9;"> - 宸茬粡鍒板簳浜� - @@ -46,7 +39,7 @@ <!-- 鏍囬 --> <view class="title">鍏ュ簱鏁伴噺</view> <view class="popup-item"> - <uni-number-box :value="count" :step='1' :max="9999999" color="#747474" @change="changeValue" /> + <uni-number-box :value="count" :step='0.01' :max="9999999" color="#747474" @change="changeValue" /> </view> <view class="btn"> <view class="btn-left" @click="addClose">鍙栨秷</view> @@ -289,7 +282,23 @@ this.data.brand = '' this.getOrderDetlList(this.searchValue,10) this.$refs.filter.close() - } + }, + goToLocDetl(item) { + let _this = this + uni.navigateTo({ + url: './bcpDbList', + success(res) { + res.eventChannel.emit('item', { + item: item + }) + }, + events: { + acceptDataFromOpenedPage: function(data) { + _this.getOrderDetlList(this.searchValue1,10) + } + } + }) + }, } } -- Gitblit v1.9.1