From 5eeff94f97f7df5684677ff86e6856a3f8a06fd7 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Sat, 27 Jan 2024 20:22:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=9E=B6=E6=96=B0=E5=A2=9E=E4=B8=8B?= =?UTF-8?q?=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compoment/tiplist/tiplist.vue | 2 +- compoment/tips/tips.vue | 77 ++-- pagesHome/pages/DownGoods/DownGoods.vue | 6 - pagesHome/pages/PeopleScanUp/PeopleScanUp.vue | 353 +++++++++++++++++- pagesHome/pages/ScanUp/ScanUp.vue | 213 +++++++++-- utils/utils.js | 4 + 6 files changed, 577 insertions(+), 78 deletions(-) diff --git a/compoment/tiplist/tiplist.vue b/compoment/tiplist/tiplist.vue index 189d628..65aaa61 100644 --- a/compoment/tiplist/tiplist.vue +++ b/compoment/tiplist/tiplist.vue @@ -457,7 +457,7 @@ left: 0; top: 0; background-color: #00000050; - z-index: 9999; + z-index: 999; } .modtips { diff --git a/compoment/tips/tips.vue b/compoment/tips/tips.vue index e70f959..26d07f1 100644 --- a/compoment/tips/tips.vue +++ b/compoment/tips/tips.vue @@ -18,60 +18,61 @@ + \ No newline at end of file diff --git a/pagesHome/pages/DownGoods/DownGoods.vue b/pagesHome/pages/DownGoods/DownGoods.vue index fe536a0..8297b95 100644 --- a/pagesHome/pages/DownGoods/DownGoods.vue +++ b/pagesHome/pages/DownGoods/DownGoods.vue @@ -346,12 +346,6 @@ details.typelist = ['订单号', '运单号'] utils.ttsspke(`当前下架方式为${op.pageName}, 请录入订单号或运单号`) } - - // 上架页面跳转 -- 按托盘下架 - if (op.trayCode) { - details.scancode = op.trayCode - scandata() - } }) onShow(() => { diff --git a/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue b/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue index 6bbda49..ec7a787 100644 --- a/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue +++ b/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue @@ -222,12 +222,16 @@ + + 下架 + + - + 托盘码:{{reqobj.trayCode + `(${reqobj.trayName})`}} @@ -236,6 +240,11 @@ 扫码包数:{{reqobj.trayNum}} + + + 下架 + + @@ -247,6 +256,7 @@ 上架 + @@ -340,6 +350,65 @@ + + + + + + + + + + + + + + + + + + + + {{item.code}} + + + + + + + + + + {{details.stockItem.goodsType === 2?'运单号': '物料名称'}}: + + + {{details.stockItem.goodsType === 2?details.stockItem.waybillNo: details.stockItem.materialName }} + + + + + + 上架数: + + + {{details.stockItem.shelfNum}} + + + + + + 下架数: + + + + + - \ No newline at end of file diff --git a/utils/utils.js b/utils/utils.js index 2d90147..bdd9d11 100644 --- a/utils/utils.js +++ b/utils/utils.js @@ -484,6 +484,10 @@ const utils = { clearTimeout(timer); }, delay); })(); + }, + /** 是否为数字 */ + isNumber(content) { + return !isNaN(parseFloat(content)) && isFinite(content); } } export default utils \ No newline at end of file