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(){