diff --git a/src/api/other-inbound/other-inbound.js b/src/api/other-inbound/other-inbound.js index 6d5e57d..cce7fb8 100644 --- a/src/api/other-inbound/other-inbound.js +++ b/src/api/other-inbound/other-inbound.js @@ -13,14 +13,14 @@ export const getOtherInboundList = data => createAPI(`otherInbound/getInboundLis export const getOtherInboundDetails = data => createAPI(`otherInbound/getInboundDetails`, 'post', data) /** - * 验证物料与其它入库单是否匹配 - * @param {Object} data - 验证参数 + * 验证物料与其它入库单是否匹配(通过存储过程GetScanLabelVerification) + * @param {Object} data - 验证参数(包含documentType: '其他入库') */ -export const validateMaterialWithInbound = data => createAPI(`otherInbound/validateMaterialWithInbound`, 'post', data) +export const validateLabelWithOtherInbound = data => createAPI(`otherInbound/validateLabelWithOtherInbound`, 'post', data) /** - * 确认其它入库 - * @param {Object} data - 入库数据 + * 确认其它入库(通过存储过程GetSaveLabelVerification) + * @param {Object} data - 入库数据(包含documentType: '其他入库') */ export const confirmOtherInbound = data => createAPI(`otherInbound/confirmOtherInbound`, 'post', data) @@ -31,7 +31,7 @@ export const confirmOtherInbound = data => createAPI(`otherInbound/confirmOtherI export const getMaterialList = data => createAPI(`otherInbound/getMaterialList`, 'post', data) /** - * 添加物料到入库单 - * @param {Object} data - 添加物料参数 {site, buNo, inboundNo, materialCode, actualQty, warehouseId} + * 获取已扫描标签列表(从ScannedRollTempTable缓存表) + * @param {Object} data - 查询参数 {site, buNo, inboundNo, documentType} */ -export const addMaterialToInbound = data => createAPI(`otherInbound/addMaterialToInbound`, 'post', data) \ No newline at end of file +export const getScannedLabelList = data => createAPI(`otherInbound/getScannedLabelList`, 'post', data) \ No newline at end of file diff --git a/src/views/modules/other-inout/otherInboundDetail.vue b/src/views/modules/other-inout/otherInboundDetail.vue index c9eb11d..d8ce5a3 100644 --- a/src/views/modules/other-inout/otherInboundDetail.vue +++ b/src/views/modules/other-inout/otherInboundDetail.vue @@ -47,14 +47,24 @@