From 74a0ba2e5f6c9f76f28cbce3213bd97bfc097384 Mon Sep 17 00:00:00 2001 From: wangweidong <850489345@qq.com> Date: Fri, 17 Oct 2025 14:31:57 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E9=87=87=E8=B4=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +- pages/Warehouse/api/lunpan.js | 35 ++ pages/Warehouse/components/ShadowView.vue | 42 ++ pages/Warehouse/procurement.vue | 648 ++++++++++++++++----- static/index/warehouse/procurement/k.png | Bin 0 -> 31162 bytes static/index/warehouse/procurement/x.png | Bin 0 -> 794 bytes static/index/warehouse/procurement/znk.png | Bin 9514 -> 0 bytes static/index/warehouse/ys.gif | Bin 11151 -> 28734 bytes 8 files changed, 595 insertions(+), 134 deletions(-) create mode 100644 pages/Warehouse/api/lunpan.js create mode 100644 pages/Warehouse/components/ShadowView.vue create mode 100644 static/index/warehouse/procurement/k.png create mode 100644 static/index/warehouse/procurement/x.png delete mode 100644 static/index/warehouse/procurement/znk.png diff --git a/manifest.json b/manifest.json index 9a48c00..c2eb1e2 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "护理单元", "appid" : "__UNI__FB2D473", "description" : "护理单元", - "versionName" : "1.6.6", - "versionCode" : 166, + "versionName" : "1.6.7", + "versionCode" : 167, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/Warehouse/api/lunpan.js b/pages/Warehouse/api/lunpan.js new file mode 100644 index 0000000..4ac7af6 --- /dev/null +++ b/pages/Warehouse/api/lunpan.js @@ -0,0 +1,35 @@ +// 引入 request 文件 +import request from '@/request/guanli.js' + +// 查询仓库对应物料 +export const queryInvoicingList = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryInvoicingList`, + method: 'get', + data: params, + }) +} + + +export const getMaterialTreeData = () => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/getMaterialTreeData`, + method: 'get' + }) +} +export const queryNuInfoByNuId = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/queryNuInfoByNuId`, + method: 'get', + data: params, + }) +} +// 修改库房启用停用 + +export const updateKfstatus = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/updateKfstatus`, + method: 'post', + data: params, + }) +} \ No newline at end of file diff --git a/pages/Warehouse/components/ShadowView.vue b/pages/Warehouse/components/ShadowView.vue new file mode 100644 index 0000000..3cd2ed7 --- /dev/null +++ b/pages/Warehouse/components/ShadowView.vue @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/pages/Warehouse/procurement.vue b/pages/Warehouse/procurement.vue index 772af0c..bdc31c1 100644 --- a/pages/Warehouse/procurement.vue +++ b/pages/Warehouse/procurement.vue @@ -2,33 +2,70 @@ - - - - 纸尿裤-拉拉裤纸尿裤-拉拉裤 - 规格型号: 800mm*680mm - 采购单位: 片 + + + + {{v.materialName}} + 规格型号: {{v.specificationModel}} + 采购单位: {{v.materialUnits}} - - - - - 保洁 + + + + + {{v.tagName}} - + - 500 + {{v.kcsl}} 库存数量 - + + + + - + + + + + + + + {{v.materialName}} + 规格型号: {{v.specificationModel}} + 采购单位: {{v.materialUnits}} + + + + + + {{v.tagName}} + + + + + + {{v.kcsl}} + 库存数量 + + + + + + + + + + + @@ -41,20 +78,20 @@ - {{shyp?'启用':'停用'}} + {{!shyp?'两列':'三列'}} - + - 李树奎 + {{cellobj?.fzr}} - - 50岁 - 13358863266 + + {{cellobj?.fzrTel?cellobj?.fzrTel:'-'}} @@ -67,29 +104,28 @@ - - {{v}} + + {{v.title}} - - {{v}} + + {{v.title}} + :scroll-top="scroll.scrolltop1" class="scroll-Y scrl1"> - - + v-for="(v,i) in TreeData" + @click="typescroll(1,i,v)"> + + - {{v}} + {{v.title}} @@ -99,7 +135,7 @@ - @@ -109,8 +145,11 @@ - - + + + + + 检索 @@ -122,49 +161,227 @@