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/locale/easyui-lang-en.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Page
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
of {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Displaying {from} to {to} of {total} items
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Processing, please wait ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Cancel
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
This field is required.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Please enter a valid email address.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Please enter a valid URL.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Please enter a value between {0} and {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Please fix this field.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
S
'
,
'
M
'
,
'
T
'
,
'
W
'
,
'
T
'
,
'
F
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Jan
'
,
'
Feb
'
,
'
Mar
'
,
'
Apr
'
,
'
May
'
,
'
Jun
'
,
'
Jul
'
,
'
Aug
'
,
'
Sep
'
,
'
Oct
'
,
'
Nov
'
,
'
Dec
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Today
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Close
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-es.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Página
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
de {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Mostrando {from} a {to} de {total} elementos
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Procesando, por favor espere ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Aceptar
'
;
$
.
messager
.
defaults
.
cancel
=
'
Cancelar
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Este campo es obligatorio.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Por favor ingrese una dirección de correo válida.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Por favor ingrese una URL válida.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Por favor ingrese un valor entre {0} y {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Por favor corrija este campo.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
Do
'
,
'
Lu
'
,
'
Ma
'
,
'
Mi
'
,
'
Ju
'
,
'
Vi
'
,
'
Sá
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Ene
'
,
'
Feb
'
,
'
Mar
'
,
'
Abr
'
,
'
May
'
,
'
Jun
'
,
'
Jul
'
,
'
Ago
'
,
'
Sep
'
,
'
Oct
'
,
'
Nov
'
,
'
Dic
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Hoy
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Cerrar
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Aceptar
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-fa.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
صفحه
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
از {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
نمایش {from} تا {to} از {total} مورد
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
درحال پردازش، لطفا صبر کنید...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
قبول
'
;
$
.
messager
.
defaults
.
cancel
=
'
انصراف
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
این فیلد اجباری می باشد.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
لطفا آدرس ایمیل را صحیح وارد کنید.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
لطفا آدرس سایت را صحیح وارد کنید.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
لطفا مقداری بین {0} و {1} وارد کنید.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
لطفا مقدار این فیلد را تصحیح کنید.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
S
'
,
'
M
'
,
'
T
'
,
'
W
'
,
'
T
'
,
'
F
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Jan
'
,
'
Feb
'
,
'
Mar
'
,
'
Apr
'
,
'
May
'
,
'
Jun
'
,
'
Jul
'
,
'
Aug
'
,
'
Sep
'
,
'
Oct
'
,
'
Nov
'
,
'
Dec
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
امروز
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
بستن
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
قبول
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-fr.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Page
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
de {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Affichage de {from} et {to} au {total} des articles
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
"
Traitement, s'il vous plaît patienter ...
"
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Annuler
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Ce champ est obligatoire.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
"
S'il vous plaît entrer une adresse email valide.
"
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
"
S'il vous plaît entrer une URL valide.
"
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
"
S'il vous plaît entrez une valeur comprise entre {0} et {1}.
"
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
S
'
,
'
M
'
,
'
T
'
,
'
W
'
,
'
T
'
,
'
F
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
"
Jan
"
,
"
Fév
"
,
"
Mar
"
,
"
Avr
"
,
"
Mai
"
,
"
Juin
"
,
"
Juil
"
,
"
Aôu
"
,
"
Sep
"
,
"
Oct
"
,
"
Nov
"
,
"
Déc
"
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
"
Aujourd'hui
"
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Fermer
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
$
.
fn
.
datebox
.
defaults
.
formatter
=
function
(
date
){
var
y
=
date
.
getFullYear
();
var
m
=
date
.
getMonth
()
+
1
;
var
d
=
date
.
getDate
();
return
(
d
<
10
?(
'
0
'
+
d
):
d
)
+
'
/
'
+
(
m
<
10
?(
'
0
'
+
m
):
m
)
+
'
/
'
+
y
;
};
$
.
fn
.
datebox
.
defaults
.
parser
=
function
(
s
){
if
(
!
s
)
return
new
Date
();
var
ss
=
s
.
split
(
'
/
'
);
var
d
=
parseInt
(
ss
[
0
],
10
);
var
m
=
parseInt
(
ss
[
1
],
10
);
var
y
=
parseInt
(
ss
[
2
],
10
);
if
(
!
isNaN
(
y
)
&&
!
isNaN
(
m
)
&&
!
isNaN
(
d
)){
return
new
Date
(
y
,
m
-
1
,
d
);
}
else
{
return
new
Date
();
}
};
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-it.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Pagina
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
di {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Visualizzazione {from} a {to} di {total} elementi
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
In lavorazione, attendere ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Annulla
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Questo campo è richiesto.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Inserisci un indirizzo email valido.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Inserisci un URL valido.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Inserisci un valore tra {0} e {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Correggere questo campo.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
firstDay
=
1
;
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
D
'
,
'
L
'
,
'
M
'
,
'
M
'
,
'
G
'
,
'
V
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Gen
'
,
'
Feb
'
,
'
Mar
'
,
'
Apr
'
,
'
Mag
'
,
'
Giu
'
,
'
Lug
'
,
'
Ago
'
,
'
Set
'
,
'
Ott
'
,
'
Nov
'
,
'
Dic
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Oggi
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Chiudi
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
$
.
fn
.
datebox
.
defaults
.
formatter
=
function
(
date
){
var
y
=
date
.
getFullYear
();
var
m
=
date
.
getMonth
()
+
1
;
var
d
=
date
.
getDate
();
return
(
d
<
10
?(
'
0
'
+
d
):
d
)
+
'
/
'
+
(
m
<
10
?(
'
0
'
+
m
):
m
)
+
'
/
'
+
y
;
};
$
.
fn
.
datebox
.
defaults
.
parser
=
function
(
s
){
if
(
!
s
)
return
new
Date
();
var
ss
=
s
.
split
(
'
/
'
);
var
d
=
parseInt
(
ss
[
0
],
10
);
var
m
=
parseInt
(
ss
[
1
],
10
);
var
y
=
parseInt
(
ss
[
2
],
10
);
if
(
!
isNaN
(
y
)
&&
!
isNaN
(
m
)
&&
!
isNaN
(
d
)){
return
new
Date
(
y
,
m
-
1
,
d
);
}
else
{
return
new
Date
();
}
};
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-jp.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
ページ
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
{pages} 中
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
全 {total} アイテム中 {from} から {to} を表示中
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
処理中です。少々お待ちください...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
OK
'
;
$
.
messager
.
defaults
.
cancel
=
'
キャンセル
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
入力は必須です。
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
正しいメールアドレスを入力してください。
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
正しいURLを入力してください。
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
{0} から {1} の範囲の正しい値を入力してください。
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
このフィールドを修正してください。
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
日
'
,
'
月
'
,
'
火
'
,
'
水
'
,
'
木
'
,
'
金
'
,
'
土
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
1月
'
,
'
2月
'
,
'
3月
'
,
'
4月
'
,
'
5月
'
,
'
6月
'
,
'
7月
'
,
'
8月
'
,
'
9月
'
,
'
10月
'
,
'
11月
'
,
'
12月
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
今日
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
閉じる
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
OK
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-ko.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
페이지
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
{pages} 중
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
전체 {total} 항목 중 {from}부터 {to}번째
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
처리 중입니다. 잠시만 기다려 주세요...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
확인
'
;
$
.
messager
.
defaults
.
cancel
=
'
취소
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
필수 항목입니다.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
올바른 메일 주소를 입력해 주세요.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
올바른 URL를 입력해 주세요.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
{0}에서 {1} 사이의 값을 입력해 주세요.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
이 필드를 수정해 주세요.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
일
'
,
'
월
'
,
'
화
'
,
'
수
'
,
'
목
'
,
'
금
'
,
'
토
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
1월
'
,
'
2월
'
,
'
3월
'
,
'
4월
'
,
'
5월
'
,
'
6월
'
,
'
7월
'
,
'
8월
'
,
'
9월
'
,
'
10월
'
,
'
11월
'
,
'
12월
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
오늘
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
닫기
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
확인
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-nl.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Pagina
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
van {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Tonen van {from} tot {to} van de {total} items
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Verwerking, even geduld ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Annuleren
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Dit veld is verplicht.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Geef een geldig e-mailadres.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Vul een geldige URL.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Voer een waarde tussen {0} en {1}.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
S
'
,
'
M
'
,
'
T
'
,
'
W
'
,
'
T
'
,
'
F
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Jan
'
,
'
Feb
'
,
'
Mar
'
,
'
Apr
'
,
'
May
'
,
'
Jun
'
,
'
Jul
'
,
'
Aug
'
,
'
Sep
'
,
'
Oct
'
,
'
Nov
'
,
'
Dec
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Vandaag
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Dicht
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-pl.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Strona
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
z {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Wyświetlono elementy od {from} do {to} z {total}
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Przetwarzanie, proszę czekać ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Cancel
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
To pole jest wymagane.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Wprowadź poprawny adres email.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Wprowadź poprawny adres URL.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Wprowadź wartość z zakresu od {0} do {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Proszę poprawić to pole.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
N
'
,
'
P
'
,
'
W
'
,
'
Ś
'
,
'
C
'
,
'
P
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Sty
'
,
'
Lut
'
,
'
Mar
'
,
'
Kwi
'
,
'
Maj
'
,
'
Cze
'
,
'
Lip
'
,
'
Sie
'
,
'
Wrz
'
,
'
Paź
'
,
'
Lis
'
,
'
Gru
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Dzisiaj
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Zamknij
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-pt_BR.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Página
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
de {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Mostrando {from} a {to} de {total} itens
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Processando, aguarde ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Cancelar
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Esse campo é requerido.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Insira um endereço de email válido.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Insira uma URL válida.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Insira uma valor entre {0} e {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Corrija esse campo.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
D
'
,
'
S
'
,
'
T
'
,
'
Q
'
,
'
Q
'
,
'
S
'
,
'
S
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Jan
'
,
'
Fev
'
,
'
Mar
'
,
'
Abr
'
,
'
Mai
'
,
'
Jun
'
,
'
Jul
'
,
'
Ago
'
,
'
Set
'
,
'
Out
'
,
'
Nov
'
,
'
Dez
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Hoje
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Fechar
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-ru.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Страница
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
из {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Просмотр {from} до {to} из {total} записей
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Обрабатывается, пожалуйста ждите ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ок
'
;
$
.
messager
.
defaults
.
cancel
=
'
Закрыть
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Это поле необходимо.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Пожалуйста введите корректный e-mail адрес.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Пожалуйста введите корректный URL.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Пожалуйста введите зачение между {0} и {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Пожалуйста исправте это поле.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
firstDay
=
1
;
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
В
'
,
'
П
'
,
'
В
'
,
'
С
'
,
'
Ч
'
,
'
П
'
,
'
С
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Янв
'
,
'
Фев
'
,
'
Мар
'
,
'
Апр
'
,
'
Май
'
,
'
Июн
'
,
'
Июл
'
,
'
Авг
'
,
'
Сен
'
,
'
Окт
'
,
'
Ноя
'
,
'
Дек
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Сегодня
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Закрыть
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ок
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-sv_SE.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
)
{
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Sida
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
av {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Visar {from} till {to} av {total} poster
'
;
}
if
(
$
.
fn
.
datagrid
)
{
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Bearbetar, vänligen vänta ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
)
{
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
)
{
$
.
messager
.
defaults
.
ok
=
'
Ok
'
;
$
.
messager
.
defaults
.
cancel
=
'
Avbryt
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Detta fält är obligatoriskt.
'
;
}
});
if
(
$
.
fn
.
validatebox
)
{
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Vänligen ange en korrekt e-post adress.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Vänligen ange en korrekt URL.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Vänligen ange ett nummer mellan {0} och {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Vänligen åtgärda detta fält.
'
;
}
if
(
$
.
fn
.
calendar
)
{
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
Sön
'
,
'
Mån
'
,
'
Tis
'
,
'
Ons
'
,
'
Tors
'
,
'
Fre
'
,
'
Lör
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Jan
'
,
'
Feb
'
,
'
Mar
'
,
'
Apr
'
,
'
Maj
'
,
'
Jun
'
,
'
Jul
'
,
'
Aug
'
,
'
Sep
'
,
'
Okt
'
,
'
Nov
'
,
'
Dec
'
];
}
if
(
$
.
fn
.
datebox
)
{
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
I dag
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Stäng
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ok
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
)
{
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,
{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-tr.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Sayfa
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
/ {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
{from} ile {to} arası gösteriliyor, toplam {total} kayıt
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
panel
.
defaults
.
loadingMessage
=
"
Yükleniyor...
"
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadingMessage
=
"
Yükleniyor...
"
;
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
İşleminiz Yapılıyor, lütfen bekleyin ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Tamam
'
;
$
.
messager
.
defaults
.
cancel
=
'
İptal
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Bu alan zorunludur.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Lütfen geçerli bir email adresi giriniz.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Lütfen geçerli bir URL giriniz.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Lütfen {0} ile {1} arasında bir değer giriniz.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Lütfen bu alanı düzeltiniz.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
Pz
'
,
'
Pt
'
,
'
Sa
'
,
'
Ça
'
,
'
Pe
'
,
'
Cu
'
,
'
Ct
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Oca
'
,
'
Şub
'
,
'
Mar
'
,
'
Nis
'
,
'
May
'
,
'
Haz
'
,
'
Tem
'
,
'
Ağu
'
,
'
Eyl
'
,
'
Eki
'
,
'
Kas
'
,
'
Ara
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Bugün
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Kapat
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Tamam
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
$
.
fn
.
datebox
.
defaults
.
formatter
=
function
(
date
){
var
y
=
date
.
getFullYear
();
var
m
=
date
.
getMonth
()
+
1
;
var
d
=
date
.
getDate
();
if
(
m
<
10
){
m
=
"
0
"
+
m
;}
if
(
d
<
10
){
d
=
"
0
"
+
d
;}
return
d
+
"
.
"
+
m
+
"
.
"
+
y
;
};
}
erp_web/js/easyui/locale/easyui-lang-ua.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
Сторінка
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
з {pages}
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
Перегляд {from} до {to} з {total} записів
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
Обробляється, зачекайте будь даска ...
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
Ок
'
;
$
.
messager
.
defaults
.
cancel
=
'
Закрити
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
Це поле необхідно.
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
Будь ласка, введіть коректну e-mail адресу.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
Будь ласка, введіть коректний URL.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
Будь ласка введіть значення між {0} і {1}.
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
Будь ласка виправте це поле.
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
firstDay
=
1
;
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
В
'
,
'
П
'
,
'
В
'
,
'
С
'
,
'
Ч
'
,
'
П
'
,
'
С
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
Січ
'
,
'
Лют
'
,
'
Бер
'
,
'
Квіт
'
,
'
Трав
'
,
'
Черв
'
,
'
Лип
'
,
'
Серп
'
,
'
Вер
'
,
'
Жовт
'
,
'
Лист
'
,
'
Груд
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
Сьогодні
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
Закрити
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
Ок
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
erp_web/js/easyui/locale/easyui-lang-zh_CN.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
第
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
共{pages}页
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
显示{from}到{to},共{total}记录
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
正在处理,请稍待。。。
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
确定
'
;
$
.
messager
.
defaults
.
cancel
=
'
取消
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
该输入项为必输项
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
请输入有效的电子邮件地址
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
请输入有效的URL地址
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
输入内容长度必须介于{0}和{1}之间
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
请修正该字段
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
日
'
,
'
一
'
,
'
二
'
,
'
三
'
,
'
四
'
,
'
五
'
,
'
六
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
一月
'
,
'
二月
'
,
'
三月
'
,
'
四月
'
,
'
五月
'
,
'
六月
'
,
'
七月
'
,
'
八月
'
,
'
九月
'
,
'
十月
'
,
'
十一月
'
,
'
十二月
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
今天
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
关闭
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
确定
'
;
$
.
fn
.
datebox
.
defaults
.
formatter
=
function
(
date
){
var
y
=
date
.
getFullYear
();
var
m
=
date
.
getMonth
()
+
1
;
var
d
=
date
.
getDate
();
return
y
+
'
-
'
+
(
m
<
10
?(
'
0
'
+
m
):
m
)
+
'
-
'
+
(
d
<
10
?(
'
0
'
+
d
):
d
);
};
$
.
fn
.
datebox
.
defaults
.
parser
=
function
(
s
){
if
(
!
s
)
return
new
Date
();
var
ss
=
s
.
split
(
'
-
'
);
var
y
=
parseInt
(
ss
[
0
],
10
);
var
m
=
parseInt
(
ss
[
1
],
10
);
var
d
=
parseInt
(
ss
[
2
],
10
);
if
(
!
isNaN
(
y
)
&&
!
isNaN
(
m
)
&&
!
isNaN
(
d
)){
return
new
Date
(
y
,
m
-
1
,
d
);
}
else
{
return
new
Date
();
}
};
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
if
(
$
.
fn
.
datetimespinner
){
$
.
fn
.
datetimespinner
.
defaults
.
selections
=
[[
0
,
4
],[
5
,
7
],[
8
,
10
],[
11
,
13
],[
14
,
16
],[
17
,
19
]]
}
erp_web/js/easyui/locale/easyui-lang-zh_TW.js
deleted
100644 → 0
View file @
df57ada9
if
(
$
.
fn
.
pagination
){
$
.
fn
.
pagination
.
defaults
.
beforePageText
=
'
第
'
;
$
.
fn
.
pagination
.
defaults
.
afterPageText
=
'
共{pages}頁
'
;
$
.
fn
.
pagination
.
defaults
.
displayMsg
=
'
顯示{from}到{to},共{total}記錄
'
;
}
if
(
$
.
fn
.
datagrid
){
$
.
fn
.
datagrid
.
defaults
.
loadMsg
=
'
正在處理,請稍待。。。
'
;
}
if
(
$
.
fn
.
treegrid
&&
$
.
fn
.
datagrid
){
$
.
fn
.
treegrid
.
defaults
.
loadMsg
=
$
.
fn
.
datagrid
.
defaults
.
loadMsg
;
}
if
(
$
.
messager
){
$
.
messager
.
defaults
.
ok
=
'
確定
'
;
$
.
messager
.
defaults
.
cancel
=
'
取消
'
;
}
$
.
map
([
'
validatebox
'
,
'
textbox
'
,
'
passwordbox
'
,
'
filebox
'
,
'
searchbox
'
,
'
combo
'
,
'
combobox
'
,
'
combogrid
'
,
'
combotree
'
,
'
datebox
'
,
'
datetimebox
'
,
'
numberbox
'
,
'
spinner
'
,
'
numberspinner
'
,
'
timespinner
'
,
'
datetimespinner
'
],
function
(
plugin
){
if
(
$
.
fn
[
plugin
]){
$
.
fn
[
plugin
].
defaults
.
missingMessage
=
'
該輸入項為必輸項
'
;
}
});
if
(
$
.
fn
.
validatebox
){
$
.
fn
.
validatebox
.
defaults
.
rules
.
email
.
message
=
'
請輸入有效的電子郵件地址
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
url
.
message
=
'
請輸入有效的URL地址
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
length
.
message
=
'
輸入內容長度必須介於{0}和{1}之間
'
;
$
.
fn
.
validatebox
.
defaults
.
rules
.
remote
.
message
=
'
請修正此欄位
'
;
}
if
(
$
.
fn
.
calendar
){
$
.
fn
.
calendar
.
defaults
.
weeks
=
[
'
日
'
,
'
一
'
,
'
二
'
,
'
三
'
,
'
四
'
,
'
五
'
,
'
六
'
];
$
.
fn
.
calendar
.
defaults
.
months
=
[
'
一月
'
,
'
二月
'
,
'
三月
'
,
'
四月
'
,
'
五月
'
,
'
六月
'
,
'
七月
'
,
'
八月
'
,
'
九月
'
,
'
十月
'
,
'
十一月
'
,
'
十二月
'
];
}
if
(
$
.
fn
.
datebox
){
$
.
fn
.
datebox
.
defaults
.
currentText
=
'
今天
'
;
$
.
fn
.
datebox
.
defaults
.
closeText
=
'
關閉
'
;
$
.
fn
.
datebox
.
defaults
.
okText
=
'
確定
'
;
}
if
(
$
.
fn
.
datetimebox
&&
$
.
fn
.
datebox
){
$
.
extend
(
$
.
fn
.
datetimebox
.
defaults
,{
currentText
:
$
.
fn
.
datebox
.
defaults
.
currentText
,
closeText
:
$
.
fn
.
datebox
.
defaults
.
closeText
,
okText
:
$
.
fn
.
datebox
.
defaults
.
okText
});
}
if
(
$
.
fn
.
datetimespinner
){
$
.
fn
.
datetimespinner
.
defaults
.
selections
=
[[
0
,
4
],[
5
,
7
],[
8
,
10
],[
11
,
13
],[
14
,
16
],[
17
,
19
]]
}
erp_web/js/easyui/plugins/jquery.accordion.js
deleted
100644 → 0
View file @
df57ada9
/**
* EasyUI for jQuery 1.9.4
*
* Copyright (c) 2009-2020 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(
function
(
$
){
function
_1
(
_2
,
_3
){
var
_4
=
$
.
data
(
_2
,
"
accordion
"
);
var
_5
=
_4
.
options
;
var
_6
=
_4
.
panels
;
var
cc
=
$
(
_2
);
var
_7
=
(
_5
.
halign
==
"
left
"
||
_5
.
halign
==
"
right
"
);
cc
.
children
(
"
.panel-last
"
).
removeClass
(
"
panel-last
"
);
cc
.
children
(
"
.panel:last
"
).
addClass
(
"
panel-last
"
);
if
(
_3
){
$
.
extend
(
_5
,{
width
:
_3
.
width
,
height
:
_3
.
height
});
}
cc
.
_size
(
_5
);
var
_8
=
0
;
var
_9
=
"
auto
"
;
var
_a
=
cc
.
find
(
"
>.panel>.accordion-header
"
);
if
(
_a
.
length
){
if
(
_7
){
$
(
_a
[
0
]).
next
().
panel
(
"
resize
"
,{
width
:
cc
.
width
(),
height
:
cc
.
height
()});
_8
=
$
(
_a
[
0
]).
_outerWidth
();
}
else
{
_8
=
$
(
_a
[
0
]).
css
(
"
height
"
,
""
).
_outerHeight
();
}
}
if
(
!
isNaN
(
parseInt
(
_5
.
height
))){
if
(
_7
){
_9
=
cc
.
width
()
-
_8
*
_a
.
length
;
}
else
{
_9
=
cc
.
height
()
-
_8
*
_a
.
length
;
}
}
_b
(
true
,
_9
-
_b
(
false
));
function
_b
(
_c
,
_d
){
var
_e
=
0
;
for
(
var
i
=
0
;
i
<
_6
.
length
;
i
++
){
var
p
=
_6
[
i
];
if
(
_7
){
var
h
=
p
.
panel
(
"
header
"
).
_outerWidth
(
_8
);
}
else
{
var
h
=
p
.
panel
(
"
header
"
).
_outerHeight
(
_8
);
}
if
(
p
.
panel
(
"
options
"
).
collapsible
==
_c
){
var
_f
=
isNaN
(
_d
)?
undefined
:(
_d
+
_8
*
h
.
length
);
if
(
_7
){
p
.
panel
(
"
resize
"
,{
height
:
cc
.
height
(),
width
:(
_c
?
_f
:
undefined
)});
_e
+=
p
.
panel
(
"
panel
"
).
_outerWidth
()
-
_8
*
h
.
length
;
}
else
{
p
.
panel
(
"
resize
"
,{
width
:
cc
.
width
(),
height
:(
_c
?
_f
:
undefined
)});
_e
+=
p
.
panel
(
"
panel
"
).
outerHeight
()
-
_8
*
h
.
length
;
}
}
}
return
_e
;
};
};
function
_10
(
_11
,
_12
,
_13
,
all
){
var
_14
=
$
.
data
(
_11
,
"
accordion
"
).
panels
;
var
pp
=
[];
for
(
var
i
=
0
;
i
<
_14
.
length
;
i
++
){
var
p
=
_14
[
i
];
if
(
_12
){
if
(
p
.
panel
(
"
options
"
)[
_12
]
==
_13
){
pp
.
push
(
p
);
}
}
else
{
if
(
p
[
0
]
==
$
(
_13
)[
0
]){
return
i
;
}
}
}
if
(
_12
){
return
all
?
pp
:(
pp
.
length
?
pp
[
0
]:
null
);
}
else
{
return
-
1
;
}
};
function
_15
(
_16
){
return
_10
(
_16
,
"
collapsed
"
,
false
,
true
);
};
function
_17
(
_18
){
var
pp
=
_15
(
_18
);
return
pp
.
length
?
pp
[
0
]:
null
;
};
function
_19
(
_1a
,
_1b
){
return
_10
(
_1a
,
null
,
_1b
);
};
function
_1c
(
_1d
,
_1e
){
var
_1f
=
$
.
data
(
_1d
,
"
accordion
"
).
panels
;
if
(
typeof
_1e
==
"
number
"
){
if
(
_1e
<
0
||
_1e
>=
_1f
.
length
){
return
null
;
}
else
{
return
_1f
[
_1e
];
}
}
return
_10
(
_1d
,
"
title
"
,
_1e
);
};
function
_20
(
_21
){
var
_22
=
$
.
data
(
_21
,
"
accordion
"
).
options
;
var
cc
=
$
(
_21
);
if
(
_22
.
border
){
cc
.
removeClass
(
"
accordion-noborder
"
);
}
else
{
cc
.
addClass
(
"
accordion-noborder
"
);
}
};
function
_23
(
_24
){
var
_25
=
$
.
data
(
_24
,
"
accordion
"
);
var
cc
=
$
(
_24
);
cc
.
addClass
(
"
accordion
"
);
_25
.
panels
=
[];
cc
.
children
(
"
div
"
).
each
(
function
(){
var
_26
=
$
.
extend
({},
$
.
parser
.
parseOptions
(
this
),{
selected
:(
$
(
this
).
attr
(
"
selected
"
)?
true
:
undefined
)});
var
pp
=
$
(
this
);
_25
.
panels
.
push
(
pp
);
_28
(
_24
,
pp
,
_26
);
});
cc
.
_bind
(
"
_resize
"
,
function
(
e
,
_27
){
if
(
$
(
this
).
hasClass
(
"
easyui-fluid
"
)
||
_27
){
_1
(
_24
);
}
return
false
;
});
};
function
_28
(
_29
,
pp
,
_2a
){
var
_2b
=
$
.
data
(
_29
,
"
accordion
"
).
options
;
pp
.
panel
(
$
.
extend
({},{
collapsible
:
true
,
minimizable
:
false
,
maximizable
:
false
,
closable
:
false
,
doSize
:
false
,
collapsed
:
true
,
headerCls
:
"
accordion-header
"
,
bodyCls
:
"
accordion-body
"
,
halign
:
_2b
.
halign
},
_2a
,{
onBeforeExpand
:
function
(){
if
(
_2a
.
onBeforeExpand
){
if
(
_2a
.
onBeforeExpand
.
call
(
this
)
==
false
){
return
false
;
}
}
if
(
!
_2b
.
multiple
){
var
all
=
$
.
grep
(
_15
(
_29
),
function
(
p
){
return
p
.
panel
(
"
options
"
).
collapsible
;
});
for
(
var
i
=
0
;
i
<
all
.
length
;
i
++
){
_34
(
_29
,
_19
(
_29
,
all
[
i
]));
}
}
var
_2c
=
$
(
this
).
panel
(
"
header
"
);
_2c
.
addClass
(
"
accordion-header-selected
"
);
_2c
.
find
(
"
.accordion-collapse
"
).
removeClass
(
"
accordion-expand
"
);
},
onExpand
:
function
(){
$
(
_29
).
find
(
"
>.panel-last>.accordion-header
"
).
removeClass
(
"
accordion-header-border
"
);
if
(
_2a
.
onExpand
){
_2a
.
onExpand
.
call
(
this
);
}
_2b
.
onSelect
.
call
(
_29
,
$
(
this
).
panel
(
"
options
"
).
title
,
_19
(
_29
,
this
));
},
onBeforeCollapse
:
function
(){
if
(
_2a
.
onBeforeCollapse
){
if
(
_2a
.
onBeforeCollapse
.
call
(
this
)
==
false
){
return
false
;
}
}
$
(
_29
).
find
(
"
>.panel-last>.accordion-header
"
).
addClass
(
"
accordion-header-border
"
);
var
_2d
=
$
(
this
).
panel
(
"
header
"
);
_2d
.
removeClass
(
"
accordion-header-selected
"
);
_2d
.
find
(
"
.accordion-collapse
"
).
addClass
(
"
accordion-expand
"
);
},
onCollapse
:
function
(){
if
(
isNaN
(
parseInt
(
_2b
.
height
))){
$
(
_29
).
find
(
"
>.panel-last>.accordion-header
"
).
removeClass
(
"
accordion-header-border
"
);
}
if
(
_2a
.
onCollapse
){
_2a
.
onCollapse
.
call
(
this
);
}
_2b
.
onUnselect
.
call
(
_29
,
$
(
this
).
panel
(
"
options
"
).
title
,
_19
(
_29
,
this
));
}}));
var
_2e
=
pp
.
panel
(
"
header
"
);
var
_2f
=
_2e
.
children
(
"
div.panel-tool
"
);
_2f
.
children
(
"
a.panel-tool-collapse
"
).
hide
();
var
t
=
$
(
"
<a href=
\"
javascript:;
\"
></a>
"
).
addClass
(
"
accordion-collapse accordion-expand
"
).
appendTo
(
_2f
);
t
.
_bind
(
"
click
"
,
function
(){
_30
(
pp
);
return
false
;
});
pp
.
panel
(
"
options
"
).
collapsible
?
t
.
show
():
t
.
hide
();
if
(
_2b
.
halign
==
"
left
"
||
_2b
.
halign
==
"
right
"
){
t
.
hide
();
}
_2e
.
_bind
(
"
click
"
,
function
(){
_30
(
pp
);
return
false
;
});
function
_30
(
p
){
var
_31
=
p
.
panel
(
"
options
"
);
if
(
_31
.
collapsible
){
var
_32
=
_19
(
_29
,
p
);
if
(
_31
.
collapsed
){
_33
(
_29
,
_32
);
}
else
{
_34
(
_29
,
_32
);
}
}
};
};
function
_33
(
_35
,
_36
){
var
p
=
_1c
(
_35
,
_36
);
if
(
!
p
){
return
;
}
_37
(
_35
);
var
_38
=
$
.
data
(
_35
,
"
accordion
"
).
options
;
p
.
panel
(
"
expand
"
,
_38
.
animate
);
};
function
_34
(
_39
,
_3a
){
var
p
=
_1c
(
_39
,
_3a
);
if
(
!
p
){
return
;
}
_37
(
_39
);
var
_3b
=
$
.
data
(
_39
,
"
accordion
"
).
options
;
p
.
panel
(
"
collapse
"
,
_3b
.
animate
);
};
function
_3c
(
_3d
){
var
_3e
=
$
.
data
(
_3d
,
"
accordion
"
).
options
;
$
(
_3d
).
find
(
"
>.panel-last>.accordion-header
"
).
addClass
(
"
accordion-header-border
"
);
var
p
=
_10
(
_3d
,
"
selected
"
,
true
);
if
(
p
){
_3f
(
_19
(
_3d
,
p
));
}
else
{
_3f
(
_3e
.
selected
);
}
function
_3f
(
_40
){
var
_41
=
_3e
.
animate
;
_3e
.
animate
=
false
;
_33
(
_3d
,
_40
);
_3e
.
animate
=
_41
;
};
};
function
_37
(
_42
){
var
_43
=
$
.
data
(
_42
,
"
accordion
"
).
panels
;
for
(
var
i
=
0
;
i
<
_43
.
length
;
i
++
){
_43
[
i
].
stop
(
true
,
true
);
}
};
function
add
(
_44
,
_45
){
var
_46
=
$
.
data
(
_44
,
"
accordion
"
);
var
_47
=
_46
.
options
;
var
_48
=
_46
.
panels
;
if
(
_45
.
selected
==
undefined
){
_45
.
selected
=
true
;
}
_37
(
_44
);
var
pp
=
$
(
"
<div></div>
"
).
appendTo
(
_44
);
_48
.
push
(
pp
);
_28
(
_44
,
pp
,
_45
);
_1
(
_44
);
_47
.
onAdd
.
call
(
_44
,
_45
.
title
,
_48
.
length
-
1
);
if
(
_45
.
selected
){
_33
(
_44
,
_48
.
length
-
1
);
}
};
function
_49
(
_4a
,
_4b
){
var
_4c
=
$
.
data
(
_4a
,
"
accordion
"
);
var
_4d
=
_4c
.
options
;
var
_4e
=
_4c
.
panels
;
_37
(
_4a
);
var
_4f
=
_1c
(
_4a
,
_4b
);
var
_50
=
_4f
.
panel
(
"
options
"
).
title
;
var
_51
=
_19
(
_4a
,
_4f
);
if
(
!
_4f
){
return
;
}
if
(
_4d
.
onBeforeRemove
.
call
(
_4a
,
_50
,
_51
)
==
false
){
return
;
}
_4e
.
splice
(
_51
,
1
);
_4f
.
panel
(
"
destroy
"
);
if
(
_4e
.
length
){
_1
(
_4a
);
var
_52
=
_17
(
_4a
);
if
(
!
_52
){
_33
(
_4a
,
0
);
}
}
_4d
.
onRemove
.
call
(
_4a
,
_50
,
_51
);
};
$
.
fn
.
accordion
=
function
(
_53
,
_54
){
if
(
typeof
_53
==
"
string
"
){
return
$
.
fn
.
accordion
.
methods
[
_53
](
this
,
_54
);
}
_53
=
_53
||
{};
return
this
.
each
(
function
(){
var
_55
=
$
.
data
(
this
,
"
accordion
"
);
if
(
_55
){
$
.
extend
(
_55
.
options
,
_53
);
}
else
{
$
.
data
(
this
,
"
accordion
"
,{
options
:
$
.
extend
({},
$
.
fn
.
accordion
.
defaults
,
$
.
fn
.
accordion
.
parseOptions
(
this
),
_53
),
accordion
:
$
(
this
).
addClass
(
"
accordion
"
),
panels
:[]});
_23
(
this
);
}
_20
(
this
);
_1
(
this
);
_3c
(
this
);
});
};
$
.
fn
.
accordion
.
methods
=
{
options
:
function
(
jq
){
return
$
.
data
(
jq
[
0
],
"
accordion
"
).
options
;
},
panels
:
function
(
jq
){
return
$
.
data
(
jq
[
0
],
"
accordion
"
).
panels
;
},
resize
:
function
(
jq
,
_56
){
return
jq
.
each
(
function
(){
_1
(
this
,
_56
);
});
},
getSelections
:
function
(
jq
){
return
_15
(
jq
[
0
]);
},
getSelected
:
function
(
jq
){
return
_17
(
jq
[
0
]);
},
getPanel
:
function
(
jq
,
_57
){
return
_1c
(
jq
[
0
],
_57
);
},
getPanelIndex
:
function
(
jq
,
_58
){
return
_19
(
jq
[
0
],
_58
);
},
select
:
function
(
jq
,
_59
){
return
jq
.
each
(
function
(){
_33
(
this
,
_59
);
});
},
unselect
:
function
(
jq
,
_5a
){
return
jq
.
each
(
function
(){
_34
(
this
,
_5a
);
});
},
add
:
function
(
jq
,
_5b
){
return
jq
.
each
(
function
(){
add
(
this
,
_5b
);
});
},
remove
:
function
(
jq
,
_5c
){
return
jq
.
each
(
function
(){
_49
(
this
,
_5c
);
});
}};
$
.
fn
.
accordion
.
parseOptions
=
function
(
_5d
){
var
t
=
$
(
_5d
);
return
$
.
extend
({},
$
.
parser
.
parseOptions
(
_5d
,[
"
width
"
,
"
height
"
,
"
halign
"
,{
fit
:
"
boolean
"
,
border
:
"
boolean
"
,
animate
:
"
boolean
"
,
multiple
:
"
boolean
"
,
selected
:
"
number
"
}]));
};
$
.
fn
.
accordion
.
defaults
=
{
width
:
"
auto
"
,
height
:
"
auto
"
,
fit
:
false
,
border
:
true
,
animate
:
true
,
multiple
:
false
,
selected
:
0
,
halign
:
"
top
"
,
onSelect
:
function
(
_5e
,
_5f
){
},
onUnselect
:
function
(
_60
,
_61
){
},
onAdd
:
function
(
_62
,
_63
){
},
onBeforeRemove
:
function
(
_64
,
_65
){
},
onRemove
:
function
(
_66
,
_67
){
}};
})(
jQuery
);
erp_web/js/easyui/plugins/jquery.calendar
deleted
100644 → 0
View file @
df57ada9
/**
* EasyUI for jQuery 1.7.6
*
* Copyright (c) 2009-2019 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
erp_web/js/easyui/plugins/jquery.calendar.js
deleted
100644 → 0
View file @
df57ada9
/**
* EasyUI for jQuery 1.9.4
*
* Copyright (c) 2009-2020 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(
function
(
$
){
function
_1
(
_2
,
_3
){
var
_4
=
$
.
data
(
_2
,
"
calendar
"
).
options
;
var
t
=
$
(
_2
);
if
(
_3
){
$
.
extend
(
_4
,{
width
:
_3
.
width
,
height
:
_3
.
height
});
}
t
.
_size
(
_4
,
t
.
parent
());
t
.
find
(
"
.calendar-body
"
).
_outerHeight
(
t
.
height
()
-
t
.
find
(
"
.calendar-header
"
).
_outerHeight
());
if
(
t
.
find
(
"
.calendar-menu
"
).
is
(
"
:visible
"
)){
_5
(
_2
);
}
};
function
_6
(
_7
){
$
(
_7
).
addClass
(
"
calendar
"
).
html
(
"
<div class=
\"
calendar-header
\"
>
"
+
"
<div class=
\"
calendar-nav calendar-prevmonth
\"
></div>
"
+
"
<div class=
\"
calendar-nav calendar-nextmonth
\"
></div>
"
+
"
<div class=
\"
calendar-nav calendar-prevyear
\"
></div>
"
+
"
<div class=
\"
calendar-nav calendar-nextyear
\"
></div>
"
+
"
<div class=
\"
calendar-title
\"
>
"
+
"
<span class=
\"
calendar-text
\"
></span>
"
+
"
</div>
"
+
"
</div>
"
+
"
<div class=
\"
calendar-body
\"
>
"
+
"
<div class=
\"
calendar-menu
\"
>
"
+
"
<div class=
\"
calendar-menu-year-inner
\"
>
"
+
"
<span class=
\"
calendar-nav calendar-menu-prev
\"
></span>
"
+
"
<span><input class=
\"
calendar-menu-year
\"
type=
\"
text
\"
></input></span>
"
+
"
<span class=
\"
calendar-nav calendar-menu-next
\"
></span>
"
+
"
</div>
"
+
"
<div class=
\"
calendar-menu-month-inner
\"
>
"
+
"
</div>
"
+
"
</div>
"
+
"
</div>
"
);
$
(
_7
).
_bind
(
"
_resize
"
,
function
(
e
,
_8
){
if
(
$
(
this
).
hasClass
(
"
easyui-fluid
"
)
||
_8
){
_1
(
_7
);
}
return
false
;
});
};
function
_9
(
_a
){
var
_b
=
$
.
data
(
_a
,
"
calendar
"
).
options
;
var
_c
=
$
(
_a
).
find
(
"
.calendar-menu
"
);
_c
.
find
(
"
.calendar-menu-year
"
).
_unbind
(
"
.calendar
"
).
_bind
(
"
keypress.calendar
"
,
function
(
e
){
if
(
e
.
keyCode
==
13
){
_d
(
true
);
}
});
$
(
_a
).
_unbind
(
"
.calendar
"
).
_bind
(
"
mouseover.calendar
"
,
function
(
e
){
var
t
=
_e
(
e
.
target
);
if
(
t
.
hasClass
(
"
calendar-nav
"
)
||
t
.
hasClass
(
"
calendar-text
"
)
||
(
t
.
hasClass
(
"
calendar-day
"
)
&&!
t
.
hasClass
(
"
calendar-disabled
"
))){
t
.
addClass
(
"
calendar-nav-hover
"
);
}
}).
_bind
(
"
mouseout.calendar
"
,
function
(
e
){
var
t
=
_e
(
e
.
target
);
if
(
t
.
hasClass
(
"
calendar-nav
"
)
||
t
.
hasClass
(
"
calendar-text
"
)
||
(
t
.
hasClass
(
"
calendar-day
"
)
&&!
t
.
hasClass
(
"
calendar-disabled
"
))){
t
.
removeClass
(
"
calendar-nav-hover
"
);
}
}).
_bind
(
"
click.calendar
"
,
function
(
e
){
var
t
=
_e
(
e
.
target
);
if
(
t
.
hasClass
(
"
calendar-menu-next
"
)
||
t
.
hasClass
(
"
calendar-nextyear
"
)){
_f
(
1
);
}
else
{
if
(
t
.
hasClass
(
"
calendar-menu-prev
"
)
||
t
.
hasClass
(
"
calendar-prevyear
"
)){
_f
(
-
1
);
}
else
{
if
(
t
.
hasClass
(
"
calendar-menu-month
"
)){
_c
.
find
(
"
.calendar-selected
"
).
removeClass
(
"
calendar-selected
"
);
t
.
addClass
(
"
calendar-selected
"
);
_d
(
true
);
}
else
{
if
(
t
.
hasClass
(
"
calendar-prevmonth
"
)){
_10
(
-
1
);
}
else
{
if
(
t
.
hasClass
(
"
calendar-nextmonth
"
)){
_10
(
1
);
}
else
{
if
(
t
.
hasClass
(
"
calendar-text
"
)){
if
(
_c
.
is
(
"
:visible
"
)){
_c
.
hide
();
}
else
{
_5
(
_a
);
}
}
else
{
if
(
t
.
hasClass
(
"
calendar-day
"
)){
if
(
t
.
hasClass
(
"
calendar-disabled
"
)){
return
;
}
var
_11
=
_b
.
current
;
t
.
closest
(
"
div.calendar-body
"
).
find
(
"
.calendar-selected
"
).
removeClass
(
"
calendar-selected
"
);
t
.
addClass
(
"
calendar-selected
"
);
var
_12
=
t
.
attr
(
"
abbr
"
).
split
(
"
,
"
);
var
y
=
parseInt
(
_12
[
0
]);
var
m
=
parseInt
(
_12
[
1
]);
var
d
=
parseInt
(
_12
[
2
]);
_b
.
current
=
new
_b
.
Date
(
y
,
m
-
1
,
d
);
_b
.
onSelect
.
call
(
_a
,
_b
.
current
);
if
(
!
_11
||
_11
.
getTime
()
!=
_b
.
current
.
getTime
()){
_b
.
onChange
.
call
(
_a
,
_b
.
current
,
_11
);
}
if
(
_b
.
year
!=
y
||
_b
.
month
!=
m
){
_b
.
year
=
y
;
_b
.
month
=
m
;
_19
(
_a
);
}
}
}
}
}
}
}
}
});
function
_e
(
t
){
var
day
=
$
(
t
).
closest
(
"
.calendar-day
"
);
if
(
day
.
length
){
return
day
;
}
else
{
return
$
(
t
);
}
};
function
_d
(
_13
){
var
_14
=
$
(
_a
).
find
(
"
.calendar-menu
"
);
var
_15
=
_14
.
find
(
"
.calendar-menu-year
"
).
val
();
var
_16
=
_14
.
find
(
"
.calendar-selected
"
).
attr
(
"
abbr
"
);
if
(
!
isNaN
(
_15
)){
_b
.
year
=
parseInt
(
_15
);
_b
.
month
=
parseInt
(
_16
);
_19
(
_a
);
}
if
(
_13
){
_14
.
hide
();
}
};
function
_f
(
_17
){
_b
.
year
+=
_17
;
_19
(
_a
);
_c
.
find
(
"
.calendar-menu-year
"
).
val
(
_b
.
year
);
};
function
_10
(
_18
){
_b
.
month
+=
_18
;
if
(
_b
.
month
>
12
){
_b
.
year
++
;
_b
.
month
=
1
;
}
else
{
if
(
_b
.
month
<
1
){
_b
.
year
--
;
_b
.
month
=
12
;
}
}
_19
(
_a
);
_c
.
find
(
"
td.calendar-selected
"
).
removeClass
(
"
calendar-selected
"
);
_c
.
find
(
"
td:eq(
"
+
(
_b
.
month
-
1
)
+
"
)
"
).
addClass
(
"
calendar-selected
"
);
};
};
function
_5
(
_1a
){
var
_1b
=
$
.
data
(
_1a
,
"
calendar
"
).
options
;
$
(
_1a
).
find
(
"
.calendar-menu
"
).
show
();
if
(
$
(
_1a
).
find
(
"
.calendar-menu-month-inner
"
).
is
(
"
:empty
"
)){
$
(
_1a
).
find
(
"
.calendar-menu-month-inner
"
).
empty
();
var
t
=
$
(
"
<table class=
\"
calendar-mtable
\"
></table>
"
).
appendTo
(
$
(
_1a
).
find
(
"
.calendar-menu-month-inner
"
));
var
idx
=
0
;
for
(
var
i
=
0
;
i
<
3
;
i
++
){
var
tr
=
$
(
"
<tr></tr>
"
).
appendTo
(
t
);
for
(
var
j
=
0
;
j
<
4
;
j
++
){
$
(
"
<td class=
\"
calendar-nav calendar-menu-month
\"
></td>
"
).
html
(
_1b
.
months
[
idx
++
]).
attr
(
"
abbr
"
,
idx
).
appendTo
(
tr
);
}
}
}
var
_1c
=
$
(
_1a
).
find
(
"
.calendar-body
"
);
var
_1d
=
$
(
_1a
).
find
(
"
.calendar-menu
"
);
var
_1e
=
_1d
.
find
(
"
.calendar-menu-year-inner
"
);
var
_1f
=
_1d
.
find
(
"
.calendar-menu-month-inner
"
);
_1e
.
find
(
"
input
"
).
val
(
_1b
.
year
).
focus
();
_1f
.
find
(
"
td.calendar-selected
"
).
removeClass
(
"
calendar-selected
"
);
_1f
.
find
(
"
td:eq(
"
+
(
_1b
.
month
-
1
)
+
"
)
"
).
addClass
(
"
calendar-selected
"
);
_1d
.
_outerWidth
(
_1c
.
_outerWidth
());
_1d
.
_outerHeight
(
_1c
.
_outerHeight
());
_1f
.
_outerHeight
(
_1d
.
height
()
-
_1e
.
_outerHeight
());
};
function
_20
(
_21
,
_22
,
_23
){
var
_24
=
$
.
data
(
_21
,
"
calendar
"
).
options
;
var
_25
=
[];
var
_26
=
new
_24
.
Date
(
_22
,
_23
,
0
).
getDate
();
for
(
var
i
=
1
;
i
<=
_26
;
i
++
){
_25
.
push
([
_22
,
_23
,
i
]);
}
var
_27
=
[],
_28
=
[];
var
_29
=-
1
;
while
(
_25
.
length
>
0
){
var
_2a
=
_25
.
shift
();
_28
.
push
(
_2a
);
var
day
=
new
_24
.
Date
(
_2a
[
0
],
_2a
[
1
]
-
1
,
_2a
[
2
]).
getDay
();
if
(
_29
==
day
){
day
=
0
;
}
else
{
if
(
day
==
(
_24
.
firstDay
==
0
?
7
:
_24
.
firstDay
)
-
1
){
_27
.
push
(
_28
);
_28
=
[];
}
}
_29
=
day
;
}
if
(
_28
.
length
){
_27
.
push
(
_28
);
}
var
_2b
=
_27
[
0
];
if
(
_2b
.
length
<
7
){
while
(
_2b
.
length
<
7
){
var
_2c
=
_2b
[
0
];
var
_2a
=
new
_24
.
Date
(
_2c
[
0
],
_2c
[
1
]
-
1
,
_2c
[
2
]
-
1
);
_2b
.
unshift
([
_2a
.
getFullYear
(),
_2a
.
getMonth
()
+
1
,
_2a
.
getDate
()]);
}
}
else
{
var
_2c
=
_2b
[
0
];
var
_28
=
[];
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
var
_2a
=
new
_24
.
Date
(
_2c
[
0
],
_2c
[
1
]
-
1
,
_2c
[
2
]
-
i
);
_28
.
unshift
([
_2a
.
getFullYear
(),
_2a
.
getMonth
()
+
1
,
_2a
.
getDate
()]);
}
_27
.
unshift
(
_28
);
}
var
_2d
=
_27
[
_27
.
length
-
1
];
while
(
_2d
.
length
<
7
){
var
_2e
=
_2d
[
_2d
.
length
-
1
];
var
_2a
=
new
_24
.
Date
(
_2e
[
0
],
_2e
[
1
]
-
1
,
_2e
[
2
]
+
1
);
_2d
.
push
([
_2a
.
getFullYear
(),
_2a
.
getMonth
()
+
1
,
_2a
.
getDate
()]);
}
if
(
_27
.
length
<
6
){
var
_2e
=
_2d
[
_2d
.
length
-
1
];
var
_28
=
[];
for
(
var
i
=
1
;
i
<=
7
;
i
++
){
var
_2a
=
new
_24
.
Date
(
_2e
[
0
],
_2e
[
1
]
-
1
,
_2e
[
2
]
+
i
);
_28
.
push
([
_2a
.
getFullYear
(),
_2a
.
getMonth
()
+
1
,
_2a
.
getDate
()]);
}
_27
.
push
(
_28
);
}
return
_27
;
};
function
_19
(
_2f
){
var
_30
=
$
.
data
(
_2f
,
"
calendar
"
).
options
;
if
(
_30
.
current
&&!
_30
.
validator
.
call
(
_2f
,
_30
.
current
)){
_30
.
current
=
null
;
}
var
now
=
new
_30
.
Date
();
var
_31
=
now
.
getFullYear
()
+
"
,
"
+
(
now
.
getMonth
()
+
1
)
+
"
,
"
+
now
.
getDate
();
var
_32
=
_30
.
current
?(
_30
.
current
.
getFullYear
()
+
"
,
"
+
(
_30
.
current
.
getMonth
()
+
1
)
+
"
,
"
+
_30
.
current
.
getDate
()):
""
;
var
_33
=
6
-
_30
.
firstDay
;
var
_34
=
_33
+
1
;
if
(
_33
>=
7
){
_33
-=
7
;
}
if
(
_34
>=
7
){
_34
-=
7
;
}
$
(
_2f
).
find
(
"
.calendar-title span
"
).
html
(
_30
.
months
[
_30
.
month
-
1
]
+
"
"
+
_30
.
year
);
var
_35
=
$
(
_2f
).
find
(
"
div.calendar-body
"
);
_35
.
children
(
"
table
"
).
remove
();
var
_36
=
[
"
<table class=
\"
calendar-dtable
\"
cellspacing=
\"
0
\"
cellpadding=
\"
0
\"
border=
\"
0
\"
>
"
];
_36
.
push
(
"
<thead><tr>
"
);
if
(
_30
.
showWeek
){
_36
.
push
(
"
<th class=
\"
calendar-week
\"
>
"
+
_30
.
weekNumberHeader
+
"
</th>
"
);
}
for
(
var
i
=
_30
.
firstDay
;
i
<
_30
.
weeks
.
length
;
i
++
){
_36
.
push
(
"
<th>
"
+
_30
.
weeks
[
i
]
+
"
</th>
"
);
}
for
(
var
i
=
0
;
i
<
_30
.
firstDay
;
i
++
){
_36
.
push
(
"
<th>
"
+
_30
.
weeks
[
i
]
+
"
</th>
"
);
}
_36
.
push
(
"
</tr></thead>
"
);
_36
.
push
(
"
<tbody>
"
);
var
_37
=
_20
(
_2f
,
_30
.
year
,
_30
.
month
);
for
(
var
i
=
0
;
i
<
_37
.
length
;
i
++
){
var
_38
=
_37
[
i
];
var
cls
=
""
;
if
(
i
==
0
){
cls
=
"
calendar-first
"
;
}
else
{
if
(
i
==
_37
.
length
-
1
){
cls
=
"
calendar-last
"
;
}
}
_36
.
push
(
"
<tr class=
\"
"
+
cls
+
"
\"
>
"
);
if
(
_30
.
showWeek
){
var
_39
=
_30
.
getWeekNumber
(
new
_30
.
Date
(
_38
[
0
][
0
],
parseInt
(
_38
[
0
][
1
])
-
1
,
_38
[
0
][
2
]));
_36
.
push
(
"
<td class=
\"
calendar-week
\"
>
"
+
_39
+
"
</td>
"
);
}
for
(
var
j
=
0
;
j
<
_38
.
length
;
j
++
){
var
day
=
_38
[
j
];
var
s
=
day
[
0
]
+
"
,
"
+
day
[
1
]
+
"
,
"
+
day
[
2
];
var
_3a
=
new
_30
.
Date
(
day
[
0
],
parseInt
(
day
[
1
])
-
1
,
day
[
2
]);
var
d
=
_30
.
formatter
.
call
(
_2f
,
_3a
);
var
css
=
_30
.
styler
.
call
(
_2f
,
_3a
);
var
_3b
=
""
;
var
_3c
=
""
;
if
(
typeof
css
==
"
string
"
){
_3c
=
css
;
}
else
{
if
(
css
){
_3b
=
css
[
"
class
"
]
||
""
;
_3c
=
css
[
"
style
"
]
||
""
;
}
}
var
cls
=
"
calendar-day
"
;
if
(
!
(
_30
.
year
==
day
[
0
]
&&
_30
.
month
==
day
[
1
])){
cls
+=
"
calendar-other-month
"
;
}
if
(
s
==
_31
){
cls
+=
"
calendar-today
"
;
}
if
(
s
==
_32
){
cls
+=
"
calendar-selected
"
;
}
if
(
j
==
_33
){
cls
+=
"
calendar-saturday
"
;
}
else
{
if
(
j
==
_34
){
cls
+=
"
calendar-sunday
"
;
}
}
if
(
j
==
0
){
cls
+=
"
calendar-first
"
;
}
else
{
if
(
j
==
_38
.
length
-
1
){
cls
+=
"
calendar-last
"
;
}
}
cls
+=
"
"
+
_3b
;
if
(
!
_30
.
validator
.
call
(
_2f
,
_3a
)){
cls
+=
"
calendar-disabled
"
;
}
_36
.
push
(
"
<td class=
\"
"
+
cls
+
"
\"
abbr=
\"
"
+
s
+
"
\"
style=
\"
"
+
_3c
+
"
\"
>
"
+
d
+
"
</td>
"
);
}
_36
.
push
(
"
</tr>
"
);
}
_36
.
push
(
"
</tbody>
"
);
_36
.
push
(
"
</table>
"
);
_35
.
append
(
_36
.
join
(
""
));
_35
.
children
(
"
table.calendar-dtable
"
).
prependTo
(
_35
);
_30
.
onNavigate
.
call
(
_2f
,
_30
.
year
,
_30
.
month
);
};
$
.
fn
.
calendar
=
function
(
_3d
,
_3e
){
if
(
typeof
_3d
==
"
string
"
){
return
$
.
fn
.
calendar
.
methods
[
_3d
](
this
,
_3e
);
}
_3d
=
_3d
||
{};
return
this
.
each
(
function
(){
var
_3f
=
$
.
data
(
this
,
"
calendar
"
);
if
(
_3f
){
$
.
extend
(
_3f
.
options
,
_3d
);
}
else
{
_3f
=
$
.
data
(
this
,
"
calendar
"
,{
options
:
$
.
extend
({},
$
.
fn
.
calendar
.
defaults
,
$
.
fn
.
calendar
.
parseOptions
(
this
),
_3d
)});
_6
(
this
);
}
if
(
_3f
.
options
.
border
==
false
){
$
(
this
).
addClass
(
"
calendar-noborder
"
);
}
_1
(
this
);
_9
(
this
);
_19
(
this
);
$
(
this
).
find
(
"
div.calendar-menu
"
).
hide
();
});
};
$
.
fn
.
calendar
.
methods
=
{
options
:
function
(
jq
){
return
$
.
data
(
jq
[
0
],
"
calendar
"
).
options
;
},
resize
:
function
(
jq
,
_40
){
return
jq
.
each
(
function
(){
_1
(
this
,
_40
);
});
},
moveTo
:
function
(
jq
,
_41
){
return
jq
.
each
(
function
(){
var
_42
=
$
(
this
).
calendar
(
"
options
"
);
if
(
!
_41
){
var
now
=
new
_42
.
Date
();
$
(
this
).
calendar
({
year
:
now
.
getFullYear
(),
month
:
now
.
getMonth
()
+
1
,
current
:
_41
});
return
;
}
if
(
_42
.
validator
.
call
(
this
,
_41
)){
var
_43
=
_42
.
current
;
$
(
this
).
calendar
({
year
:
_41
.
getFullYear
(),
month
:
_41
.
getMonth
()
+
1
,
current
:
_41
});
if
(
!
_43
||
_43
.
getTime
()
!=
_41
.
getTime
()){
_42
.
onChange
.
call
(
this
,
_42
.
current
,
_43
);
}
}
});
}};
$
.
fn
.
calendar
.
parseOptions
=
function
(
_44
){
var
t
=
$
(
_44
);
return
$
.
extend
({},
$
.
parser
.
parseOptions
(
_44
,[
"
weekNumberHeader
"
,{
firstDay
:
"
number
"
,
fit
:
"
boolean
"
,
border
:
"
boolean
"
,
showWeek
:
"
boolean
"
}]));
};
$
.
fn
.
calendar
.
defaults
=
{
Date
:
Date
,
width
:
180
,
height
:
180
,
fit
:
false
,
border
:
true
,
showWeek
:
false
,
firstDay
:
0
,
weeks
:[
"
S
"
,
"
M
"
,
"
T
"
,
"
W
"
,
"
T
"
,
"
F
"
,
"
S
"
],
months
:[
"
Jan
"
,
"
Feb
"
,
"
Mar
"
,
"
Apr
"
,
"
May
"
,
"
Jun
"
,
"
Jul
"
,
"
Aug
"
,
"
Sep
"
,
"
Oct
"
,
"
Nov
"
,
"
Dec
"
],
year
:
new
Date
().
getFullYear
(),
month
:
new
Date
().
getMonth
()
+
1
,
current
:(
function
(){
var
d
=
new
Date
();
return
new
Date
(
d
.
getFullYear
(),
d
.
getMonth
(),
d
.
getDate
());
})(),
weekNumberHeader
:
""
,
getWeekNumber
:
function
(
_45
){
var
_46
=
new
Date
(
_45
.
getTime
());
_46
.
setDate
(
_46
.
getDate
()
+
4
-
(
_46
.
getDay
()
||
7
));
var
_47
=
_46
.
getTime
();
_46
.
setMonth
(
0
);
_46
.
setDate
(
1
);
return
Math
.
floor
(
Math
.
round
((
_47
-
_46
)
/
86400000
)
/
7
)
+
1
;
},
formatter
:
function
(
_48
){
return
_48
.
getDate
();
},
styler
:
function
(
_49
){
return
""
;
},
validator
:
function
(
_4a
){
return
true
;
},
onSelect
:
function
(
_4b
){
},
onChange
:
function
(
_4c
,
_4d
){
},
onNavigate
:
function
(
_4e
,
_4f
){
}};
})(
jQuery
);
erp_web/js/easyui/plugins/jquery.checkbox.js
deleted
100644 → 0
View file @
df57ada9
/**
* EasyUI for jQuery 1.9.4
*
* Copyright (c) 2009-2020 www.jeasyui.com. All rights reserved.
*
* Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
* To use it on other terms please contact us: info@jeasyui.com
*
*/
(
function
(
$
){
var
_1
=
1
;
function
_2
(
_3
){
var
_4
=
$
(
"
<span class=
\"
checkbox inputbox
\"
>
"
+
"
<span class=
\"
checkbox-inner
\"
>
"
+
"
<svg xml:space=
\"
preserve
\"
focusable=
\"
false
\"
version=
\"
1.1
\"
viewBox=
\"
0 0 24 24
\"
><path d=
\"
M4.1,12.7 9,17.6 20.3,6.3
\"
fill=
\"
none
\"
stroke=
\"
white
\"
></path></svg>
"
+
"
</span>
"
+
"
<input type=
\"
checkbox
\"
class=
\"
checkbox-value
\"
>
"
+
"
</span>
"
).
insertAfter
(
_3
);
var
t
=
$
(
_3
);
t
.
addClass
(
"
checkbox-f
"
).
hide
();
var
_5
=
t
.
attr
(
"
name
"
);
if
(
_5
){
t
.
removeAttr
(
"
name
"
).
attr
(
"
checkboxName
"
,
_5
);
_4
.
find
(
"
.checkbox-value
"
).
attr
(
"
name
"
,
_5
);
}
return
_4
;
};
function
_6
(
_7
){
var
_8
=
$
.
data
(
_7
,
"
checkbox
"
);
var
_9
=
_8
.
options
;
var
_a
=
_8
.
checkbox
;
var
_b
=
"
_easyui_checkbox_
"
+
(
++
_1
);
var
_c
=
_a
.
find
(
"
.checkbox-value
"
).
attr
(
"
id
"
,
_b
);
_c
.
_unbind
(
"
.checkbox
"
).
_bind
(
"
change.checkbox
"
,
function
(
e
){
return
false
;
});
if
(
_9
.
label
){
if
(
typeof
_9
.
label
==
"
object
"
){
_8
.
label
=
$
(
_9
.
label
);
_8
.
label
.
attr
(
"
for
"
,
_b
);
}
else
{
$
(
_8
.
label
).
remove
();
_8
.
label
=
$
(
"
<label class=
\"
textbox-label
\"
></label>
"
).
html
(
_9
.
label
);
_8
.
label
.
css
(
"
textAlign
"
,
_9
.
labelAlign
).
attr
(
"
for
"
,
_b
);
if
(
_9
.
labelPosition
==
"
after
"
){
_8
.
label
.
insertAfter
(
_a
);
}
else
{
_8
.
label
.
insertBefore
(
_7
);
}
_8
.
label
.
removeClass
(
"
textbox-label-left textbox-label-right textbox-label-top
"
);
_8
.
label
.
addClass
(
"
textbox-label-
"
+
_9
.
labelPosition
);
}
}
else
{
$
(
_8
.
label
).
remove
();
}
$
(
_7
).
checkbox
(
"
setValue
"
,
_9
.
value
);
_d
(
_7
,
_9
.
checked
);
_e
(
_7
,
_9
.
readonly
);
_f
(
_7
,
_9
.
disabled
);
};
function
_10
(
_11
){
var
_12
=
$
.
data
(
_11
,
"
checkbox
"
);
var
_13
=
_12
.
options
;
var
_14
=
_12
.
checkbox
;
_14
.
_unbind
(
"
.checkbox
"
).
_bind
(
"
click.checkbox
"
,
function
(){
if
(
!
_13
.
disabled
&&!
_13
.
readonly
){
_d
(
_11
,
!
_13
.
checked
);
}
});
};
function
_15
(
_16
){
var
_17
=
$
.
data
(
_16
,
"
checkbox
"
);
var
_18
=
_17
.
options
;
var
_19
=
_17
.
checkbox
;
_19
.
_size
(
_18
,
_19
.
parent
());
if
(
_18
.
label
&&
_18
.
labelPosition
){
if
(
_18
.
labelPosition
==
"
top
"
){
_17
.
label
.
_size
({
width
:
_18
.
labelWidth
},
_19
);
}
else
{
_17
.
label
.
_size
({
width
:
_18
.
labelWidth
,
height
:
_19
.
outerHeight
()},
_19
);
_17
.
label
.
css
(
"
lineHeight
"
,
_19
.
outerHeight
()
+
"
px
"
);
}
}
};
function
_d
(
_1a
,
_1b
){
var
_1c
=
$
.
data
(
_1a
,
"
checkbox
"
);
var
_1d
=
_1c
.
options
;
var
_1e
=
_1c
.
checkbox
;
_1e
.
find
(
"
.checkbox-value
"
).
_propAttr
(
"
checked
"
,
_1b
);
var
_1f
=
_1e
.
find
(
"
.checkbox-inner
"
).
css
(
"
display
"
,
_1b
?
""
:
"
none
"
);
if
(
_1b
){
_1e
.
addClass
(
"
checkbox-checked
"
);
$
(
_1c
.
label
).
addClass
(
"
textbox-label-checked
"
);
}
else
{
_1e
.
removeClass
(
"
checkbox-checked
"
);
$
(
_1c
.
label
).
removeClass
(
"
textbox-label-checked
"
);
}
if
(
_1d
.
checked
!=
_1b
){
_1d
.
checked
=
_1b
;
_1d
.
onChange
.
call
(
_1a
,
_1b
);
$
(
_1a
).
closest
(
"
form
"
).
trigger
(
"
_change
"
,[
_1a
]);
}
};
function
_e
(
_20
,
_21
){
var
_22
=
$
.
data
(
_20
,
"
checkbox
"
);
var
_23
=
_22
.
options
;
_23
.
readonly
=
_21
==
undefined
?
true
:
_21
;
if
(
_23
.
readonly
){
_22
.
checkbox
.
addClass
(
"
checkbox-readonly
"
);
$
(
_22
.
label
).
addClass
(
"
textbox-label-readonly
"
);
}
else
{
_22
.
checkbox
.
removeClass
(
"
checkbox-readonly
"
);
$
(
_22
.
label
).
removeClass
(
"
textbox-label-readonly
"
);
}
};
function
_f
(
_24
,
_25
){
var
_26
=
$
.
data
(
_24
,
"
checkbox
"
);
var
_27
=
_26
.
options
;
var
_28
=
_26
.
checkbox
;
var
rv
=
_28
.
find
(
"
.checkbox-value
"
);
_27
.
disabled
=
_25
;
if
(
_25
){
$
(
_24
).
add
(
rv
).
_propAttr
(
"
disabled
"
,
true
);
_28
.
addClass
(
"
checkbox-disabled
"
);
$
(
_26
.
label
).
addClass
(
"
textbox-label-disabled
"
);
}
else
{
$
(
_24
).
add
(
rv
).
_propAttr
(
"
disabled
"
,
false
);
_28
.
removeClass
(
"
checkbox-disabled
"
);
$
(
_26
.
label
).
removeClass
(
"
textbox-label-disabled
"
);
}
};
$
.
fn
.
checkbox
=
function
(
_29
,
_2a
){
if
(
typeof
_29
==
"
string
"
){
return
$
.
fn
.
checkbox
.
methods
[
_29
](
this
,
_2a
);
}
_29
=
_29
||
{};
return
this
.
each
(
function
(){
var
_2b
=
$
.
data
(
this
,
"
checkbox
"
);
if
(
_2b
){
$
.
extend
(
_2b
.
options
,
_29
);
}
else
{
_2b
=
$
.
data
(
this
,
"
checkbox
"
,{
options
:
$
.
extend
({},
$
.
fn
.
checkbox
.
defaults
,
$
.
fn
.
checkbox
.
parseOptions
(
this
),
_29
),
checkbox
:
_2
(
this
)});
}
_2b
.
options
.
originalChecked
=
_2b
.
options
.
checked
;
_6
(
this
);
_10
(
this
);
_15
(
this
);
});
};
$
.
fn
.
checkbox
.
methods
=
{
options
:
function
(
jq
){
var
_2c
=
jq
.
data
(
"
checkbox
"
);
return
$
.
extend
(
_2c
.
options
,{
value
:
_2c
.
checkbox
.
find
(
"
.checkbox-value
"
).
val
()});
},
setValue
:
function
(
jq
,
_2d
){
return
jq
.
each
(
function
(){
$
(
this
).
val
(
_2d
);
$
.
data
(
this
,
"
checkbox
"
).
checkbox
.
find
(
"
.checkbox-value
"
).
val
(
_2d
);
});
},
enable
:
function
(
jq
){
return
jq
.
each
(
function
(){
_f
(
this
,
false
);
});
},
disable
:
function
(
jq
){
return
jq
.
each
(
function
(){
_f
(
this
,
true
);
});
},
readonly
:
function
(
jq
,
_2e
){
return
jq
.
each
(
function
(){
_e
(
this
,
_2e
);
});
},
check
:
function
(
jq
){
return
jq
.
each
(
function
(){
_d
(
this
,
true
);
});
},
uncheck
:
function
(
jq
){
return
jq
.
each
(
function
(){
_d
(
this
,
false
);
});
},
clear
:
function
(
jq
){
return
jq
.
each
(
function
(){
_d
(
this
,
false
);
});
},
reset
:
function
(
jq
){
return
jq
.
each
(
function
(){
var
_2f
=
$
(
this
).
checkbox
(
"
options
"
);
_d
(
this
,
_2f
.
originalChecked
);
});
}};
$
.
fn
.
checkbox
.
parseOptions
=
function
(
_30
){
var
t
=
$
(
_30
);
return
$
.
extend
({},
$
.
parser
.
parseOptions
(
_30
,[
"
label
"
,
"
labelPosition
"
,
"
labelAlign
"
,{
labelWidth
:
"
number
"
}]),{
value
:(
t
.
val
()
||
undefined
),
checked
:(
t
.
attr
(
"
checked
"
)?
true
:
undefined
),
disabled
:(
t
.
attr
(
"
disabled
"
)?
true
:
undefined
),
readonly
:(
t
.
attr
(
"
readonly
"
)?
true
:
undefined
)});
};
$
.
fn
.
checkbox
.
defaults
=
{
width
:
20
,
height
:
20
,
value
:
null
,
disabled
:
false
,
readonly
:
false
,
checked
:
false
,
label
:
null
,
labelWidth
:
"
auto
"
,
labelPosition
:
"
before
"
,
labelAlign
:
"
left
"
,
onChange
:
function
(
_31
){
}};
})(
jQuery
);
Prev
1
…
27
28
29
30
31
32
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