From db448601d4bb9f067e2ab5521bbfd24f05c24f3e Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 26 Jan 2026 16:19:57 +0800 Subject: [PATCH] =?UTF-8?q?2026-01-26=20=E6=96=B0=E5=A2=9E=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=89=A9=E6=96=99=E6=97=B6BU=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/project/projectInfo/com_project_info_part.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/modules/project/projectInfo/com_project_info_part.vue b/src/views/modules/project/projectInfo/com_project_info_part.vue index c7cacf1..1fa7740 100644 --- a/src/views/modules/project/projectInfo/com_project_info_part.vue +++ b/src/views/modules/project/projectInfo/com_project_info_part.vue @@ -2759,7 +2759,11 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/ * 新增项目物料 */ saveProjectPartModal () { - if (this.partList2.every(x => x.customerPartNo == null || x.customerPartNo === '')) { + if (this.partList2.some(x => x.buNo == null || x.buNo === '')) { + this.$message.warning('BU不能为空!') + return + } + if (this.partList2.some(x => x.customerPartNo == null || x.customerPartNo === '')) { this.$message.warning('客户料号不能为空!') return }