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
91a6b722
Commit
91a6b722
authored
Dec 19, 2018
by
季圣华
Browse files
更新前端
parent
609756e9
Changes
707
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 707+
files are displayed.
Plain diff
Email patch
erp_web/js/easyui-1.3.5/demo/combobox/basic.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic ComboBox - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Basic ComboBox
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Type in ComboBox to try auto complete.
</div>
</div>
<select
class=
"easyui-combobox"
name=
"state"
style=
"width:200px;"
>
<option
value=
"AL"
>
Alabama
</option>
<option
value=
"AK"
>
Alaska
</option>
<option
value=
"AZ"
>
Arizona
</option>
<option
value=
"AR"
>
Arkansas
</option>
<option
value=
"CA"
>
California
</option>
<option
value=
"CO"
>
Colorado
</option>
<option
value=
"CT"
>
Connecticut
</option>
<option
value=
"DE"
>
Delaware
</option>
<option
value=
"FL"
>
Florida
</option>
<option
value=
"GA"
>
Georgia
</option>
<option
value=
"HI"
>
Hawaii
</option>
<option
value=
"ID"
>
Idaho
</option>
<option
value=
"IL"
>
Illinois
</option>
<option
value=
"IN"
>
Indiana
</option>
<option
value=
"IA"
>
Iowa
</option>
<option
value=
"KS"
>
Kansas
</option>
<option
value=
"KY"
>
Kentucky
</option>
<option
value=
"LA"
>
Louisiana
</option>
<option
value=
"ME"
>
Maine
</option>
<option
value=
"MD"
>
Maryland
</option>
<option
value=
"MA"
>
Massachusetts
</option>
<option
value=
"MI"
>
Michigan
</option>
<option
value=
"MN"
>
Minnesota
</option>
<option
value=
"MS"
>
Mississippi
</option>
<option
value=
"MO"
>
Missouri
</option>
<option
value=
"MT"
>
Montana
</option>
<option
value=
"NE"
>
Nebraska
</option>
<option
value=
"NV"
>
Nevada
</option>
<option
value=
"NH"
>
New Hampshire
</option>
<option
value=
"NJ"
>
New Jersey
</option>
<option
value=
"NM"
>
New Mexico
</option>
<option
value=
"NY"
>
New York
</option>
<option
value=
"NC"
>
North Carolina
</option>
<option
value=
"ND"
>
North Dakota
</option>
<option
value=
"OH"
selected
>
Ohio
</option>
<option
value=
"OK"
>
Oklahoma
</option>
<option
value=
"OR"
>
Oregon
</option>
<option
value=
"PA"
>
Pennsylvania
</option>
<option
value=
"RI"
>
Rhode Island
</option>
<option
value=
"SC"
>
South Carolina
</option>
<option
value=
"SD"
>
South Dakota
</option>
<option
value=
"TN"
>
Tennessee
</option>
<option
value=
"TX"
>
Texas
</option>
<option
value=
"UT"
>
Utah
</option>
<option
value=
"VT"
>
Vermont
</option>
<option
value=
"VA"
>
Virginia
</option>
<option
value=
"WA"
>
Washington
</option>
<option
value=
"WV"
>
West Virginia
</option>
<option
value=
"WI"
>
Wisconsin
</option>
<option
value=
"WY"
>
Wyoming
</option>
</select>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/combobox_data1.json
0 → 100644
View file @
91a6b722
[{
"id"
:
1
,
"text"
:
"Java"
,
"desc"
:
"Write once, run anywhere"
},{
"id"
:
2
,
"text"
:
"C#"
,
"desc"
:
"One of the programming languages designed for the Common Language Infrastructure"
},{
"id"
:
3
,
"text"
:
"Ruby"
,
"selected"
:
true
,
"desc"
:
"A dynamic, reflective, general-purpose object-oriented programming language"
},{
"id"
:
4
,
"text"
:
"Perl"
,
"desc"
:
"A high-level, general-purpose, interpreted, dynamic programming language"
},{
"id"
:
5
,
"text"
:
"Basic"
,
"desc"
:
"A family of general-purpose, high-level programming languages"
}]
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/combobox_data2.json
0 → 100644
View file @
91a6b722
[{
"value"
:
"f20"
,
"text"
:
"Firefox 2.0 or higher"
,
"group"
:
"Firefox"
},{
"value"
:
"f15"
,
"text"
:
"Firefox 1.5.x"
,
"group"
:
"Firefox"
},{
"value"
:
"f10"
,
"text"
:
"Firefox 1.0.x"
,
"group"
:
"Firefox"
},{
"value"
:
"ie7"
,
"text"
:
"Microsoft Internet Explorer 7.0 or higher"
,
"group"
:
"Microsoft Internet Explorer"
},{
"value"
:
"ie6"
,
"text"
:
"Microsoft Internet Explorer 6.x"
,
"group"
:
"Microsoft Internet Explorer"
},{
"value"
:
"ie5"
,
"text"
:
"Microsoft Internet Explorer 5.x"
,
"group"
:
"Microsoft Internet Explorer"
},{
"value"
:
"ie4"
,
"text"
:
"Microsoft Internet Explorer 4.x"
,
"group"
:
"Microsoft Internet Explorer"
},{
"value"
:
"op9"
,
"text"
:
"Opera 9.0 or higher"
,
"group"
:
"Opera"
},{
"value"
:
"op8"
,
"text"
:
"Opera 8.x"
,
"group"
:
"Opera"
},{
"value"
:
"op7"
,
"text"
:
"Opera 7.x"
,
"group"
:
"Opera"
},{
"value"
:
"Safari"
,
"text"
:
"Safari"
},{
"value"
:
"Other"
,
"text"
:
"Other"
}]
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/customformat.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Custom Format in ComboBox - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Custom Format in ComboBox
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This sample shows how to custom the format of list item.
</div>
</div>
<input
class=
"easyui-combobox"
name=
"language"
data-options=
"
url: 'combobox_data1.json',
method: 'get',
valueField: 'id',
textField: 'text',
panelWidth: 350,
panelHeight: 'auto',
formatter: formatItem
"
>
<script
type=
"text/javascript"
>
function
formatItem
(
row
){
var
s
=
'
<span style="font-weight:bold">
'
+
row
.
text
+
'
</span><br/>
'
+
'
<span style="color:#888">
'
+
row
.
desc
+
'
</span>
'
;
return
s
;
}
</script>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/dynamicdata.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Load Dynamic ComboBox Data - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Load Dynamic ComboBox Data
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the button below to load data.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"$('#language').combobox('reload', 'combobox_data1.json')"
>
LoadData
</a>
</div>
<input
class=
"easyui-combobox"
id=
"language"
name=
"language"
data-options=
"valueField:'id',textField:'text'"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/group.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Group ComboBox - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Group ComboBox
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This example shows how to display combobox items in groups.
</div>
</div>
<input
class=
"easyui-combobox"
name=
"browser"
style=
"width:280px;"
data-options=
"
url: 'combobox_data2.json',
method: 'get',
valueField:'value',
textField:'text',
groupField:'group'
"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/multiple.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Multiple Select - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Load Dynamic ComboBox Data
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Drop down the panel and select multiple items.
</div>
</div>
<input
class=
"easyui-combobox"
name=
"language"
data-options=
"
url:'combobox_data1.json',
method:'get',
valueField:'id',
textField:'text',
multiple:true,
panelHeight:'auto'
"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/navigation.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Navigate ComboBox - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Navigate ComboBox
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Navigate through combobox items width keyboard to select an item.
</div>
</div>
<div
style=
"margin:10px 0;"
>
<input
type=
"checkbox"
checked
onchange=
"$('#cc').combobox({selectOnNavigation:$(this).is(':checked')})"
>
<span>
SelectOnNavigation
</span>
</div>
<select
id=
"cc"
class=
"easyui-combobox"
name=
"state"
style=
"width:200px;"
>
<option
value=
"AL"
>
Alabama
</option>
<option
value=
"AK"
>
Alaska
</option>
<option
value=
"AZ"
>
Arizona
</option>
<option
value=
"AR"
>
Arkansas
</option>
<option
value=
"CA"
>
California
</option>
<option
value=
"CO"
>
Colorado
</option>
<option
value=
"CT"
>
Connecticut
</option>
<option
value=
"DE"
>
Delaware
</option>
<option
value=
"FL"
>
Florida
</option>
<option
value=
"GA"
>
Georgia
</option>
<option
value=
"HI"
>
Hawaii
</option>
<option
value=
"ID"
>
Idaho
</option>
<option
value=
"IL"
>
Illinois
</option>
<option
value=
"IN"
>
Indiana
</option>
<option
value=
"IA"
>
Iowa
</option>
<option
value=
"KS"
>
Kansas
</option>
<option
value=
"KY"
>
Kentucky
</option>
<option
value=
"LA"
>
Louisiana
</option>
<option
value=
"ME"
>
Maine
</option>
<option
value=
"MD"
>
Maryland
</option>
<option
value=
"MA"
>
Massachusetts
</option>
<option
value=
"MI"
>
Michigan
</option>
<option
value=
"MN"
>
Minnesota
</option>
<option
value=
"MS"
>
Mississippi
</option>
<option
value=
"MO"
>
Missouri
</option>
<option
value=
"MT"
>
Montana
</option>
<option
value=
"NE"
>
Nebraska
</option>
<option
value=
"NV"
>
Nevada
</option>
<option
value=
"NH"
>
New Hampshire
</option>
<option
value=
"NJ"
>
New Jersey
</option>
<option
value=
"NM"
>
New Mexico
</option>
<option
value=
"NY"
>
New York
</option>
<option
value=
"NC"
>
North Carolina
</option>
<option
value=
"ND"
>
North Dakota
</option>
<option
value=
"OK"
>
Oklahoma
</option>
<option
value=
"OR"
>
Oregon
</option>
<option
value=
"PA"
>
Pennsylvania
</option>
<option
value=
"RI"
>
Rhode Island
</option>
<option
value=
"SC"
>
South Carolina
</option>
<option
value=
"SD"
>
South Dakota
</option>
<option
value=
"TN"
>
Tennessee
</option>
<option
value=
"TX"
>
Texas
</option>
<option
value=
"UT"
>
Utah
</option>
<option
value=
"VT"
>
Vermont
</option>
<option
value=
"VA"
>
Virginia
</option>
<option
value=
"WA"
>
Washington
</option>
<option
value=
"WV"
>
West Virginia
</option>
<option
value=
"WI"
>
Wisconsin
</option>
<option
value=
"WY"
>
Wyoming
</option>
</select>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/remotedata.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Binding to Remote Data - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Binding to Remote Data
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
The ComboBox is bound to a remote data.
</div>
</div>
<input
class=
"easyui-combobox"
name=
"language"
data-options=
"
url:'combobox_data1.json',
method:'get',
valueField:'id',
textField:'text',
panelHeight:'auto'
"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combobox/remotejsonp.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Remote JSONP - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Remote JSONP
</h2>
<div
class=
"demo-info"
style=
"margin-bottom:10px"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
This sample shows how to use JSONP to retrieve data from a remote site.
</div>
</div>
<input
class=
"easyui-combobox"
style=
"width:250px"
data-options=
"
loader: myloader,
mode: 'remote',
valueField: 'id',
textField: 'name'
"
>
<script>
var
myloader
=
function
(
param
,
success
,
error
){
var
q
=
param
.
q
||
''
;
if
(
q
.
length
<=
1
){
return
false
}
$
.
ajax
({
url
:
'
http://ws.geonames.org/searchJSON
'
,
dataType
:
'
jsonp
'
,
data
:
{
featureClass
:
"
P
"
,
style
:
"
full
"
,
maxRows
:
20
,
name_startsWith
:
q
},
success
:
function
(
data
){
var
items
=
$
.
map
(
data
.
geonames
,
function
(
item
){
return
{
id
:
item
.
geonameId
,
name
:
item
.
name
+
(
item
.
adminName1
?
'
,
'
+
item
.
adminName1
:
''
)
+
'
,
'
+
item
.
countryName
};
});
success
(
items
);
},
error
:
function
(){
error
.
apply
(
this
,
arguments
);
}
});
}
</script>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combogrid/actions.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
ComboGrid Actions - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
ComboGrid Actions
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the buttons below to perform actions.
</div>
</div>
<div
style=
"margin:10px 0"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"getValue()"
>
GetValue
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"setValue()"
>
SetValue
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"disable()"
>
Disable
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"enable()"
>
Enable
</a>
</div>
<input
id=
"cc"
class=
"easyui-combogrid"
style=
"width:250px"
data-options=
"
panelWidth: 500,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
columns: [[
{field:'itemid',title:'Item ID',width:80},
{field:'productname',title:'Product',width:120},
{field:'listprice',title:'List Price',width:80,align:'right'},
{field:'unitcost',title:'Unit Cost',width:80,align:'right'},
{field:'attr1',title:'Attribute',width:200},
{field:'status',title:'Status',width:60,align:'center'}
]],
fitColumns: true
"
>
<script
type=
"text/javascript"
>
function
getValue
(){
var
val
=
$
(
'
#cc
'
).
combogrid
(
'
getValue
'
);
alert
(
val
);
}
function
setValue
(){
$
(
'
#cc
'
).
combogrid
(
'
setValue
'
,
'
EST-13
'
);
}
function
disable
(){
$
(
'
#cc
'
).
combogrid
(
'
disable
'
);
}
function
enable
(){
$
(
'
#cc
'
).
combogrid
(
'
enable
'
);
}
</script>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combogrid/basic.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic ComboGrid - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Basic ComboGrid
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the right arrow button to show the DataGrid.
</div>
</div>
<div
style=
"margin:10px 0"
></div>
<select
class=
"easyui-combogrid"
style=
"width:250px"
data-options=
"
panelWidth: 500,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
columns: [[
{field:'itemid',title:'Item ID',width:80},
{field:'productname',title:'Product',width:120},
{field:'listprice',title:'List Price',width:80,align:'right'},
{field:'unitcost',title:'Unit Cost',width:80,align:'right'},
{field:'attr1',title:'Attribute',width:200},
{field:'status',title:'Status',width:60,align:'center'}
]],
fitColumns: true
"
>
</select>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combogrid/datagrid_data1.json
0 → 100644
View file @
91a6b722
{
"total"
:
28
,
"rows"
:[
{
"productid"
:
"FI-SW-01"
,
"productname"
:
"Koi"
,
"unitcost"
:
10.00
,
"status"
:
"P"
,
"listprice"
:
36.50
,
"attr1"
:
"Large"
,
"itemid"
:
"EST-1"
},
{
"productid"
:
"K9-DL-01"
,
"productname"
:
"Dalmation"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
18.50
,
"attr1"
:
"Spotted Adult Female"
,
"itemid"
:
"EST-10"
},
{
"productid"
:
"RP-SN-01"
,
"productname"
:
"Rattlesnake"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
38.50
,
"attr1"
:
"Venomless"
,
"itemid"
:
"EST-11"
},
{
"productid"
:
"RP-SN-01"
,
"productname"
:
"Rattlesnake"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
26.50
,
"attr1"
:
"Rattleless"
,
"itemid"
:
"EST-12"
},
{
"selected"
:
true
,
"productid"
:
"RP-LI-02"
,
"productname"
:
"Iguana"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
35.50
,
"attr1"
:
"Green Adult"
,
"itemid"
:
"EST-13"
},
{
"productid"
:
"FL-DSH-01"
,
"productname"
:
"Manx"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
158.50
,
"attr1"
:
"Tailless"
,
"itemid"
:
"EST-14"
},
{
"productid"
:
"FL-DSH-01"
,
"productname"
:
"Manx"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
83.50
,
"attr1"
:
"With tail"
,
"itemid"
:
"EST-15"
},
{
"productid"
:
"FL-DLH-02"
,
"productname"
:
"Persian"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
23.50
,
"attr1"
:
"Adult Female"
,
"itemid"
:
"EST-16"
},
{
"productid"
:
"FL-DLH-02"
,
"productname"
:
"Persian"
,
"unitcost"
:
12.00
,
"status"
:
"P"
,
"listprice"
:
89.50
,
"attr1"
:
"Adult Male"
,
"itemid"
:
"EST-17"
},
{
"productid"
:
"AV-CB-01"
,
"productname"
:
"Amazon Parrot"
,
"unitcost"
:
92.00
,
"status"
:
"P"
,
"listprice"
:
63.50
,
"attr1"
:
"Adult Male"
,
"itemid"
:
"EST-18"
}
]}
erp_web/js/easyui-1.3.5/demo/combogrid/initvalue.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Initialize Value for ComboGrid - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Initialize Value for ComboGrid
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Initialize value when ComboGrid is created.
</div>
</div>
<div
style=
"margin:10px 0"
></div>
<input
class=
"easyui-combogrid"
style=
"width:250px"
value=
"EST-12"
data-options=
"
panelWidth: 500,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
columns: [[
{field:'itemid',title:'Item ID',width:80},
{field:'productname',title:'Product',width:120},
{field:'listprice',title:'List Price',width:80,align:'right'},
{field:'unitcost',title:'Unit Cost',width:80,align:'right'},
{field:'attr1',title:'Attribute',width:200},
{field:'status',title:'Status',width:60,align:'center'}
]],
fitColumns: true
"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combogrid/multiple.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Multiple ComboGrid - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Multiple ComboGrid
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the right arrow button to show the DataGrid and select items.
</div>
</div>
<div
style=
"margin:10px 0"
></div>
<select
class=
"easyui-combogrid"
style=
"width:250px"
data-options=
"
panelWidth: 500,
multiple: true,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
columns: [[
{field:'ck',checkbox:true},
{field:'itemid',title:'Item ID',width:80},
{field:'productname',title:'Product',width:120},
{field:'listprice',title:'List Price',width:80,align:'right'},
{field:'unitcost',title:'Unit Cost',width:80,align:'right'},
{field:'attr1',title:'Attribute',width:200},
{field:'status',title:'Status',width:60,align:'center'}
]],
fitColumns: true
"
>
</select>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combogrid/navigation.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Navigate ComboGrid - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Navigate ComboGrid
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Navigate through grid items with keyboard to select an item.
</div>
</div>
<div
style=
"margin:10px 0"
>
<input
type=
"checkbox"
checked
onchange=
"$('#cc').combogrid({selectOnNavigation:$(this).is(':checked')})"
>
<span>
SelectOnNavigation
</span>
</div>
<select
id=
"cc"
class=
"easyui-combogrid"
style=
"width:250px"
data-options=
"
panelWidth: 500,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
columns: [[
{field:'itemid',title:'Item ID',width:80},
{field:'productname',title:'Product',width:120},
{field:'listprice',title:'List Price',width:80,align:'right'},
{field:'unitcost',title:'Unit Cost',width:80,align:'right'},
{field:'attr1',title:'Attribute',width:200},
{field:'status',title:'Status',width:60,align:'center'}
]],
fitColumns: true
"
>
</select>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combotree/actions.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
ComboTree Actions - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
ComboTree Actions
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the buttons below to perform actions
</div>
</div>
<div
style=
"margin:10px 0"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"getValue()"
>
GetValue
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"setValue()"
>
SetValue
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"disable()"
>
Disable
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"enable()"
>
Enable
</a>
</div>
<input
id=
"cc"
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',required:true"
style=
"width:200px;"
>
<script
type=
"text/javascript"
>
function
getValue
(){
var
val
=
$
(
'
#cc
'
).
combotree
(
'
getValue
'
);
alert
(
val
);
}
function
setValue
(){
$
(
'
#cc
'
).
combotree
(
'
setValue
'
,
'
122
'
);
}
function
disable
(){
$
(
'
#cc
'
).
combotree
(
'
disable
'
);
}
function
enable
(){
$
(
'
#cc
'
).
combotree
(
'
enable
'
);
}
</script>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combotree/basic.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic ComboTree - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Basic ComboTree
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the right arrow button to show the tree panel.
</div>
</div>
<div
style=
"margin:10px 0"
></div>
<input
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',required:true"
style=
"width:200px;"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combotree/initvalue.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Initialize Value for ComboTree - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Initialize Value for ComboTree
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Initialize Value when ComboTree is created.
</div>
</div>
<div
style=
"margin:10px 0"
></div>
<input
class=
"easyui-combotree"
value=
"122"
data-options=
"url:'tree_data1.json',method:'get',required:true"
style=
"width:200px;"
>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui-1.3.5/demo/combotree/multiple.html
0 → 100644
View file @
91a6b722
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Multiple ComboTree - jQuery EasyUI Demo
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/default/easyui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../../themes/icon.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../demo.css"
>
<script
type=
"text/javascript"
src=
"../../jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../jquery.easyui.min.js"
></script>
</head>
<body>
<h2>
Multiple ComboTree
</h2>
<div
class=
"demo-info"
>
<div
class=
"demo-tip icon-tip"
></div>
<div>
Click the right arrow button to show the tree panel and select multiple nodes.
</div>
</div>
<div
style=
"margin:10px 0"
>
<span>
Cascade Check:
</span>
<input
type=
"checkbox"
checked
onclick=
"$('#cc').combotree({cascadeCheck:$(this).is(':checked')})"
>
</div>
<select
id=
"cc"
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get'"
multiple
style=
"width:200px;"
></select>
</body>
</html>
\ No newline at end of file
Prev
1
…
15
16
17
18
19
20
21
22
23
…
36
Next
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