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
ab2872c1
Commit
ab2872c1
authored
Feb 15, 2020
by
季圣华
Browse files
升级easyUI到1.9.4版本
parent
0527b980
Changes
531
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 531+
files are displayed.
Plain diff
Email patch
erp_web/js/easyui/demo/combobox/icons.html
0 → 100644
View file @
ab2872c1
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
ComboBox with Extra Icons- 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>
ComboBox with Extra Icons
</h2>
<p>
The user can attach extra icons to the ComboBox.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combobox"
name=
"language"
style=
"width:100%;"
data-options=
"
url:'combobox_data1.json',
method:'get',
valueField:'id',
textField:'text',
panelHeight:'auto',
iconWidth:22,
icons:[{
iconCls:'icon-add'
},{
iconCls:'icon-cut'
}],
label: 'Language:',
labelPosition: 'top'
"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combobox/itemicon.html
0 → 100644
View file @
ab2872c1
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Show Item Icon 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>
Show Item Icon in ComboBox
</h2>
<p>
This example shows how to display item icon in ComboBox.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combobox"
style=
"width:100%;"
data-options=
"
showItemIcon: true,
data: [
{value:'add',text:'Add',iconCls:'icon-add'},
{value:'del',text:'Delete',iconCls:'icon-remove'},
{value:'save',text:'Save',iconCls:'icon-save',selected:true},
{value:'cancel',text:'Cancel',iconCls:'icon-cancel'},
{value:'undo',text:'Undo',iconCls:'icon-undo'},
{value:'redo',text:'Redo',iconCls:'icon-redo'}
],
editable: false,
panelHeight: 'auto',
label: 'Perform Action:',
labelPosition: 'top'
"
>
</div>
</div>
</body>
erp_web/js/easyui/demo/combobox/multiline.html
0 → 100644
View file @
ab2872c1
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Multiline 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>
Multiline ComboBox
</h2>
<p>
This example shows how to create a multiline ComboBox.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
class=
"easyui-combobox"
name=
"state"
multiple=
"true"
multiline=
"true"
label=
"Select States:"
labelPosition=
"top"
style=
"width:100%;height:100px;"
>
<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"
selected
>
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"
selected
>
Louisiana
</option>
<option
value=
"ME"
>
Maine
</option>
<option
value=
"MD"
>
Maryland
</option>
<option
value=
"MA"
selected
>
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"
selected
>
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>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui
-1.3.5
/demo/combobox/multiple.html
→
erp_web/js/easyui/demo/combobox/multiple.html
View file @
ab2872c1
...
...
@@ -11,20 +11,22 @@
</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=
"
<p>
Drop down the panel and select multiple items.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combobox"
name=
"language[]"
style=
"width:100%;"
data-options=
"
url:'combobox_data1.json',
method:'get',
valueField:'id',
textField:'text',
value:[1,3],
multiple:true,
panelHeight:'auto'
"
>
panelHeight:'auto',
label: 'Language:',
labelPosition: 'top'
"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combobox/navigation.html
0 → 100644
View file @
ab2872c1
<!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>
<p>
Navigate through combobox items width keyboard to select an item.
</p>
<div
style=
"margin:20px 0;"
>
<input
type=
"checkbox"
checked
onchange=
"$('#cc').combobox({selectOnNavigation:$(this).is(':checked')})"
>
<span>
SelectOnNavigation
</span>
</div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
id=
"cc"
class=
"easyui-combobox"
name=
"state"
label=
"State:"
labelPosition=
"top"
style=
"width:100%;"
>
<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>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui
-1.3.5
/demo/combobox/remotedata.html
→
erp_web/js/easyui/demo/combobox/remotedata.html
View file @
ab2872c1
...
...
@@ -11,19 +11,20 @@
</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=
"
<p>
The ComboBox is bound to a remote data.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combobox"
name=
"language"
style=
"width:100%;"
data-options=
"
url:'combobox_data1.json',
method:'get',
valueField:'id',
textField:'text',
panelHeight:'auto'
"
>
panelHeight:'auto',
label: 'Language:',
labelPosition: 'top'
"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui
-1.3.5
/demo/combobox/remotejsonp.html
→
erp_web/js/easyui/demo/combobox/remotejsonp.html
View file @
ab2872c1
...
...
@@ -11,34 +11,35 @@
</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>
<p>
This sample shows how to use JSONP to retrieve data from a remote site.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combobox"
style=
"width:100%;"
data-options=
"
loader: myloader,
mode: 'remote',
valueField: 'id',
textField: 'name',
label: 'State:',
labelPosition: 'top'
"
>
</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
}
if
(
q
.
length
<=
2
){
return
false
}
$
.
ajax
({
url
:
'
http://
ws
.geo
names.org/searchJSON
'
,
url
:
'
http
s
://
gd
.geo
bytes.com/AutoCompleteCity
'
,
dataType
:
'
jsonp
'
,
data
:
{
featureClass
:
"
P
"
,
style
:
"
full
"
,
maxRows
:
20
,
name_startsWith
:
q
q
:
q
},
success
:
function
(
data
){
var
items
=
$
.
map
(
data
.
geonames
,
function
(
item
){
var
items
=
$
.
map
(
data
,
function
(
item
,
index
){
return
{
id
:
i
tem
.
geonameId
,
name
:
item
.
name
+
(
item
.
adminName1
?
'
,
'
+
item
.
adminName1
:
''
)
+
'
,
'
+
item
.
countryName
id
:
i
ndex
,
name
:
item
};
});
success
(
items
);
...
...
erp_web/js/easyui
-1.3.5
/demo/combogrid/actions.html
→
erp_web/js/easyui/demo/combogrid/actions.html
View file @
ab2872c1
...
...
@@ -11,32 +11,36 @@
</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"
>
<p>
Click the buttons below to perform actions.
</p>
<div
style=
"margin:20px 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
"
>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
id=
"cc"
class=
"easyui-combogrid"
style=
"width:100%"
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,
label: 'Select Item:',
labelPosition: 'top'
"
>
</div>
</div>
<script
type=
"text/javascript"
>
function
getValue
(){
var
val
=
$
(
'
#cc
'
).
combogrid
(
'
getValue
'
);
...
...
erp_web/js/easyui
-1.3.5
/demo/combogrid/basic.html
→
erp_web/js/easyui/demo/combogrid/basic.html
View file @
ab2872c1
...
...
@@ -11,27 +11,30 @@
</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>
<p>
Click the right arrow button to show the DataGrid.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
class=
"easyui-combogrid"
style=
"width:100%"
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,
label: 'Select Item:',
labelPosition: 'top'
"
>
</select>
</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
→
erp_web/js/easyui/demo/combogrid/datagrid_data1.json
View file @
ab2872c1
File moved
erp_web/js/easyui/demo/combogrid/fluid.html
0 → 100644
View file @
ab2872c1
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Fluid 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>
Fluid ComboGrid
</h2>
<p>
This example shows how to set the width of ComboGrid to a percentage of its parent container.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
class=
"easyui-combogrid"
style=
"width:100%"
data-options=
"
panelWidth: 500,
panelMinWidth: '50%',
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,
label: 'width: 100%',
labelPosition: 'top'
"
>
</select>
</div>
<div
style=
"margin-bottom:20px"
>
<select
class=
"easyui-combogrid"
style=
"width:50%"
data-options=
"
panelWidth: 500,
panelMinWidth: '50%',
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,
label: 'width: 50%',
labelPosition: 'top'
"
>
</select>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui
-1.3.5
/demo/combogrid/initvalue.html
→
erp_web/js/easyui/demo/combogrid/initvalue.html
View file @
ab2872c1
...
...
@@ -11,26 +11,31 @@
</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>
<p>
Initialize value when ComboGrid is created.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
class=
"easyui-combogrid"
style=
"width:100%"
data-options=
"
panelWidth: 500,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
value: 'EST-12',
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,
label: 'Select Item:',
labelPosition: 'top'
"
>
</select>
</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
→
erp_web/js/easyui/demo/combogrid/multiple.html
View file @
ab2872c1
...
...
@@ -11,30 +11,32 @@
</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>
<p>
Click the right arrow button to show the DataGrid and select items.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
class=
"easyui-combogrid"
style=
"width:100%"
data-options=
"
panelWidth: 500,
multiple: true,
idField: 'itemid',
textField: 'productname',
url: 'datagrid_data1.json',
method: 'get',
value: ['EST-11','EST-13'],
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,
label: 'Select Items:',
labelPosition: 'top'
"
>
</select>
</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
→
erp_web/js/easyui/demo/combogrid/navigation.html
View file @
ab2872c1
...
...
@@ -11,31 +11,33 @@
</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"
>
<p>
Navigate through grid items with keyboard to select an item.
</p>
<div
style=
"margin:20px 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>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
id=
"cc"
class=
"easyui-combogrid"
style=
"width:100%"
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,
label: 'Select Item:',
labelPosition: 'top'
"
>
</select>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combogrid/setvalue.html
0 → 100644
View file @
ab2872c1
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Set 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>
Set Value for ComboGrid
</h2>
<p>
Click the buttons below to perform actions.
</p>
<div
style=
"margin:20px 0"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"getValue()"
>
GetValue
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"setValue1()"
>
SetValue1
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
onclick=
"setValue2()"
>
SetValue2
</a>
</div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<select
id=
"cc"
class=
"easyui-combogrid"
style=
"width:100%"
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,
label: 'Select Item:',
labelPosition: 'top'
"
>
</select>
</div>
</div>
<script
type=
"text/javascript"
>
function
getValue
(){
var
val
=
$
(
'
#cc
'
).
combogrid
(
'
getValue
'
);
alert
(
val
);
}
function
setValue1
(){
$
(
'
#cc
'
).
combogrid
(
'
setValue
'
,
'
EST-13
'
);
}
function
setValue2
(){
$
(
'
#cc
'
).
combogrid
(
'
setValue
'
,
{
itemid
:
'
customid
'
,
productname
:
'
CustomName
'
});
}
</script>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui
-1.3.5
/demo/combotree/actions.html
→
erp_web/js/easyui/demo/combotree/actions.html
View file @
ab2872c1
...
...
@@ -11,17 +11,18 @@
</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"
>
<p>
Click the buttons below to perform actions
</p>
<div
style=
"margin:20px 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;"
>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
id=
"cc"
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',label:'Select Node:',labelPosition:'top'"
style=
"width:100%"
>
</div>
</div>
<script
type=
"text/javascript"
>
function
getValue
(){
var
val
=
$
(
'
#cc
'
).
combotree
(
'
getValue
'
);
...
...
erp_web/js/easyui
-1.3.5
/demo/combotree/basic.html
→
erp_web/js/easyui/demo/combotree/basic.html
View file @
ab2872c1
...
...
@@ -11,12 +11,12 @@
</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>
<p>
Click the right arrow button to show the tree panel.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',label:'Select Node:',labelPosition:'top'"
style=
"width:100%"
>
</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/demo/combotree/fluid.html
0 → 100644
View file @
ab2872c1
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Fluid 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>
Fluid ComboTree
</h2>
<p>
This example shows how to set the width of ComboTree to a percentage of its parent container.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',label:'width: 100%',labelPosition:'top'"
style=
"width:100%"
>
</div>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',label:'width: 80%',labelPosition:'top'"
style=
"width:80%"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui
-1.3.5
/demo/combotree/initvalue.html
→
erp_web/js/easyui/demo/combotree/initvalue.html
View file @
ab2872c1
...
...
@@ -11,12 +11,12 @@
</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>
<p>
Initialize Value when ComboTree is created.
</p>
<div
style=
"margin:20px 0"
></div>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
class=
"easyui-combotree"
value=
"122"
data-options=
"url:'tree_data1.json',method:'get',label:'Select Node:',labelPosition:'top'"
style=
"width:100%"
>
</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
→
erp_web/js/easyui/demo/combotree/multiple.html
View file @
ab2872c1
...
...
@@ -11,15 +11,16 @@
</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"
>
<p>
Click the right arrow button to show the tree panel and select multiple nodes.
</p>
<div
style=
"margin:20px 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>
<div
class=
"easyui-panel"
style=
"width:100%;max-width:400px;padding:30px 60px;"
>
<div
style=
"margin-bottom:20px"
>
<input
id=
"cc"
class=
"easyui-combotree"
data-options=
"url:'tree_data1.json',method:'get',label:'Select Nodes:',labelPosition:'top',multiple:true,value:[122,124]"
style=
"width:100%"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
Prev
1
…
5
6
7
8
9
10
11
12
13
…
27
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