From 06af1d8806d39cd041250516e445f31534a86d20 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 14 Aug 2024 11:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=A7=E5=93=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/goods/product/productAdd.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/goods/product/productAdd.vue b/src/views/goods/product/productAdd.vue index d705c92..12506fe 100644 --- a/src/views/goods/product/productAdd.vue +++ b/src/views/goods/product/productAdd.vue @@ -14,7 +14,7 @@
*产品名称
- + @@ -44,7 +44,7 @@ @@ -157,6 +157,10 @@ export default { } }, productAdd() { + if (this.formobj.productName === '') { + this.$message({ showClose: true, type: 'error', message: '请先选择产品名称' }) + return + } this.formobj.list.push({ sid: '', materialSid: '',