From 6cb384e20b18f1f74611759f668874f7f9a4734b Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Wed, 19 Nov 2025 11:09:47 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/Warehouse.vue | 87 ++++++---- pages/Warehouse/picking.vue | 312 +++++++++++++++++++++------------- 2 files changed, 247 insertions(+), 152 deletions(-) diff --git a/pages/Warehouse/Warehouse.vue b/pages/Warehouse/Warehouse.vue index 07bfaec..a3b2367 100644 --- a/pages/Warehouse/Warehouse.vue +++ b/pages/Warehouse/Warehouse.vue @@ -20,7 +20,7 @@ - @@ -59,10 +59,53 @@ }, }); const housedex = ref(-1); - + const forthmenuIndex = ref(0); + const lastTap = ref(0) + const DOUBLE_TAP_DELAY = 300; + const setout = ref(null) const housactive = (index : number) => { - console.log("点击哪个了",index) - if (index > 5) { return } + housedex.value = index; + const now = Date.now() + forthmenuIndex.value = i + if (now - lastTap.value < DOUBLE_TAP_DELAY) { + // 双击成立 + clearTimeout(setout.value) + if (index == 1) { + navurl.value = 'pages/procurement/material' + uni.navigateTo({ + url: '/' + navurl.value + }) + } + if (index == 2) { + navurl.value = 'pages/Warehouse/picking' + uni.navigateTo({ + url: '/' + navurl.value + }) + } + if (index == 3) { + navurl.value = 'pages/Warehouse/finish' + uni.navigateTo({ + url: '/' + navurl.value + }) + } + // 重置,避免多次触发 + lastTap.value = 0 + } else { + setout.value = setTimeout(()=>{ + console.log("点击哪个了",index) + if (index === 5) { + uni.navigateTo({ + url: "/pages/watch/full" + }) + } + + },DOUBLE_TAP_DELAY) + // 记录本次时间,等待下次点击 + lastTap.value = now + } + + + if(housedex.value == index){ if (housedex.value == 0) { navurl.value = 'pages/Warehouse/paymoney' @@ -70,34 +113,10 @@ url: '/' + navurl.value }) } - if (housedex.value == 1) { - navurl.value = 'pages/procurement/material' - uni.navigateTo({ - url: '/' + navurl.value - }) - } - if (housedex.value == 2) { - navurl.value = 'pages/Warehouse/picking' - uni.navigateTo({ - url: '/' + navurl.value - }) - } - if (housedex.value == 3) { - navurl.value = 'pages/Warehouse/finish' - uni.navigateTo({ - url: '/' + navurl.value - }) - } + return } - housedex.value = index; - // console.log("index", index) - // 只有中心的四个有动画.....所以点不到监控室 - if (index === 5) { - uni.navigateTo({ - url: "/pages/watch/full" - }) - } + } onMounted(() => { housedex.value = 1 @@ -512,6 +531,14 @@ top: 24vw; right: 6vw; } + .annotation7 { + top: 62vh; + left: 40vw; + } + .annotation8 { + top: 5vh; + left: 28vw; + } // title .annotation { diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index 7389561..aed1917 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -39,7 +39,7 @@ 采购单价: - ¥1.50 + ¥{{ gaijia }} @@ -47,17 +47,17 @@ 到货单价 - - ¥1500.00 + + ¥ {{ gaijia }} - 取消 - 确定 @@ -66,50 +66,50 @@ - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + 7 - + 8 - + 9 - + AC - + 0 - + . @@ -234,7 +234,7 @@ - + - + border-radius: 20rpx;"> @@ -263,7 +262,8 @@ - + - @@ -379,7 +379,6 @@ - - + - + + :src="`/static/index/warehouse/procurement/picking/bebad${!Number(plsbuy[lefttarget]?.status)?``:`target`}.png`" /> 作废 @@ -1072,32 +1071,77 @@ - + - + + diff --git a/unpackage/dist/dev/.nvue/pages/camera.js b/unpackage/dist/dev/.nvue/pages/camera.js index 12310ff..04100f2 100644 --- a/unpackage/dist/dev/.nvue/pages/camera.js +++ b/unpackage/dist/dev/.nvue/pages/camera.js @@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]); +const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]); export { camera as default }; diff --git a/unpackage/dist/dev/.nvue/pages/fullcamera.js b/unpackage/dist/dev/.nvue/pages/fullcamera.js index fc534ca..beefd5c 100644 --- a/unpackage/dist/dev/.nvue/pages/fullcamera.js +++ b/unpackage/dist/dev/.nvue/pages/fullcamera.js @@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ) ]); } -const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]); +const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]); export { fullcamera as default }; From e457e335c98fdd07b514d04346196acbafee028a Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Wed, 19 Nov 2025 16:51:08 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=8B=A3=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/api/lunpan.js | 35 +++- pages/Warehouse/components/equiment.vue | 1 + pages/Warehouse/picking.vue | 233 +++++++++++++++++++----- 3 files changed, 225 insertions(+), 44 deletions(-) diff --git a/pages/Warehouse/api/lunpan.js b/pages/Warehouse/api/lunpan.js index 62cc4a9..93b9388 100644 --- a/pages/Warehouse/api/lunpan.js +++ b/pages/Warehouse/api/lunpan.js @@ -175,4 +175,37 @@ export const pickingInfo = (params) => { method: 'post', data: params }) -} \ No newline at end of file +} + +//(业务)查询随行单照片集合 +export const querySxdList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/querySxdList`, + method: 'get', + data: params + }) +} +//(业务)查询随行单照片集合 +export const addSxd = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/addSxd`, + method: 'post', + data: params + }) +} + +export const queryJhzpList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryJhzpList`, + method: 'get', + data: params + }) +} +// (业务)采购单拣货记录 +export const queryPickingRecordList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryPickingRecordList`, + method: 'get', + data: params + }) +} diff --git a/pages/Warehouse/components/equiment.vue b/pages/Warehouse/components/equiment.vue index cfd9567..f5b0573 100644 --- a/pages/Warehouse/components/equiment.vue +++ b/pages/Warehouse/components/equiment.vue @@ -90,6 +90,7 @@ z-index: 21; padding: 0 10%; z-index: 999; + border: 1px solid #999; } .zhezhao { position: fixed; diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index c4877f9..2deecb6 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -333,20 +333,21 @@ 采购单号: - 10120251024012 + {{plsbuy[lefttarget]?.cgdNo}} - - - + + + 上传时间: - 2025.10.11 10:12:56 + {{item.createTime}} @@ -354,13 +355,37 @@ 上传人: - 赵晓璇 + {{item.createBy}} + + + + + + + + + + 上传时间: + + + {{item.createTime}} + + + + + 上传人: + + + {{item.createBy}} - + + + + + @@ -907,7 +936,7 @@ - 留置针敷贴(医用... + {{showvalue.wlName}} @@ -915,31 +944,31 @@ - 100 + {{showvalue.purchaseQuantity}} - - 片 + {{showvalue.wlUnits}} - + + style=" display: inline-block;width: 45%;height: 180rpx;background-color: #F9F9F9;border-radius: 30rpx;margin-right: 2%;margin-top: 20rpx;padding: 0 30rpx;color: #888888;" + v-for="(item,index) in lhjlarr" :key="index"> 拣货数量: - 20 + {{item.crkNum}} - 片 + {{showvalue.wlUnits}} - {{ index?`销账`:`入库` }} + {{ item.crkStatus_dictText}} @@ -947,14 +976,14 @@ 采购单价: - ¥1.50 + ¥{{item.oldPrice}} 拣货人: - 梁嘉豪 + {{item.createBy}} @@ -962,26 +991,27 @@ 到货单价: - - ¥1.50 + ¥{{item.newPrice}} - 2025.10.03 10:10:30 + {{item.createTime}} - - 点击加载更多 + 上划加载更多 + 已加载全部~ + 加载中~ - + @@ -1055,12 +1085,13 @@ +