From ecc6584530bd9995abeeb93928247cdf706aed33 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期一, 13 一月 2025 19:01:04 +0800 Subject: [PATCH] 更新优化 --- 代码管理/淮安PDA/pages/stash/QueryData.vue | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/QueryData.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/QueryData.vue" index a98aac8..6f6f477 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/QueryData.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/QueryData.vue" @@ -13,6 +13,7 @@ <view class="uni-list-box"> <view class="uni-content"> <view class="uni-title-sub uni-ellipsis-2">鎵樼洏鍙凤細{{stockInfoBarcode}}</view> + <view class="uni-title-sub uni-ellipsis-2">鎬绘暟閲忥細{{Summmary}}</view> </view> </view> </template> @@ -45,6 +46,7 @@ // stockInfo: [], stockInfoDetail: [], barcode: '', + Summmary: 0, barcodefocus: false, warehouseId: 0, stockInfoBarcode: '', @@ -71,6 +73,10 @@ this.stockInfoBarcode = res.data.palletCode, // this.stockInfo = res.data, this.stockInfoDetail = res.data.details + //鑾峰彇鎬绘暟閲� + this.stockInfoDetail.forEach(item => { + this.Summmary+= item.stockQuantity; + }); } else { this.$refs.uToast.show({ // title: "鏈壘鍒版墭鐩樹俊鎭�", -- Gitblit v1.9.3