Commit ed29b064f7bafe766149a9d464c4ac7155651452
1 parent
f27d6115
工时填报
Showing
1 changed file
with
2 additions
and
0 deletions
topages/workfill/workfill.js
| ... | ... | @@ -107,6 +107,7 @@ var fun = { |
| 107 | 107 | // debugger; |
| 108 | 108 | fun.queryAsraDailyList(function(data){ |
| 109 | 109 | for(var i=1;i<8;i++){ |
| 110 | + $("#btn-commit"+i).parent().parent().attr("style","display:block;"); | |
| 110 | 111 | $("#work-projectName"+i).selectpicker('val',''); |
| 111 | 112 | $("#work-projectName"+i).selectpicker('refresh'); |
| 112 | 113 | $("#daily-report"+i).html(""); |
| ... | ... | @@ -125,6 +126,7 @@ var fun = { |
| 125 | 126 | $("#weekday"+i).attr("data-date",date); |
| 126 | 127 | if(weekOfday-i < 0){ |
| 127 | 128 | $("#btn-commit"+i).attr("style","display:none;"); |
| 129 | + $("#btn-commit"+i).parent().parent().attr("style","display:none;"); | |
| 128 | 130 | }else { |
| 129 | 131 | $("#btn-commit"+i).attr("style","display:block;"); |
| 130 | 132 | } | ... | ... |