Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
73ad4dc2
Commit
73ad4dc2
authored
Oct 13, 2020
by
季圣华
Browse files
给单据明细里面去掉‘撤销’按钮
parent
e06435ec
Changes
14
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/bill/in_out.js
View file @
73ad4dc2
...
...
@@ -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
()
{
$
(
'
#depotDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加仓库信息
'
);
...
...
erp_web/pages/bill/allocation_out_list.html
View file @
73ad4dc2
...
...
@@ -274,7 +274,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -344,7 +343,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -568,14 +566,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/assemble_list.html
View file @
73ad4dc2
...
...
@@ -273,7 +273,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -342,7 +341,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -552,14 +550,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/disassemble_list.html
View file @
73ad4dc2
...
...
@@ -273,7 +273,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -343,7 +342,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -553,14 +551,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/other_in_list.html
View file @
73ad4dc2
...
...
@@ -286,7 +286,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -355,7 +354,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -564,14 +562,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/other_out_list.html
View file @
73ad4dc2
...
...
@@ -279,7 +279,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -348,7 +347,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -557,14 +555,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/purchase_back_list.html
View file @
73ad4dc2
...
...
@@ -417,7 +417,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -486,7 +485,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -699,14 +697,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/purchase_in_list.html
View file @
73ad4dc2
...
...
@@ -435,7 +435,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -504,7 +503,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -717,14 +715,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/purchase_orders_list.html
View file @
73ad4dc2
...
...
@@ -373,7 +373,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -442,7 +441,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -655,14 +653,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/retail_back_list.html
View file @
73ad4dc2
...
...
@@ -352,7 +352,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -489,7 +488,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -712,14 +710,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/retail_out_list.html
View file @
73ad4dc2
...
...
@@ -390,7 +390,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -527,7 +526,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -748,14 +746,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/sale_back_list.html
View file @
73ad4dc2
...
...
@@ -417,7 +417,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -496,7 +495,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -740,14 +738,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/sale_orders_list.html
View file @
73ad4dc2
...
...
@@ -375,7 +375,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -454,7 +453,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -699,14 +697,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
erp_web/pages/bill/sale_out_list.html
View file @
73ad4dc2
...
...
@@ -437,7 +437,6 @@
}
else
{
initTableData_material
(
"
add
"
);
//商品列表
}
inOutService
.
reject
();
//撤销下、刷新商品列表
function
supplierDlgFun
(
type
)
{
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui/themes/icons/edit_add.png"/> 增加
'
+
type
+
'
信息
'
);
$
(
'
#supplierFM
'
).
form
(
'
clear
'
);
...
...
@@ -532,7 +531,6 @@
$
(
"
#OtherMoney
"
).
attr
(
"
data-itemArr
"
,
JSON
.
stringify
(
itemArr
)).
attr
(
"
data-itemMoneyArr
"
,
itemMoneyArr
);
//json数据存储
}
initTableData_material
(
"
edit
"
,
TotalPrice
);
//商品列表
inOutService
.
reject
();
//撤销下、刷新商品列表
url
=
'
/depotHead/updateDepotHeadAndDetail?id=
'
+
res
.
id
;
//更新接口
}
//查看信息
...
...
@@ -776,14 +774,6 @@
inOutService
.
batchDel
();
//删除行
}
},
{
id
:
'
reject
'
,
text
:
'
撤销
'
,
iconCls
:
'
icon-undo
'
,
handler
:
function
()
{
inOutService
.
reject
();
//撤销
}
},
{
id
:
'
appendDepot
'
,
text
:
'
新增仓库
'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment