From 11c6bce60487eceba72d370604a6ffeb4faffe67 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Thu, 27 Nov 2025 11:19:23 +0800 Subject: [PATCH] =?UTF-8?q?2025-11-27=20pda=E8=B0=83=E6=95=B4=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E3=80=81=E6=9F=A5=E8=AF=A2=E3=80=81=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=88=E5=85=B6=E4=BB=96=E5=85=A5=E5=BA=93?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/other-inbound/other-inbound.js | 16 +- .../other-inout/otherInboundDetail.vue | 183 ++++++++++-------- 2 files changed, 114 insertions(+), 85 deletions(-) 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 @@
物料编码 - + placeholder="请选择物料" + filterable + @change="handleMaterialSelect" + ref="materialSelect" + class="input-field" + > + + {{ item.materialCode }} + {{ item.materialName }} + +
@@ -126,7 +136,7 @@ class="list-item" >
{{ materialList.length - index }}
-
{{ item.labelCode || item.materialCode }}
+
{{ item.labelCode }}
{{ item.materialCode }}
{{ item.batchNo || '-' }}
{{ item.actualQty }}
@@ -233,7 +243,7 @@