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
76a0033a
Commit
76a0033a
authored
Apr 07, 2021
by
季圣华
Browse files
清空旧版本
parent
df57ada9
Changes
644
Show whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 644+
files are displayed.
Plain diff
Email patch
erp_web/js/easyui/demo/combobox/remotedata.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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',
label: 'Language:',
labelPosition: 'top'
"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combobox/remotejsonp.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
<script>
var
myloader
=
function
(
param
,
success
,
error
){
var
q
=
param
.
q
||
''
;
if
(
q
.
length
<=
2
){
return
false
}
$
.
ajax
({
url
:
'
https://gd.geobytes.com/AutoCompleteCity
'
,
dataType
:
'
jsonp
'
,
data
:
{
q
:
q
},
success
:
function
(
data
){
var
items
=
$
.
map
(
data
,
function
(
item
,
index
){
return
{
id
:
index
,
name
:
item
};
});
success
(
items
);
},
error
:
function
(){
error
.
apply
(
this
,
arguments
);
}
});
}
</script>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combogrid/actions.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
<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
'
);
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/demo/combogrid/basic.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combogrid/datagrid_data1.json
deleted
100644 → 0
View file @
df57ada9
{
"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/demo/combogrid/fluid.html
deleted
100644 → 0
View file @
df57ada9
<!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/demo/combogrid/initvalue.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combogrid/multiple.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combogrid/navigation.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
<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
deleted
100644 → 0
View file @
df57ada9
<!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/demo/combotree/actions.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
<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
'
);
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/demo/combotree/basic.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combotree/fluid.html
deleted
100644 → 0
View file @
df57ada9
<!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/demo/combotree/initvalue.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combotree/multiple.html
deleted
100644 → 0
View file @
df57ada9
<!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>
<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>
<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
erp_web/js/easyui/demo/combotree/tree_data1.json
deleted
100644 → 0
View file @
df57ada9
[{
"id"
:
1
,
"text"
:
"My Documents"
,
"children"
:[{
"id"
:
11
,
"text"
:
"Photos"
,
"state"
:
"closed"
,
"children"
:[{
"id"
:
111
,
"text"
:
"Friend"
},{
"id"
:
112
,
"text"
:
"Wife"
},{
"id"
:
113
,
"text"
:
"Company"
}]
},{
"id"
:
12
,
"text"
:
"Program Files"
,
"children"
:[{
"id"
:
121
,
"text"
:
"Intel"
},{
"id"
:
122
,
"text"
:
"Java"
,
"attributes"
:{
"p1"
:
"Custom Attribute1"
,
"p2"
:
"Custom Attribute2"
}
},{
"id"
:
123
,
"text"
:
"Microsoft Office"
},{
"id"
:
124
,
"text"
:
"Games"
,
"checked"
:
true
}]
},{
"id"
:
13
,
"text"
:
"index.html"
},{
"id"
:
14
,
"text"
:
"about.html"
},{
"id"
:
15
,
"text"
:
"welcome.html"
}]
}]
erp_web/js/easyui/demo/combotreegrid/basic.html
deleted
100644 → 0
View file @
df57ada9
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Basic ComboTreeGrid - 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 ComboTreeGrid
</h2>
<p>
Click the right arrow button to show the TreeGrid.
</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-combotreegrid"
data-options=
"
width:'100%',
panelWidth:500,
label:'Select Item:',
labelPosition:'top',
url:'treegrid_data1.json',
idField:'id',
treeField:'name',
columns:[[
{field:'name',title:'Name',width:200},
{field:'size',title:'Size',width:100},
{field:'date',title:'Date',width:100}
]]"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combotreegrid/multiple.html
deleted
100644 → 0
View file @
df57ada9
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Multiple ComboTreeGrid - 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 ComboTreeGrid
</h2>
<p>
Click the right arrow button to show the TreeGrid 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"
>
<input
class=
"easyui-combotreegrid"
data-options=
"
width:'100%',
panelWidth:500,
label:'Select Items:',
labelPosition:'top',
url:'treegrid_data1.json',
idField:'id',
treeField:'name',
multiple:true,
value:['211','31'],
columns:[[
{field:'name',title:'Name',width:200},
{field:'size',title:'Size',width:100},
{field:'date',title:'Date',width:100}
]]"
>
</div>
</div>
</body>
</html>
\ No newline at end of file
erp_web/js/easyui/demo/combotreegrid/treegrid_data1.json
deleted
100644 → 0
View file @
df57ada9
[{
"id"
:
1
,
"name"
:
"C"
,
"size"
:
""
,
"date"
:
"02/19/2010"
,
"children"
:[{
"id"
:
2
,
"name"
:
"Program Files"
,
"size"
:
"120 MB"
,
"date"
:
"03/20/2010"
,
"children"
:[{
"id"
:
21
,
"name"
:
"Java"
,
"size"
:
""
,
"date"
:
"01/13/2010"
,
"state"
:
"closed"
,
"children"
:[{
"id"
:
211
,
"name"
:
"java.exe"
,
"size"
:
"142 KB"
,
"date"
:
"01/13/2010"
},{
"id"
:
212
,
"name"
:
"jawt.dll"
,
"size"
:
"5 KB"
,
"date"
:
"01/13/2010"
}]
},{
"id"
:
22
,
"name"
:
"MySQL"
,
"size"
:
""
,
"date"
:
"01/13/2010"
,
"state"
:
"closed"
,
"children"
:[{
"id"
:
221
,
"name"
:
"my.ini"
,
"size"
:
"10 KB"
,
"date"
:
"02/26/2009"
},{
"id"
:
222
,
"name"
:
"my-huge.ini"
,
"size"
:
"5 KB"
,
"date"
:
"02/26/2009"
},{
"id"
:
223
,
"name"
:
"my-large.ini"
,
"size"
:
"5 KB"
,
"date"
:
"02/26/2009"
}]
}]
},{
"id"
:
3
,
"name"
:
"eclipse"
,
"size"
:
""
,
"date"
:
"01/20/2010"
,
"children"
:[{
"id"
:
31
,
"name"
:
"eclipse.exe"
,
"size"
:
"56 KB"
,
"date"
:
"05/19/2009"
},{
"id"
:
32
,
"name"
:
"eclipse.ini"
,
"size"
:
"1 KB"
,
"date"
:
"04/20/2010"
},{
"id"
:
33
,
"name"
:
"notice.html"
,
"size"
:
"7 KB"
,
"date"
:
"03/17/2005"
}]
}]
}]
\ No newline at end of file
erp_web/js/easyui/demo/datagrid/aligncolumns.html
deleted
100644 → 0
View file @
df57ada9
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Aligning Columns in DataGrid - 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>
Aligning Columns in DataGrid
</h2>
<p>
Use align and halign properties to set the alignment of the columns and their header.
</p>
<div
style=
"margin:20px 0;"
></div>
<table
class=
"easyui-datagrid"
title=
"Aligning Columns in DataGrid"
style=
"width:700px;height:250px"
data-options=
"singleSelect:true,collapsible:true,url:'datagrid_data1.json',method:'get'"
>
<thead>
<tr>
<th
data-options=
"field:'itemid',width:80,halign:'center'"
>
Item ID
</th>
<th
data-options=
"field:'productid',width:100,halign:'center'"
>
Product
</th>
<th
data-options=
"field:'listprice',width:80,align:'right',halign:'center'"
>
List Price
</th>
<th
data-options=
"field:'unitcost',width:80,align:'right',halign:'center'"
>
Unit Cost
</th>
<th
data-options=
"field:'attr1',width:250,halign:'center'"
>
Attribute
</th>
<th
data-options=
"field:'status',width:60,align:'center',halign:'center'"
>
Status
</th>
</tr>
</thead>
</table>
</body>
</html>
\ No newline at end of file
Prev
1
…
13
14
15
16
17
18
19
20
21
…
33
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