guoyujia 8 months ago
parent
commit
27fa2b94dc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/business/certificate/form.vue

+ 5 - 0
src/views/business/certificate/form.vue

@@ -206,6 +206,7 @@ const cancel = () => {
 };
 
 function handleGenerate() {
+  console.log(form.value)
   // 生成判断
   if (form.value.deptId == null) {
     proxy.$modal.msgError("请先选择生产工段");
@@ -215,6 +216,10 @@ function handleGenerate() {
     proxy.$modal.msgError("请先选择包装线");
     return
   }
+  if (form.value.labelNumber == null) {
+    proxy.$modal.msgError("请填写标签数量");
+    return
+  }
   if (form.value.printPages == null || form.value.printPages == 0) {
     proxy.$modal.msgError("请填写打印份数");
     return