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
c2cd2520
Commit
c2cd2520
authored
Nov 06, 2017
by
季圣华
Browse files
选择多账户时的找零金额不能大于0
parent
790fae84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/js/pages/materials/in_out.js
View file @
c2cd2520
...
@@ -1927,6 +1927,10 @@
...
@@ -1927,6 +1927,10 @@
$
.
messager
.
alert
(
'
提示
'
,
'
请选择付款账户!
'
,
'
warning
'
);
$
.
messager
.
alert
(
'
提示
'
,
'
请选择付款账户!
'
,
'
warning
'
);
return
;
return
;
}
}
if
(
$
(
"
#AccountId
"
).
val
()
==
"
many
"
&&
$
(
"
#backAmount
"
).
val
()
-
0
>
0
)
{
$
.
messager
.
alert
(
'
提示
'
,
'
选择多账户时的找零金额不能大于0!
'
,
'
warning
'
);
return
;
}
}
}
else
if
(
listTitle
===
"
销售退货列表
"
){
else
if
(
listTitle
===
"
销售退货列表
"
){
if
(
!
$
(
'
#OrganId
'
).
combobox
(
'
getValue
'
)){
if
(
!
$
(
'
#OrganId
'
).
combobox
(
'
getValue
'
)){
...
@@ -1953,6 +1957,10 @@
...
@@ -1953,6 +1957,10 @@
$
.
messager
.
alert
(
'
提示
'
,
'
找零金额不能小于0!
'
,
'
warning
'
);
$
.
messager
.
alert
(
'
提示
'
,
'
找零金额不能小于0!
'
,
'
warning
'
);
return
;
return
;
}
}
if
(
$
(
"
#AccountId
"
).
val
()
==
"
many
"
&&
$
(
"
#backAmount
"
).
val
()
-
0
>
0
)
{
$
.
messager
.
alert
(
'
提示
'
,
'
选择多账户时的找零金额不能大于0!
'
,
'
warning
'
);
return
;
}
}
}
else
if
(
listTitle
===
"
销售出库列表
"
){
else
if
(
listTitle
===
"
销售出库列表
"
){
if
(
!
$
(
'
#OrganId
'
).
combobox
(
'
getValue
'
)){
if
(
!
$
(
'
#OrganId
'
).
combobox
(
'
getValue
'
)){
...
...
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