优化单据明细,改为单行删除的方式
This commit is contained in:
@@ -443,17 +443,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -558,14 +560,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -614,6 +608,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -440,17 +440,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '商品类型',field: 'MType',editor:'validatebox',width:80},
|
||||
{ title: '仓库名称', field: 'DepotId', editor:'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
@@ -542,14 +544,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -598,6 +592,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -441,17 +441,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '商品类型',field: 'MType',editor:'validatebox',width:80},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
@@ -543,14 +545,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -599,6 +593,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -453,17 +453,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -554,14 +556,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -610,6 +604,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -446,17 +446,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -547,14 +549,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -603,6 +597,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -584,17 +584,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -689,14 +691,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -745,6 +739,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -602,17 +602,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -707,14 +709,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -763,6 +757,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -540,17 +540,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -645,14 +647,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -701,6 +695,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -601,17 +601,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -702,14 +704,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -758,6 +752,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -637,17 +637,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -738,14 +740,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -794,6 +788,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -625,17 +625,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -730,14 +732,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -786,6 +780,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -584,17 +584,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -689,14 +691,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -745,6 +739,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
@@ -661,17 +661,19 @@
|
||||
//动画效果
|
||||
animate:false,
|
||||
//选中单行
|
||||
singleSelect : true,
|
||||
collapsible:false,
|
||||
selectOnCheck:false,
|
||||
//单击行是否选中
|
||||
checkOnSelect : false,
|
||||
singleSelect: true,
|
||||
collapsible: false,
|
||||
pagination: false,
|
||||
//交替出现背景
|
||||
striped : true,
|
||||
showFooter: true,
|
||||
columns:[[
|
||||
{ field: 'Id',width:35,align:"center",checkbox:true},
|
||||
{ field: 'Id',width:35,align:"center",hidden:true},
|
||||
{ field: 'op',align:"center", width:35,
|
||||
formatter:function(value,rec,index) {
|
||||
return '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;"/>';
|
||||
}
|
||||
},
|
||||
{ title: '仓库名称', field: 'DepotId', editor: 'validatebox', width: 90,
|
||||
formatter: function (value, row, index) {
|
||||
return row.DepotName;
|
||||
@@ -766,14 +768,6 @@
|
||||
inOutService.append(); //新增行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'delete',
|
||||
text:'删除行',
|
||||
iconCls:'icon-remove',
|
||||
handler:function() {
|
||||
inOutService.batchDel(); //删除行
|
||||
}
|
||||
},
|
||||
{
|
||||
id:'appendDepot',
|
||||
text:'新增仓库',
|
||||
@@ -822,6 +816,7 @@
|
||||
});
|
||||
data.footer = array;
|
||||
$("#materialData").datagrid('loadData',data);
|
||||
$("#depotHeadFM .datagrid-view2 .datagrid-footer").find("[field='op'] img").hide();
|
||||
if(type === "add") {
|
||||
$("#depotHeadDlg #append").click(); //新增行
|
||||
} else if(type === "edit") {
|
||||
|
||||
Reference in New Issue
Block a user