Commit 73ad4dc2 authored by 季圣华's avatar 季圣华
Browse files

给单据明细里面去掉‘撤销’按钮

parent e06435ec
...@@ -1215,18 +1215,6 @@ ...@@ -1215,18 +1215,6 @@
}); });
} }
}, },
//单行删除明细
removeit: function () {
if (editIndex == undefined) { return }
$('#materialData').datagrid('cancelEdit', editIndex)
.datagrid('deleteRow', editIndex);
editIndex = undefined;
},
//撤销明细
reject: function () {
$('#materialData').datagrid('rejectChanges');
editIndex = undefined;
},
//新增仓库 //新增仓库
appendDepot: function () { appendDepot: function () {
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加仓库信息'); $('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加仓库信息');
......
...@@ -274,7 +274,6 @@ ...@@ -274,7 +274,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -344,7 +343,6 @@ ...@@ -344,7 +343,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -568,14 +566,6 @@ ...@@ -568,14 +566,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -273,7 +273,6 @@ ...@@ -273,7 +273,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -342,7 +341,6 @@ ...@@ -342,7 +341,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -552,14 +550,6 @@ ...@@ -552,14 +550,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -273,7 +273,6 @@ ...@@ -273,7 +273,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -343,7 +342,6 @@ ...@@ -343,7 +342,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -553,14 +551,6 @@ ...@@ -553,14 +551,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -286,7 +286,6 @@ ...@@ -286,7 +286,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -355,7 +354,6 @@ ...@@ -355,7 +354,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -564,14 +562,6 @@ ...@@ -564,14 +562,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -279,7 +279,6 @@ ...@@ -279,7 +279,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -348,7 +347,6 @@ ...@@ -348,7 +347,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -557,14 +555,6 @@ ...@@ -557,14 +555,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -417,7 +417,6 @@ ...@@ -417,7 +417,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -486,7 +485,6 @@ ...@@ -486,7 +485,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -699,14 +697,6 @@ ...@@ -699,14 +697,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -435,7 +435,6 @@ ...@@ -435,7 +435,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -504,7 +503,6 @@ ...@@ -504,7 +503,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -717,14 +715,6 @@ ...@@ -717,14 +715,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -373,7 +373,6 @@ ...@@ -373,7 +373,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -442,7 +441,6 @@ ...@@ -442,7 +441,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -655,14 +653,6 @@ ...@@ -655,14 +653,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -352,7 +352,6 @@ ...@@ -352,7 +352,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -489,7 +488,6 @@ ...@@ -489,7 +488,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -712,14 +710,6 @@ ...@@ -712,14 +710,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -390,7 +390,6 @@ ...@@ -390,7 +390,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -527,7 +526,6 @@ ...@@ -527,7 +526,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -748,14 +746,6 @@ ...@@ -748,14 +746,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -417,7 +417,6 @@ ...@@ -417,7 +417,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -496,7 +495,6 @@ ...@@ -496,7 +495,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -740,14 +738,6 @@ ...@@ -740,14 +738,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -375,7 +375,6 @@ ...@@ -375,7 +375,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -454,7 +453,6 @@ ...@@ -454,7 +453,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -699,14 +697,6 @@ ...@@ -699,14 +697,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
...@@ -437,7 +437,6 @@ ...@@ -437,7 +437,6 @@
} else { } else {
initTableData_material("add"); //商品列表 initTableData_material("add"); //商品列表
} }
inOutService.reject(); //撤销下、刷新商品列表
function supplierDlgFun(type) { function supplierDlgFun(type) {
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息'); $('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加' + type + '信息');
$('#supplierFM').form('clear'); $('#supplierFM').form('clear');
...@@ -532,7 +531,6 @@ ...@@ -532,7 +531,6 @@
$("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储 $("#OtherMoney").attr("data-itemArr",JSON.stringify(itemArr)).attr("data-itemMoneyArr",itemMoneyArr); //json数据存储
} }
initTableData_material("edit",TotalPrice); //商品列表 initTableData_material("edit",TotalPrice); //商品列表
inOutService.reject(); //撤销下、刷新商品列表
url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口 url = '/depotHead/updateDepotHeadAndDetail?id=' + res.id; //更新接口
} }
//查看信息 //查看信息
...@@ -776,14 +774,6 @@ ...@@ -776,14 +774,6 @@
inOutService.batchDel(); //删除行 inOutService.batchDel(); //删除行
} }
}, },
{
id:'reject',
text:'撤销',
iconCls:'icon-undo',
handler:function() {
inOutService.reject(); //撤销
}
},
{ {
id:'appendDepot', id:'appendDepot',
text:'新增仓库', text:'新增仓库',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment