|
@@ -381,7 +381,7 @@ $(document).ready(() => {
|
|
|
html.push('<td>', moment(p.confirm_time).format('YYYY-MM-DD HH:mm') + ' ' + `<a name="ledger-unconfirm" href="javascript: void(0);" lid="${p.ledger_id}">重新审批</a>`, '</td>');
|
|
|
} else if (!p.check && p.confirm) {
|
|
|
html.push('<td>', moment(p.confirm_time).format('YYYY-MM-DD HH:mm'), '</td>');
|
|
|
- } else if (p.check && !p.confirm) {
|
|
|
+ } else if (p.check && !p.confirm && !readOnly) {
|
|
|
html.push('<td>', `<a name="ledger-confirm" href="javascript: void(0);" lid="${p.ledger_id}" class="btn btn-sm btn-success">确认</a>`, '</td>');
|
|
|
} else {
|
|
|
const lockedInfo = stageTree.getLockedInfo(p.node);
|