|
@@ -301,6 +301,7 @@ $(document).ready(() => {
|
|
|
const reloadCooperationHtml = function () {
|
|
|
const html = [];
|
|
|
for (const p of stageTree.pwd) {
|
|
|
+ if (!p.node) continue;
|
|
|
html.push('<tr>', `<td>${p.node.code}</td>`, `<td>${p.node.name}</td>`);
|
|
|
html.push('<td>', p.check ? `已解锁:${p.pwd}` : `<a name="ledger-unlock" lid="${p.ledger_id}" href="javascript: void(0);">解锁</a>`, '</td>');
|
|
|
html.push('</tr>');
|
|
@@ -1492,8 +1493,6 @@ $(document).ready(() => {
|
|
|
loadCurPosData: function () {
|
|
|
const sheet = slSpread.getActiveSheet();
|
|
|
const node = SpreadJsObj.getSelectObject(sheet);
|
|
|
- console.log(node);
|
|
|
-
|
|
|
if (node) {
|
|
|
spSpread.getActiveSheet().zh_setting.readOnly = node.lock;
|
|
|
const posData = stagePos.ledgerPos[itemsPre + node.id] || [];
|