This commit is contained in:
Yagami
2018-11-23 14:56:23 +08:00
parent 0009f5cc66
commit d7dde0bc00
+2 -1
View File
@@ -14,8 +14,9 @@ $(function()
$(this).click(function()
{
var hasRecord = false;
$('#recordForm').find('input[name^="dates"], input[name^="consumed"], input[name^="left"], textarea[name^="work"]').each(function()
$('#recordForm').find('input[name^="consumed"], input[name^="left"], textarea[name^="work"]').each(function()
{
console.log($(this).val());
if($(this).val() !== '')
{
hasRecord = true;