diff --git a/src/api/storage/inventoryDifferential/inventoryDifferential.js b/src/api/storage/inventoryDifferential/inventoryDifferential.js index bd7e383..51843b4 100644 --- a/src/api/storage/inventoryDifferential/inventoryDifferential.js +++ b/src/api/storage/inventoryDifferential/inventoryDifferential.js @@ -5,7 +5,7 @@ export default { // 查询分页列表 listPage: function(params) { return request({ - url: '/wms/apiadmin/inventoryadjustment/listPage', + url: '/wms/apiadmin/inventoryadjustmentdetail/listPage', method: 'post', data: params, headers: { @@ -14,22 +14,22 @@ export default { }) }, - // 商品库位库存列表 - selInventoryByWareSid: function(params) { + // 根据skusid查询库位库存 + selAvailBySkuSid: function(data) { return request({ - url: '/wms/apiadmin/warehouseinventory/selInventoryByWareSid', + url: '/wms/apiadmin/warehouseinventory/selAvailBySkuSid', method: 'post', - data: params, + data: data, headers: { 'Content-Type': 'application/json' } }) }, - // 保存调整单 + // 保存调整差异量 saveOrUpdate: function(data) { return request({ - url: '/wms/apiadmin/inventoryadjustment/saveOrUpdate', + url: '/wms/apiadmin/inventoryadjustment/adjustment', method: 'post', data: data, headers: { diff --git a/src/views/storage/inventoryAdjust/inventoryAdjust/inventoryAdjust.vue b/src/views/storage/inventoryAdjust/inventoryAdjust/inventoryAdjust.vue index af81212..3f0a386 100644 --- a/src/views/storage/inventoryAdjust/inventoryAdjust/inventoryAdjust.vue +++ b/src/views/storage/inventoryAdjust/inventoryAdjust/inventoryAdjust.vue @@ -10,20 +10,18 @@