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
8b1dc817
Commit
8b1dc817
authored
Jun 29, 2017
by
季圣华
Browse files
增加其他单据的非空提示框
parent
7e4cb15e
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/pages/manage/functions.jsp
View file @
8b1dc817
...
...
@@ -375,6 +375,10 @@
return
;
else
{
if
(
!
$
(
"
#Type
"
).
val
()){
$
.
messager
.
alert
(
'
提示
'
,
'
请选择类型!
'
,
'
warning
'
);
return
;
}
$
.
ajax
({
type
:
"
post
"
,
url
:
url
,
...
...
src/main/webapp/pages/manage/inOutItem.jsp
View file @
8b1dc817
...
...
@@ -363,7 +363,10 @@
{
if
(
checkInOutItemName
())
return
;
if
(
!
$
(
"
#type
"
).
val
()){
$
.
messager
.
alert
(
'
提示
'
,
'
请选择类型!
'
,
'
warning
'
);
return
;
}
$
(
'
#inOutItemFM
'
).
form
(
'
submit
'
,{
url
:
url
,
onSubmit
:
function
()
...
...
src/main/webapp/pages/manage/vendor.jsp
View file @
8b1dc817
...
...
@@ -417,7 +417,11 @@
{
if
(
checkSupplierName
())
return
;
if
(
!
$
(
"
#type
"
).
val
()){
$
.
messager
.
alert
(
'
提示
'
,
'
请选择类型!
'
,
'
warning
'
);
return
;
}
var
reg
=
/^
([
0-9
])
+$/
;
var
phonenum
=
$
.
trim
(
$
(
"
#phonenum
"
).
val
());
if
(
phonenum
.
length
>
0
&&
!
reg
.
test
(
phonenum
))
...
...
src/main/webapp/pages/materials/person.jsp
View file @
8b1dc817
...
...
@@ -390,6 +390,10 @@
return
;
else
{
if
(
!
$
(
"
#Type
"
).
val
()){
$
.
messager
.
alert
(
'
提示
'
,
'
请选择类型!
'
,
'
warning
'
);
return
;
}
$
.
ajax
({
type
:
"
post
"
,
url
:
url
,
...
...
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