From 3d0a1cd3b63f003490589185e52bd336c544002a Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 24 Dec 2025 11:02:06 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-23=20=E9=94=80=E5=94=AE=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E8=A3=85=E7=AE=B1=E5=92=8C=E6=8B=A3=E8=B4=A7=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E4=BB=BB=E5=8A=A1=E9=80=9A=E7=9F=A5=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E2=80=9C=E5=AE=A2=E6=88=B7=E7=AE=80=E7=A7=B0?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/boxManage/saleBoxManage.vue | 30 +++++++++++++++---- src/views/modules/qc/outboundNotification.vue | 18 +++++++++++ 2 files changed, 42 insertions(+), 6 deletions(-) diff --git a/src/views/modules/boxManage/saleBoxManage.vue b/src/views/modules/boxManage/saleBoxManage.vue index d3c3b1e..600a4d2 100644 --- a/src/views/modules/boxManage/saleBoxManage.vue +++ b/src/views/modules/boxManage/saleBoxManage.vue @@ -521,7 +521,7 @@ export default { columnProp: "customerName", headerAlign: "center", align: "left", - columnLabel: "客户编号", + columnLabel: "客户名称", columnWidth: '240', columnHidden: false, columnImage: false, @@ -530,6 +530,24 @@ export default { status: true, fixed: false }, + { + userId: this.$store.state.user.name, + functionId: this.functionId, + serialNumber: '750001Table1CustomerAbb', + tableId: "750001Table1", + tableName: "销售发货清单", + columnProp: "customerAbb", + headerAlign: "center", + align: "left", + columnLabel: "客户简称", + columnWidth: '120', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: false + }, { userId: this.$store.state.user.name, functionId: this.functionId, @@ -971,25 +989,25 @@ export default { // 检查卷标签是否重复(根据 site 和 rollNo) const duplicateRolls = [] const newRolls = [] - + rollList.forEach(rollInfo => { // 检查当前列表中是否已存在相同 site 和 rollNo 的记录 - const isDuplicate = this.caseRollList.some(item => + const isDuplicate = this.caseRollList.some(item => item.site === this.caseForm.site && item.rollNo === rollInfo.rollNo ) - + if (isDuplicate) { duplicateRolls.push(rollInfo.rollNo) } else { newRolls.push(rollInfo) } }) - + // 如果有重复的卷标签,提示用户 if (duplicateRolls.length > 0) { this.$message.warning(`以下卷标签已存在,不能重复添加:${duplicateRolls.join(', ')}`) } - + // 只添加不重复的卷到列表最前面(后扫描的在上面) newRolls.forEach(rollInfo => { this.caseRollList.unshift({ diff --git a/src/views/modules/qc/outboundNotification.vue b/src/views/modules/qc/outboundNotification.vue index ce3674c..499a907 100644 --- a/src/views/modules/qc/outboundNotification.vue +++ b/src/views/modules/qc/outboundNotification.vue @@ -772,6 +772,24 @@ fixed: '', columnWidth: 200, }, + { + userId: this.$store.state.user.name, + functionId: 620, + serialNumber: '620Table1CustomerAbb', + tableId: "620Table1", + tableName: "拣货出库任务表", + columnProp: 'customerAbb', + headerAlign: "center", + align: "left", + columnLabel: '客户简称', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 120, + }, { userId: this.$store.state.user.name, functionId: 620,