From 0fdab71a7f087833c1f96f2977ca981525873505 Mon Sep 17 00:00:00 2001
From: zhangdi <1104545947@qq.com>
Date: Sat, 9 May 2026 13:25:39 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E9=97=AE=E9=A2=98=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/storeManagement/returnReceiving.js | 2 +-
src/api/storeManagement/warehouseTransfer.js | 2 +-
src/views/inboundOutboundManagement/returnReceiving.vue | 8 ++++----
.../inboundOutboundManagement/warehouseTransfer/index.vue | 8 ++++----
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/api/storeManagement/returnReceiving.js b/src/api/storeManagement/returnReceiving.js
index 871e63b5..8337cb36 100644
--- a/src/api/storeManagement/returnReceiving.js
+++ b/src/api/storeManagement/returnReceiving.js
@@ -40,7 +40,7 @@ export const getLocationList = params => {
// 根据库房ID和物料编号查找库位号
export const getLocationData = params => {
return request({
- url: '/api/blade-wms/stOtherOutRecord/queryByGoodsIdShId',
+ url: '/api/blade-wms/stStorageLocation/findByShIdAndGoodsId',
method: 'get',
params
});
diff --git a/src/api/storeManagement/warehouseTransfer.js b/src/api/storeManagement/warehouseTransfer.js
index 1154470c..20606573 100644
--- a/src/api/storeManagement/warehouseTransfer.js
+++ b/src/api/storeManagement/warehouseTransfer.js
@@ -31,7 +31,7 @@ export const getLocationList = params => {
// 根据库房ID和物料编号查找库位号
export const getLocationData = params => {
return request({
- url: '/api/blade-wms/stOtherOutRecord/queryByGoodsIdShId',
+ url: '/api/blade-wms/stStorageLocation/findByShIdAndGoodsId',
method: 'get',
params
});
diff --git a/src/views/inboundOutboundManagement/returnReceiving.vue b/src/views/inboundOutboundManagement/returnReceiving.vue
index b13d4d07..f8df01ef 100644
--- a/src/views/inboundOutboundManagement/returnReceiving.vue
+++ b/src/views/inboundOutboundManagement/returnReceiving.vue
@@ -52,7 +52,7 @@
-
+
@@ -367,9 +367,9 @@ export default {
changeWare(val){
getLocationData({
shId:val,
- goodsId:this.checkGoodsCode
+ goodsCode:this.checkGoodsCode
}).then(res =>{
- this.locationList = res.data.data.records
+ this.locationList = res.data.data
})
},
// 多选
@@ -384,7 +384,7 @@ export default {
// 单个入库
warehousing(row) {
this.warehouseShow = true;
- this.checkGoodsCode = row.goodsId
+ this.checkGoodsCode = row.prtno
this.warehouseForm.id = row.id
this.warehouseForm.piNo = row.piNo
this.$refs.warehouseForm.resetFields();
diff --git a/src/views/inboundOutboundManagement/warehouseTransfer/index.vue b/src/views/inboundOutboundManagement/warehouseTransfer/index.vue
index 2aa17158..035504bc 100644
--- a/src/views/inboundOutboundManagement/warehouseTransfer/index.vue
+++ b/src/views/inboundOutboundManagement/warehouseTransfer/index.vue
@@ -54,7 +54,7 @@
-
+
@@ -318,9 +318,9 @@ export default {
changeWare(val){
getLocationData({
shId:val,
- goodsId:this.checkGoods
+ goodsCode:this.checkGoods
}).then(res =>{
- this.locationList = res.data.data.records;
+ this.locationList = res.data.data;
})
},
currentChange(cuurrentPage){
@@ -331,7 +331,7 @@ export default {
},
warehousing(row) {
this.warehouseForm.ewtId = row.id
- this.checkGoods = row.goodsId
+ this.checkGoods = row.goodsCode
this.warehouseShow = true
},
submitWarehouse(){