Commit 0e24b3314b9ea5fdc49aa8766cc71189d3aa77c7
1 parent
c27fdbcd
字体
Showing
1 changed file
with
1 additions
and
1 deletions
topages/workfill/workfill.js
@@ -201,7 +201,7 @@ var fun = { | @@ -201,7 +201,7 @@ var fun = { | ||
201 | var arsaId = $("#weekday"+id).attr("data-id"); | 201 | var arsaId = $("#weekday"+id).attr("data-id"); |
202 | var projectId = $("#work-projectName"+id).find("option:selected").val(); | 202 | var projectId = $("#work-projectName"+id).find("option:selected").val(); |
203 | var dailyDate = $("#weekday"+id).attr("data-date"); | 203 | var dailyDate = $("#weekday"+id).attr("data-date"); |
204 | - var dailyContent = $("#daily-report"+id).text(); | 204 | + var dailyContent = $("#daily-report"+id).val(); |
205 | if(dailyContent==''){ | 205 | if(dailyContent==''){ |
206 | $('.ITD-alertmodel-contentmsg').text('工作内容不能为空!'); | 206 | $('.ITD-alertmodel-contentmsg').text('工作内容不能为空!'); |
207 | $('#ITD-tipsmodel').modal('show'); | 207 | $('#ITD-tipsmodel').modal('show'); |