From dee8d3647fe2bfb4740d80c4bb97c94dfec7faf7 Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Tue, 28 Oct 2025 17:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E7=BB=86=E8=8A=82=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/Warehouse.vue | 35 +- pages/Warehouse/api/lunpan.js | 27 +- pages/Warehouse/procurecart.vue | 30 +- pages/Warehouse/procurement.vue | 15 +- pages/Warehouse/purchaseorder.vue | 19 +- static/index/warehouse/active/w2.png | Bin 37034 -> 19000 bytes static/index/warehouse/active/w3.png | Bin 19000 -> 37034 bytes unpackage/dist/dev/.nvue/app.js | 3 + unpackage/dist/dev/.nvue/pages/camera.js | 2 +- unpackage/dist/dev/.nvue/pages/fullcamera.js | 2 +- .../dist/dev/.nvue/pages/smallcarmera.js | 585 ++++++++++++++++++ .../.app-plus/tsc/app-android/.tsbuildInfo | 2 +- 12 files changed, 672 insertions(+), 48 deletions(-) create mode 100644 unpackage/dist/dev/.nvue/pages/smallcarmera.js diff --git a/pages/Warehouse/Warehouse.vue b/pages/Warehouse/Warehouse.vue index cefa0fc..8a22892 100644 --- a/pages/Warehouse/Warehouse.vue +++ b/pages/Warehouse/Warehouse.vue @@ -127,12 +127,12 @@ break case 2: - - break - case 3: uni.navigateTo({ url:"/pages/watch/full" }) + break + case 3: + break } } @@ -177,6 +177,18 @@ width: '26vw', height: '16vw' }, + { + url: genPaths( + '/static/index/warehouse/animation', + 'Pick0', + 4, // 张数 + 'png', + 1, // 起始索引为 1 + false // 不补零 + ), + width: '17vw', + height: '13vw' + }, { url: genPaths( '/static/index/warehouse/animation', @@ -189,18 +201,7 @@ width: '24vw', height: '16vw' }, - { - url: genPaths( - '/static/index/warehouse/animation', - 'Pick0', - 4, // 张数 - 'png', - 1, // 起始索引为 1 - false // 不补零 - ), - width: '17vw', - height: '13vw' - } + ]) @@ -318,7 +319,7 @@ z-index: 27; } - .itemact3 { + .itemact4 { width: 24vw; height: 16vw; top: 28vw; @@ -326,7 +327,7 @@ z-index: 55; } - .itemact4 { + .itemact3{ width: 17vw; height: 13vw; top: 22vw; diff --git a/pages/Warehouse/api/lunpan.js b/pages/Warehouse/api/lunpan.js index 77d9c36..8bad07f 100644 --- a/pages/Warehouse/api/lunpan.js +++ b/pages/Warehouse/api/lunpan.js @@ -10,13 +10,32 @@ export const queryInvoicingList = (params) => { }) } - -export const getMaterialTreeData = () => { +// 获取物料分类树(请购列表使用) +export const getMaterialTreeData = (params) => { return request({ - url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getMaterialTreeData`, - method: 'get' + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getMaterialTreeData?nuId=`+params.nuId, + method: 'get', + data: params, }) } + +// (业务)获取物料分类树(购物车使用) +export const getGwcMaterialTreeData = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getGwcMaterialTreeData?nuId=`+params.nuId, + method: 'get', + data: params + }) +} +// (业务)获取物料分类树(采购单使用) +export const getCgdMaterialTreeData = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getCgdMaterialTreeData?nuId=`+params.nuId, + method: 'get', + data: params, + }) +} + export const queryNuInfoByNuId = (params) => { return request({ url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryNuInfoByNuId`, diff --git a/pages/Warehouse/procurecart.vue b/pages/Warehouse/procurecart.vue index 3461b84..4994cde 100644 --- a/pages/Warehouse/procurecart.vue +++ b/pages/Warehouse/procurecart.vue @@ -96,15 +96,14 @@ 生活用品库 - - + @@ -140,6 +139,7 @@ + 全部 @@ -149,6 +149,7 @@ + 全部 {{v.title}} @@ -157,6 +158,7 @@ + 全部 @@ -313,7 +315,7 @@