|  | @@ -311,10 +311,12 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                      html.push('</tr>');
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  // 变更类型
 | 
	
		
			
				|  |  | -                const cType = change.type.split(',');
 | 
	
		
			
				|  |  | -                $('input[name="type"]').prop("checked", false);
 | 
	
		
			
				|  |  | -                for (const c of cType) {
 | 
	
		
			
				|  |  | -                    $('input[name="type"][value='+ c +']').prop("checked", true);
 | 
	
		
			
				|  |  | +                if (change.type) {
 | 
	
		
			
				|  |  | +                    const cType = change.type.split(',');
 | 
	
		
			
				|  |  | +                    $('input[name="type"]').prop("checked", false);
 | 
	
		
			
				|  |  | +                    for (const c of cType) {
 | 
	
		
			
				|  |  | +                        $('input[name="type"][value='+ c +']').prop("checked", true);
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  // 变更类别
 | 
	
		
			
				|  |  |                  $('select[name=class]').val(change.class);
 | 
	
	
		
			
				|  | @@ -587,7 +589,8 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                      return ;
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  // 不同节点下,部位明细检查输入
 | 
	
		
			
				|  |  | -                const node = SpreadJsObj.getSelectObject(slSpread.getActiveSheet());
 | 
	
		
			
				|  |  | +                //const node = SpreadJsObj.getSelectObject(slSpread.getActiveSheet());
 | 
	
		
			
				|  |  | +                const node = stagePosSpreadObj.stageTreeNode;
 | 
	
		
			
				|  |  |                  if (!node) {
 | 
	
		
			
				|  |  |                      toast('数据错误, 请刷新页面后再试', 'warning');
 | 
	
		
			
				|  |  |                      SpreadJsObj.reLoadRowData(info.sheet, info.row);
 | 
	
	
		
			
				|  | @@ -640,6 +643,9 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                  });
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        editStarting: function (e, info) {
 | 
	
		
			
				|  |  | +            stagePosSpreadObj.stageTreeNode = SpreadJsObj.getSelectObject(slSpread.getActiveSheet());
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          clipboardPasting: function (e, info) {
 | 
	
		
			
				|  |  |              if (info.sheet.zh_setting) {
 | 
	
		
			
				|  |  |                  const sortData = info.sheet.zh_data;
 | 
	
	
		
			
				|  | @@ -770,6 +776,9 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          },
 | 
	
		
			
				|  |  | +        leaveCell: function (e, info) {
 | 
	
		
			
				|  |  | +            console.log(1);
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |      // 加载上下窗口resizer
 | 
	
		
			
				|  |  |      $.divResizer({
 | 
	
	
		
			
				|  | @@ -797,6 +806,7 @@ $(document).ready(() => {
 | 
	
		
			
				|  |  |      spSpread.bind(spreadNS.Events.EditEnded, stagePosSpreadObj.editEnded);
 | 
	
		
			
				|  |  |      spSpread.bind(spreadNS.Events.ClipboardPasting, stagePosSpreadObj.clipboardPasting);
 | 
	
		
			
				|  |  |      spSpread.bind(spreadNS.Events.ClipboardPasted, stagePosSpreadObj.clipboardPasted);
 | 
	
		
			
				|  |  | +    spSpread.bind(spreadNS.Events.EditStarting, stagePosSpreadObj.editStarting);
 | 
	
		
			
				|  |  |      SpreadJsObj.addDeleteBind(spSpread, stagePosSpreadObj.deletePress);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      $('#row-view').on('show.bs.modal', function () {
 |