给单据明细里面去掉‘撤销’按钮
This commit is contained in:
@@ -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"/> 增加仓库信息');
|
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/> 增加仓库信息');
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
@@ -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"/> 增加' + type + '信息');
|
$('#supplierDlg').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/edit_add.png"/> 增加' + type + '信息');
|
||||||
$('#supplierFM').form('clear');
|
$('#supplierFM').form('clear');
|
||||||
@@ -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 @@
|
|||||||
inOutService.batchDel(); //删除行
|
inOutService.batchDel(); //删除行
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id:'reject',
|
|
||||||
text:'撤销',
|
|
||||||
iconCls:'icon-undo',
|
|
||||||
handler:function() {
|
|
||||||
inOutService.reject(); //撤销
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id:'appendDepot',
|
id:'appendDepot',
|
||||||
text:'新增仓库',
|
text:'新增仓库',
|
||||||
|
|||||||
Reference in New Issue
Block a user