diff --git a/src/api/handlingunit/handlingunit.js b/src/api/handlingunit/handlingunit.js index 58f3353..58016f8 100644 --- a/src/api/handlingunit/handlingunit.js +++ b/src/api/handlingunit/handlingunit.js @@ -6,6 +6,9 @@ export const getHandlingUnitList = data => createAPI(`handlingunit/getHandlingUn // 查询处理单元详情 export const getHandlingUnitDetail = data => createAPI(`handlingunit/getHandlingUnitDetail`,'post',data) +// HU操作扫码追加在盘校验;普通详情查询及标签拆分保留旧接口,不改变查询参数 - rqrq +export const scanHandlingUnitLabel = data => createAPI(`handlingunit/scanHandlingUnitLabel`, 'post', data) + // 装Handling Unit(托盘/箱) export const packHandlingUnit = data => createAPI(`handlingunit/packHandlingUnit`,'post',data) @@ -48,4 +51,4 @@ export const mergeHandlingUnits = data => createAPI(`handlingunit/mergeHandlingU export const splitHandlingUnit = data => createAPI(`handlingunit/splitHandlingUnit`,'post',data) // 查询物料信息 -export const getMaterialInfo = data => createAPI(`handlingunit/getMaterialInfo`,'post',data) \ No newline at end of file +export const getMaterialInfo = data => createAPI(`handlingunit/getMaterialInfo`,'post',data) diff --git a/src/api/inventory/label.js b/src/api/inventory/label.js index ce2c2c7..9b4351e 100644 --- a/src/api/inventory/label.js +++ b/src/api/inventory/label.js @@ -2,6 +2,12 @@ import { createAPI } from "@/utils/httpRequest.js"; export const queryLabelInfo = data => createAPI(`/pda/label/query`,'post',data) +// 取消预留扫码独立校验在盘状态,不修改标签查询/拆分使用的queryLabelInfo - rqrq +export const queryLabelForCancelReserve = data => createAPI(`/handlingunit/scanLabelForCancelReserve`, 'post', { + site: data.site, + unitId: data.labelCode +}) + // 取消WMS预留 - rqrq export const cancelReserve = data => createAPI(`/pda/label/cancelReserve`,'post',data) @@ -14,4 +20,4 @@ export const splitLabel = data => createAPI(`/pda/label/split`,'post',data) export const queryLabelCalibration = data => createAPI(`/pda/labelCalibration/query`, 'post', data) // 执行标签校准纠正 - rqrq -export const calibrateLabel = data => createAPI(`/pda/labelCalibration/calibrate`, 'post', data) \ No newline at end of file +export const calibrateLabel = data => createAPI(`/pda/labelCalibration/calibrate`, 'post', data) diff --git a/src/api/po/po.js b/src/api/po/po.js index 22a970d..06871e7 100644 --- a/src/api/po/po.js +++ b/src/api/po/po.js @@ -16,8 +16,8 @@ export const getQualifiedInspectionList = data => createAPI(`inspection/getQuali // 获取检验不合格待处理单据列表 export const getUnqualifiedInspectionList = data => createAPI(`inspection/getUnqualifiedInspectionList`,'post',data) -// 扫描条码获取HandlingUnit信息 -export const scanHandlingUnitLabel = data => createAPI(`handlingunit/getHandlingUnitDetail`,'post',data) +// 操作扫码增加公共在盘校验,原参数和data结构不变;其他入库/不合格处理等共用 - rqrq +export const scanHandlingUnitLabel = data => createAPI(`handlingunit/scanHandlingUnitLabel`,'post',data) export const scanHandlingUnitLabelForYiKu = data => createAPI(`handlingunit/scanHandlingUnitLabelForYiKu`,'post',data) export const scanHandlingUnitLabelForOther = data => createAPI(`handlingunit/scanHandlingUnitLabelForOther`,'post',data) diff --git a/src/views/modules/handling-unit/merging-hu.vue b/src/views/modules/handling-unit/merging-hu.vue index f6d3e03..f94c0c0 100644 --- a/src/views/modules/handling-unit/merging-hu.vue +++ b/src/views/modules/handling-unit/merging-hu.vue @@ -235,7 +235,7 @@