改变单据明细的展示方式
This commit is contained in:
@@ -585,6 +585,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -621,12 +622,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -570,6 +570,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -606,12 +607,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -571,6 +571,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -607,12 +608,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -591,6 +591,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -627,12 +628,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -584,6 +584,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -620,12 +621,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -716,6 +716,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -752,12 +753,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -844,6 +844,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -880,12 +881,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -672,6 +672,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -708,12 +709,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -767,6 +767,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -803,12 +804,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -758,6 +758,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -794,12 +795,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -716,6 +716,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -752,12 +753,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -911,6 +911,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
onClickCell: inOutService.onClickCell,
|
||||
onLoadError:function() {
|
||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||
return;
|
||||
@@ -947,12 +948,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();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user