From a0221bd2435b87caaaf7fa5373976dfa6615419e Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Thu, 28 Dec 2023 17:26:42 +0800 Subject: [PATCH] =?UTF-8?q?Bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productrepair/productrepairRequestMain/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue index bcb9dccd9..87fc2bde8 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue @@ -466,6 +466,10 @@ const tableData = ref([]) // 添加明细 const handleAddTable = () => { + if(formRef.value.formRef.formModel.workshopCode === ''){ + message.warning("请选择车间代码"); + return; + } tableData.value.push(JSON.parse(JSON.stringify(tableFormKeys))) } // 删除明细