|
@@ -147,7 +147,7 @@
|
|
|
<script src="/public/js/datepicker/datepicker.min.js"></script>
|
|
|
<script src="/public/js/datepicker/datepicker.zh.js"></script>
|
|
|
<script>
|
|
|
- <% if (stages.length > 0 && stages[0].status === auditConst.status.uncheck && stages[0].user_id === ctx.session.sessionUser.accountId) { %>
|
|
|
+ <% if (stages.length > 0 && stages[0].status !== auditConst.status.checked && stages[0].user_id === ctx.session.sessionUser.accountId) { %>
|
|
|
const editDate = $('#edit-date').datepicker().data('datepicker');
|
|
|
if ('<%- stages[0].s_time %>' && '<%- stages[0].s_time %>' !== '') {
|
|
|
editDate.selectDate(new Date('<%- stages[0].s_time %>'));
|