From 92fd9ca27fad1bcdb903b3a89c5b2ce390781cd9 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Wed, 16 Sep 2026 17:19:17 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix(supplier):=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E6=96=99=E5=8F=B7=E6=A0=87=E7=AD=BE=E7=BC=96?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将正式料号标签编号从 2017 更新为 531 - 修正 getBaseData 方法中的条件判断逻辑 --- src/views/modules/supplier/purPartAssign.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/supplier/purPartAssign.vue b/src/views/modules/supplier/purPartAssign.vue index a90d478..b6d8d74 100644 --- a/src/views/modules/supplier/purPartAssign.vue +++ b/src/views/modules/supplier/purPartAssign.vue @@ -75,7 +75,7 @@ - 正式料号 + 正式料号 @@ -217,7 +217,7 @@ export default { }) }, getBaseData(val) { - if (this.tagNo === 2017) { + if (this.tagNo === 531) { this.assignForm.partNo = val.part_no this.assignForm.partDesc = val.part_desc } From 0095389caf3c93b52e9e829db480d7994c8797d7 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Wed, 16 Sep 2026 17:29:57 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat(supplier):=20=E6=B7=BB=E5=8A=A0planner?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E9=AA=8C=E8=AF=81=E5=92=8C=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E6=A8=A1=E6=9D=BF=E9=BB=98=E8=AE=A4=E9=80=89?= =?UTF-8?q?=E4=B8=AD=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为planner字段添加必填验证规则 - 在供应商表单中新增planner字段的prop绑定 - 实现新增弹窗时供应商文档清单模板默认选中第一条的功能 - 优化供应商文档清单模板的数据加载逻辑 --- src/views/modules/srmSupplier/supplierList.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/modules/srmSupplier/supplierList.vue b/src/views/modules/srmSupplier/supplierList.vue index 74e2e9c..a56898d 100644 --- a/src/views/modules/srmSupplier/supplierList.vue +++ b/src/views/modules/srmSupplier/supplierList.vue @@ -234,7 +234,7 @@ - + Planner @@ -1320,6 +1320,9 @@ export default { ], supplierDocType: [ { required: true, message: '请选择供应商文档清单模板', trigger: ['blur', 'change'] } + ], + planner: [ + { required: true, message: '请选择Planner', trigger: ['blur', 'change'] } ] } } @@ -1501,6 +1504,10 @@ export default { if (currentType && this.supplierDocTypeOptions.indexOf(currentType) === -1) { this.supplierDocTypeOptions.unshift(currentType) } + // 新增弹窗打开时,供应商文档清单模板默认选中第一条 + if (this.isAdd && !this.currentSupplier.supplierDocType && this.supplierDocTypeOptions.length > 0) { + this.currentSupplier.supplierDocType = this.supplierDocTypeOptions[0] + } } else { this.supplierDocTypeOptions = [] this.$message.error((data && data.msg) || '加载供应商文档清单失败') From c012c2fd284a4ac43df97c36278ed4405ca44634 Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Wed, 16 Sep 2026 17:38:42 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix(srmSupplier):=20=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E5=90=88=E5=90=8C=E7=BB=84=E4=BB=B6=E8=B4=A7=E5=B8=81=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=E4=B8=BAUSD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将currency字段的初始值从空字符串改为'USD' --- src/views/modules/srmSupplier/com_srmSupplier_Contract.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue b/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue index 59ab67e..7965754 100644 --- a/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue +++ b/src/views/modules/srmSupplier/com_srmSupplier_Contract.vue @@ -431,7 +431,7 @@ export default { contractDate:new Date(), validTo:'', amout:'', - currency:'', + currency:'USD', contractNo:'', contractName:'', contractDetail:'', From 961cd695931c40e0c227cdc720efb4de7b35ef6c Mon Sep 17 00:00:00 2001 From: qiankanghui Date: Wed, 16 Sep 2026 18:15:28 +0800 Subject: [PATCH 4/4] =?UTF-8?q?feat(supplier):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E9=87=87=E8=B4=AD=E5=9B=9E=E5=A4=8D?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E5=88=97=E8=A1=A8=E8=A1=8C=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在el-table组件中添加@current-change事件监听器 - 实现handleCurrentChange方法处理行选择变化 - 添加当前行重复选择的判断逻辑避免重复触发 - 集成changeData方法用于处理选中行数据变更 --- src/views/modules/supplier/supPurReplyHistList.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/modules/supplier/supPurReplyHistList.vue b/src/views/modules/supplier/supPurReplyHistList.vue index c406f89..077424c 100644 --- a/src/views/modules/supplier/supPurReplyHistList.vue +++ b/src/views/modules/supplier/supPurReplyHistList.vue @@ -45,7 +45,7 @@ - +