|
@@ -557,7 +557,7 @@ $(function () {
|
|
|
// return;
|
|
|
// }
|
|
|
const userId = $(".checker-drop-input").attr("code");
|
|
|
- const appealExec = $("#delModal #qcInfo").val(); //申诉说明
|
|
|
+ const appealExec = $("#delModal #qcInfo").val().trim(); //申诉说明
|
|
|
if (!userId) {
|
|
|
$(".edit-box .warning .red").text("请选择审核人~");
|
|
|
$(".edit-box .warning").show();
|
|
@@ -627,7 +627,7 @@ $(function () {
|
|
|
});
|
|
|
//提示信息输入验证
|
|
|
$("#addQcMsg").on("input", function () {
|
|
|
- const val = $(this).val();
|
|
|
+ const val = $(this).val().trim();
|
|
|
$(this).attr("title", val)
|
|
|
if (val.trim()) {
|
|
|
$(".add-box .warning").hide();
|
|
@@ -639,7 +639,7 @@ $(function () {
|
|
|
});
|
|
|
//备注输入验证
|
|
|
$("#addQcInfo").on("input", function () {
|
|
|
- const val = $(this).val();
|
|
|
+ const val = $(this).val().trim();
|
|
|
$(this).attr("title", val)
|
|
|
if (val.length > 125) {
|
|
|
$(".add-box .warning .red").text("备注不能超过125个字~");
|
|
@@ -651,7 +651,7 @@ $(function () {
|
|
|
});
|
|
|
//申诉说明输入验证
|
|
|
$("#addQcEx").on("input", function () {
|
|
|
- const val = $(this).val();
|
|
|
+ const val = $(this).val().trim();
|
|
|
if (val.trim().length === 0) {
|
|
|
$(".add-box .warning .red").text("申诉说明不能为空~");
|
|
|
$(".add-box .warning").show();
|
|
@@ -669,7 +669,7 @@ $(function () {
|
|
|
const msg = $("#delModal #addQcMsg").val();
|
|
|
const score = Number($("#delModal #addQcScore").val());
|
|
|
const explainInfo = $("#delModal #addQcInfo").val();
|
|
|
- const appealExec = $("#delModal #addQcEx").val(); //申诉说明
|
|
|
+ const appealExec = $("#delModal #addQcEx").val().trim(); //申诉说明
|
|
|
const userId = $(".checker-drop-input").attr("code");
|
|
|
// if ($(".edit-box .warning").is(":visible")) {
|
|
|
// return;
|