记得上下班打卡 | git大法好,push需谨慎

Commit cb0ee4e1 authored by sangchunxi's avatar sangchunxi

驳回 bug修复

parent 8d3927aa
......@@ -158,7 +158,12 @@
type: Number(detailObj.type),
uid: detailObj.uid,
}
} else {
} else { // 驳回
// 驳回原因必填
if (!$('.reason_text').val()) {
$('.requireFalseText').text('驳回原因为必填项!')
return
}
var postData = {
id: Number(detailObj.id),
orgId: '',
......@@ -168,8 +173,6 @@
}
}
// 驳回原因必填
if ($('.reason_text').val()) {
$('.requireFalseText').text('')
$.ajax({
type: 'post',
......@@ -182,9 +185,6 @@
location.reload();
}
})
} else {
$('.requireFalseText').text('驳回原因为必填项!')
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment