Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
warehouse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
胡懿
warehouse
Commits
30bb06a2
Commit
30bb06a2
authored
Aug 10, 2023
by
anxiaohe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
品名代码表单
parent
1e2d8635
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
materialTypeList.js
...ebpage/modules/warehouse/materialtype/materialTypeList.js
+3
-3
No files found.
src/main/webapp/webpage/modules/warehouse/materialtype/materialTypeList.js
View file @
30bb06a2
...
...
@@ -57,8 +57,8 @@
function
view
(
id
){
//查看
jp
.
openViewDialog
(
"查看品名代码"
,
'${ctx}/warehouse/materialtype/materialType/form/view?id='
+
id
,
'800'
,
'600'
);
}
function
addChild
(
id
){
//添加下级机构
jp
.
openSaveDialog
(
"添加下级品名代码"
,
'${ctx}/warehouse/materialtype/materialType/form/add?parent.id='
+
id
,
'800'
,
'600'
);
function
addChild
(
id
,
parentIds
){
//添加下级机构
jp
.
openSaveDialog
(
"添加下级品名代码"
,
'${ctx}/warehouse/materialtype/materialType/form/add?parent.id='
+
id
+
"&parentIds="
+
parentIds
,
'800'
,
'600'
);
}
function
refresh
(){
//刷新
var
index
=
jp
.
loading
(
"正在加载,请稍等..."
);
...
...
@@ -116,7 +116,7 @@
<
li
><
a
onclick
=
"return del(this, '{{d.row.id}}')"
><
i
class
=
"fa fa-trash"
><
/i> 删除</
a
><
/li
>
<
/shiro:hasPermission
>
<
shiro
:
hasPermission
name
=
"warehouse:materialtype:materialType:add"
>
<
li
><
a
onclick
=
"addChild('{{d.row.id}}')"
><
i
class
=
"fa fa-plus"
><
/i> 添加下级品名代码</
a
><
/li
>
<
li
><
a
onclick
=
"addChild('{{d.row.id}}'
, '{{d.row.parentIds}}'
)"
><
i
class
=
"fa fa-plus"
><
/i> 添加下级品名代码</
a
><
/li
>
<
/shiro:hasPermission
>
<
/ul
>
<
/div
>
...
...
Write
Preview
Markdown
is supported
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