From 0200900f1387aaf92b778f309108d487c55c03f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Thu, 15 Jan 2026 16:24:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat(wms):=20=E6=B7=BB=E5=8A=A0=E9=92=A2?= =?UTF-8?q?=E5=8D=B7=E9=87=8D=E5=8F=B7=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增钢卷重号查询页面,包含当前卷号和入厂卷号两个标签页 添加API接口获取重号钢卷数据 实现搜索过滤和刷新功能 --- klp-ui/src/api/wms/coil.js | 10 + klp-ui/src/views/wms/coil/repeated.vue | 297 +++++++++++++++++++++++++ 2 files changed, 307 insertions(+) create mode 100644 klp-ui/src/views/wms/coil/repeated.vue diff --git a/klp-ui/src/api/wms/coil.js b/klp-ui/src/api/wms/coil.js index e9317e58..1dc86698 100644 --- a/klp-ui/src/api/wms/coil.js +++ b/klp-ui/src/api/wms/coil.js @@ -214,4 +214,14 @@ export function getMaxCoilNo(enterCoilNoPrefix) { enterCoilNoPrefix } }) +} + +/** + * 查询存在重号的钢卷 + */ +export function getDuplicateGroups() { + return request({ + url: '/wms/materialCoil/duplicateGroups', + method: 'get' + }) } \ No newline at end of file diff --git a/klp-ui/src/views/wms/coil/repeated.vue b/klp-ui/src/views/wms/coil/repeated.vue new file mode 100644 index 00000000..9e0367d4 --- /dev/null +++ b/klp-ui/src/views/wms/coil/repeated.vue @@ -0,0 +1,297 @@ + + + + + \ No newline at end of file From 79324c7fd06f4e37951e9b5a085ddd8a1189f980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= Date: Thu, 15 Jan 2026 16:24:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat(=E9=87=8D=E5=8F=B7=E7=BB=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2):=20=E4=BF=AE=E6=94=B9=E5=85=A5=E5=8E=82=E5=8D=B7?= =?UTF-8?q?=E5=8F=B7=E9=87=8D=E5=8F=B7=E7=BB=84=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=92=8C=E4=BA=A4=E4=BA=92=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将查询条件中的仓库改为厂家,并添加查询按钮 将输入框的@input事件改为@change事件,提升搜索体验 --- klp-ui/src/views/wms/coil/repeated.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/klp-ui/src/views/wms/coil/repeated.vue b/klp-ui/src/views/wms/coil/repeated.vue index 9e0367d4..1aa55295 100644 --- a/klp-ui/src/views/wms/coil/repeated.vue +++ b/klp-ui/src/views/wms/coil/repeated.vue @@ -53,8 +53,10 @@ @@ -229,9 +231,10 @@ export default { const currentNo = (item.currentCoilNo || '').toLowerCase() const spec = (item.productSpecification || '').toLowerCase() const material = (item.productMaterial || '').toLowerCase() - const warehouse = (item.warehouseName || '').toLowerCase() + const manufacturer = (item.manufacturer || '').toLowerCase() + // const warehouse = (item.warehouseName || '').toLowerCase() const matType = (item.materialType || '').toLowerCase() - return enterNo.includes(key) || currentNo.includes(key) || spec.includes(key) || material.includes(key) || warehouse.includes(key) || matType.includes(key) + return enterNo.includes(key) || currentNo.includes(key) || spec.includes(key) || material.includes(key) || manufacturer.includes(key) || matType.includes(key) }) return groupNo.includes(key) || hasMatchCoil })