From a04e8be601eb245d7ea62a395c59afc9c98e736c Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 5 Aug 2026 10:00:38 +0800 Subject: [PATCH] =?UTF-8?q?2026-08-05=20RoHS=EF=BC=9A=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=97=B6=E2=80=9C=E4=BE=9B=E5=BA=94=E5=95=86=E6=9D=90=E6=96=99?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E2=80=9D=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/rohs/rohsRecord.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/modules/rohs/rohsRecord.vue b/src/views/modules/rohs/rohsRecord.vue index 80199ee..b48d127 100644 --- a/src/views/modules/rohs/rohsRecord.vue +++ b/src/views/modules/rohs/rohsRecord.vue @@ -4097,6 +4097,10 @@ export default { this.$message.warning('项目编码不能为空') return } + if (isAddMode && !String(this.modalData.vendorMaterialCode || '').trim()) { + this.$message.warning('供应商材料编码不能为空') + return + } this.$set(this.modalData, 'isAhGrade', this.normalizeCheckboxFlag(this.modalData.isAhGrade)) this.normalizeHsfStandardByCustomer(this.modalData) this.syncHsfApproverFields()