From dca5f418dcd4727236ce54524bdbe0937bd1bfcf Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Mon, 6 Nov 2023 14:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E4=B8=8A?= =?UTF-8?q?=E6=9E=B6=E5=88=86=E9=A1=B5=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe/PDA/common/new_style.css | 2 +- fe/PDA/mycomponents/comItem/comItemBottom.vue | 14 ++- fe/PDA/pages/putaway/purchasePutaway.vue | 119 +++++++++++------- fe/PDA/pages/task/count_detail.vue | 2 +- 4 files changed, 83 insertions(+), 54 deletions(-) diff --git a/fe/PDA/common/new_style.css b/fe/PDA/common/new_style.css index f6e9ec526..d02a5c519 100644 --- a/fe/PDA/common/new_style.css +++ b/fe/PDA/common/new_style.css @@ -279,7 +279,7 @@ uni-page-head .uni-page-head__title { .bot_card_item { width: 50%; - text-align: left; + text-align:left; height: 60rpx; overflow: hidden; white-space: nowrap; diff --git a/fe/PDA/mycomponents/comItem/comItemBottom.vue b/fe/PDA/mycomponents/comItem/comItemBottom.vue index 12bb271dd..e182b461c 100644 --- a/fe/PDA/mycomponents/comItem/comItemBottom.vue +++ b/fe/PDA/mycomponents/comItem/comItemBottom.vue @@ -2,17 +2,23 @@ - {{dataContent.lot}} diff --git a/fe/PDA/pages/putaway/purchasePutaway.vue b/fe/PDA/pages/putaway/purchasePutaway.vue index 079c3e0b2..d7dddb4c5 100644 --- a/fe/PDA/pages/putaway/purchasePutaway.vue +++ b/fe/PDA/pages/putaway/purchasePutaway.vue @@ -2,55 +2,64 @@ - - - - - 指定ERP储位: - {{recommendErpLocationCode}} + + + + + +
@@ -227,7 +236,7 @@ let params = { pageSize: 100, pageIndex: 1, - locationTypes: [1], //待检库 + locationTypes: [2], //待检库 inventoryStatuses: [2], //合格 packingCode: packingCode }; @@ -276,7 +285,7 @@ title: "获取采购订单箱码...", mask: true }); - getPurchasePutawayAsyncDetail(poNumber).then(res => { + getPurchasePutawayAsyncDetail(poNumber).then(res => { uni.hideLoading() if (res.length > 0) { that.poNumber = poNumber @@ -287,7 +296,7 @@ uni.hideLoading() that.poNumber = ""; that.showPopList = []; - that.showMessage(err.message); + that.showMessage(error.message); }) } else { @@ -297,7 +306,7 @@ if (item == undefined) { //提示不在采购订单中 that.showMessage("扫描的箱码[" + packingCode + "]不在当前采购订单[" + this.poNumber + "]中"); - return + return } else { that.createItem(balanceItem, purchaseDetail); } @@ -418,6 +427,9 @@ addLabel(item, label) { item.labelList.unshift(label); item.scanQty += label.qty; + if (this.$refs.paging != undefined) { + this.$refs.paging.setLocalPaging(this.itemList) + } }, async selectedBalanceItem(balanceItem) { @@ -593,6 +605,17 @@ scanPopupLoseFocus(message) { this.$refs.scanPopup.losefocus(); }, + queryList(pageNo, pageSize) { + console.log("加载", pageNo) + // var list = [] + // this.currentPage = pageNo + // list = this.getDataPage(pageNo, pageSize) + // this.$refs.paging.complete(list) + if (this.itemList.length > 0) { + this.$refs.paging.setLocalPaging(this.itemList) + } + + } } }; diff --git a/fe/PDA/pages/task/count_detail.vue b/fe/PDA/pages/task/count_detail.vue index c0365c5f9..1f72c758a 100644 --- a/fe/PDA/pages/task/count_detail.vue +++ b/fe/PDA/pages/task/count_detail.vue @@ -156,7 +156,7 @@ --> - +