Kaynağa Gözat

Merge branch 'xyLog220509' into test

1178232204@qq.com 3 yıl önce
ebeveyn
işleme
24015ad6bc
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      src/js/qcScore.js

+ 5 - 0
src/js/qcScore.js

@@ -648,6 +648,11 @@ $(function () {
         if ($(".edit-box .warning").is(":visible")) {
           return;
         }
+        if (!$("#qcMsg").val().trim()) {
+          $(".edit-box .warning .red").text("提示信息不能为空~");
+          $(".edit-box .warning").show();
+          return;
+        }
         const obj = Object.assign({}, info, { explainInfo: $("#delModal #qcInfo").val(), msg: $("#delModal #qcMsg").val(), score: $("#delModal #qcScore").val() });
         editScore(obj);
       });