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))) } // 删除明细