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
4a6a4b4e
Commit
4a6a4b4e
authored
Aug 14, 2019
by
季圣华
Browse files
细节优化
parent
6a269e91
Changes
4
Hide whitespace changes
Inline
Side-by-side
erp_web/js/easyui-1.3.5/themes/icons/no.png
View replaced file @
6a269e91
View file @
4a6a4b4e
1.81 KB
|
W:
|
H:
1.55 KB
|
W:
|
H:
2-up
Swipe
Onion skin
erp_web/pages/manage/app.html
View file @
4a6a4b4e
...
...
@@ -156,7 +156,7 @@
{
title
:
'
图标
'
,
field
:
'
icon
'
,
width
:
100
,
formatter
:
function
(
value
,
row
)
{
if
(
value
!=
null
)
{
return
"
<img alt='图标' style='width:
3
2px;height:
3
2px;' src=
\"
../../upload/images/deskIcon/
"
+
value
+
"
\"
/>
"
;
return
"
<img alt='图标' style='width:2
8
px;height:2
8
px;' src=
\"
../../upload/images/deskIcon/
"
+
value
+
"
\"
/>
"
;
}
}
},
...
...
erp_web/pages/materials/material.html
View file @
4a6a4b4e
...
...
@@ -1460,6 +1460,7 @@
$
(
"
#searchParentName
"
).
val
(
""
);
$
(
"
#searchParentId
"
).
val
(
""
);
$
(
"
#searchName
"
).
val
(
""
);
$
(
"
#searchModel
"
).
val
(
""
);
types
=
""
;
//清空类别
//加载完以后重新初始化
$
(
"
#searchBtn
"
).
click
();
...
...
erp_web/pages/materials/person.html
View file @
4a6a4b4e
...
...
@@ -82,55 +82,13 @@
</div>
<script
type=
"text/javascript"
>
var
depotList
=
null
;
var
depotID
=
null
;
//初始化界面
$
(
function
()
{
//初始化系统基础信息
initSystemData
();
initSelectInfo
();
initTableData
();
ininPager
();
initForm
();
});
//初始化系统基础信息
function
initSystemData
()
{
$
.
ajax
({
type
:
"
get
"
,
url
:
"
/depot/getAllList
"
,
//设置为同步
async
:
false
,
dataType
:
"
json
"
,
success
:
function
(
res
)
{
if
(
res
&&
res
.
code
===
200
){
depotList
=
res
.
data
;
}
else
{
$
.
messager
.
alert
(
'
提示
'
,
'
查找系统基础信息异常,请与管理员联系!
'
,
'
error
'
);
return
;
}
}
});
}
//初始化页面选项卡
function
initSelectInfo
()
{
var
options
=
""
;
if
(
depotList
!=
null
)
{
options
=
""
;
for
(
var
i
=
0
;
i
<
depotList
.
length
;
i
++
)
{
var
depot
=
depotList
[
i
];
if
(
0
==
i
)
{
depotID
=
depot
.
id
;
}
options
+=
'
<option value="
'
+
depot
.
id
+
'
">
'
+
depot
.
name
+
'
</option>
'
;
}
$
(
"
#ProjectId
"
).
empty
().
append
(
options
);
$
(
"
#searchProjectId
"
).
empty
().
append
(
'
<option value="">全部</option>
'
).
append
(
options
);
}
}
//防止表单提交重复
function
initForm
()
{
$
(
'
#personFM
'
).
form
({
...
...
@@ -480,9 +438,8 @@
//重置按钮
$
(
"
#searchResetBtn
"
).
unbind
().
bind
({
click
:
function
()
{
$
(
"
#search
ProjectId
"
).
val
(
""
);
$
(
"
#search
Name
"
).
val
(
""
);
$
(
"
#searchType
"
).
val
(
""
);
//加载完以后重新初始化
$
(
"
#searchBtn
"
).
click
();
}
...
...
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