改变单据明细的展示方式

This commit is contained in:
季圣华
2020-12-23 23:53:21 +08:00
parent 072254856e
commit d9290250eb
14 changed files with 89 additions and 105 deletions

View File

@@ -732,6 +732,7 @@
}
}
],
onClickCell: inOutService.onClickCell,
onLoadError:function() {
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
return;
@@ -768,12 +769,6 @@
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
if(type === "add") {
$("#depotHeadDlg #append").click(); //新增行
} else if(type === "edit") {
editIndex = 0;
for(var i=0;i<data.rows.length;i++){
$('#materialData').datagrid('selectRow', i).datagrid('beginEdit', i);
inOutService.autoReckon();
}
}
}
},