|
@@ -349,7 +349,6 @@ $(document).ready(() => {
|
|
|
} else {
|
|
|
html.push('<td>', '</td>');
|
|
|
}
|
|
|
- // html.push('<td>', p.check ? (p.confirm ? (moment(p.confirm_time).format('YYYY-MM-DD HH:mm') + ' ' + (coopwd ? `<a name="ledger-unconfirm" href="javascript: void(0);" lid="${p.ledger_id}">重新审批</a>` : '')) : `<a name="ledger-confirm" href="javascript: void(0);" lid="${p.ledger_id}" class="btn btn-sm btn-success">确认</a>`) : '' ,'</td>');
|
|
|
html.push('</tr>');
|
|
|
}
|
|
|
$('#cooperationList').html(html.join(''));
|
|
@@ -1968,7 +1967,6 @@ $(document).ready(() => {
|
|
|
// 加载解锁相关
|
|
|
if (result.cooperation) {
|
|
|
stageTree.loadPwd(result.cooperation, 'bills-p-' + userID + '-' + window.location.pathname.split('/')[2], result.cooperationConfirm);
|
|
|
- // stageTree.loadOnlinePwd(result.cooperation, result.cooperationPwd, result.cooperationConfirm);
|
|
|
$('#cooperationCount').html(stageTree.pwd.length || '');
|
|
|
if (stageTree.pwd.length > 0) $('#cooperationCount').parent().show();
|
|
|
setCooperationSelectHtml();
|
|
@@ -4133,9 +4131,6 @@ $(document).ready(() => {
|
|
|
if (p.pwd === $('#unlock-pwd').val()) {
|
|
|
const refresh = stageTree.lockNode(p, false);
|
|
|
// 修改线上
|
|
|
- // postData(window.location.pathname + '/save/cooperation', { type: 'save-pwd', postData: { ledger_id: lid, pwd: $('#unlock-pwd').val() } }, function (result) {
|
|
|
- // stageTree.pwdList = result.cooperationPwd;
|
|
|
- // });
|
|
|
SpreadJsObj.reloadRowsReadonly(slSpread.getActiveSheet(), refresh);
|
|
|
stagePosSpreadObj.loadCurPosData();
|
|
|
$('#unlock').modal('hide');
|