From f144feda07af2b1254e99c40104afdfd401afc0a Mon Sep 17 00:00:00 2001 From: myTest383
Date: Fri, 27 Sep 2024 16:19:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=BA=93=E5=AD=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventoryDifferential.js | 14 +- .../inventoryAdjust/inventoryAdjust.vue | 47 +++-- .../inventoryDifferential.vue | 183 +++++++++++++++--- 3 files changed, 188 insertions(+), 56 deletions(-) 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 @@