From 69133733627a00267892297db71648c10f4829a0 Mon Sep 17 00:00:00 2001
From: zm2000 <18386612143@163.com>
Date: Sun, 13 Sep 2026 17:55:56 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BA=93=E4=BD=8D=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
core/request/apis.js | 6 +
env.js | 4 +-
pages.json | 7 +
pages/index/index.vue | 5 +
pages/warehouse/locationInquiry.vue | 891 ++++++++++++++++++++++++++++
5 files changed, 911 insertions(+), 2 deletions(-)
create mode 100644 pages/warehouse/locationInquiry.vue
diff --git a/core/request/apis.js b/core/request/apis.js
index 591cbfe..ada7701 100644
--- a/core/request/apis.js
+++ b/core/request/apis.js
@@ -269,6 +269,12 @@ export default {
method: "POST",
isSystemApi: true
},
+ listBySpaceId: {
+ path: "storage.inventory.listBySpaceId",
+ auth: true,
+ method: "POST",
+ isSystemApi: true
+ },
transferByProduct: {
path: "storage.inventory.transferByProduct",
auth: true,
diff --git a/env.js b/env.js
index c33f58a..b87b72a 100644
--- a/env.js
+++ b/env.js
@@ -1,4 +1,4 @@
-// export const BASE_URL = 'http://qimen.wms.gztbyc.com' //生产环境接口地址
-export const BASE_URL = 'http://192.168.11.56:6060' //开发环境接口地址
+export const BASE_URL = 'http://qimen.wms.gztbyc.com' //生产环境接口地址
+// export const BASE_URL = 'http://192.168.11.56:6060' //开发环境接口地址
export const API_URL = `${BASE_URL}/system` //后台接口域名
export const IMG_URL = 'https://ye4s.file.gzxunren.com' //全局网络图片地址变量,css背景图片地址变量在uni.scss
diff --git a/pages.json b/pages.json
index bb6c778..747256f 100644
--- a/pages.json
+++ b/pages.json
@@ -110,6 +110,13 @@
"titleNView": false
}
},
+ {
+ "path" : "pages/warehouse/locationInquiry",
+ "style" :
+ {
+ "titleNView": false
+ }
+ },
{
"path" : "pages/403",
"style" :
diff --git a/pages/index/index.vue b/pages/index/index.vue
index d5a1b26..8d638ff 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1182,6 +1182,7 @@
toPath(item) {
const menuName = String(item?.name || '').trim();
const isGoodsQuery = menuName === '商品查询' || (menuName.includes('商品') && menuName.includes('查询'));
+ const isSpaceQuery = menuName === '库位查询' || (menuName.includes('库位') && menuName.includes('查询'));
const isOrderPicking = menuName === '订单拣货' || (menuName.includes('订单') && menuName.includes('拣货'));
const isScatterWaveStrategy = menuName === '散单波次策略' || (menuName.includes('散单') && menuName.includes('波次'));
const isGrouponWaveStrategy = menuName === '团购波次策略' || (menuName.includes('团购') && menuName.includes('波次'));
@@ -1207,6 +1208,10 @@
this.$tools.routerTo('/pages/work/storage/random-storage');
return;
}
+ if (isSpaceQuery) {
+ this.$tools.routerTo('/pages/warehouse/locationInquiry');
+ return;
+ }
const targetPath = isGoodsQuery
? '/pages/work/product/query'
: (isOrderPicking
diff --git a/pages/warehouse/locationInquiry.vue b/pages/warehouse/locationInquiry.vue
new file mode 100644
index 0000000..146a8e3
--- /dev/null
+++ b/pages/warehouse/locationInquiry.vue
@@ -0,0 +1,891 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+ 库位名称
+ {{ spaceName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 货主
+ {{ goodsStoreName(goods) }}
+
+
+ 商品
+ {{ goodsName(goods) }}、{{ goodsBarcode(goods) }}
+
+
+
+
+
+ 总数量
+ {{ goodsCount(goods) }}
+
+
+ 可移数量
+ {{ goodsCopyCount(goods) }}
+
+
+
+
+
+
+ {{ queried ? '该库位无有量库存' : '暂无库位数据' }}
+ 请输入关键字进行查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.custom_name || item.space_code || '--' }}
+ 编码:{{ item.space_code || '--' }}
+ 条码:{{ item.custom_barcode }}
+
+
+
+
+
+
+
+
+
+