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
80753381
Commit
80753381
authored
Jan 07, 2021
by
季圣华
Browse files
给计量单位做个校验
parent
ab680f9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/manage/unit.html
View file @
80753381
...
...
@@ -356,7 +356,10 @@
var
otherName
=
$
.
trim
(
$
(
"
#otherName
"
).
val
());
var
otherNum
=
$
.
trim
(
$
(
"
#otherNum
"
).
val
());
var
name
=
basicName
+
"
,
"
+
otherName
+
"
(1:
"
+
otherNum
+
"
)
"
;
if
(
otherNum
<=
1
){
$
.
messager
.
alert
(
'
提示
'
,
'
计量单位比例必须大于1
'
,
'
warning
'
);
return
;
}
$
.
ajax
({
url
:
url
,
type
:
"
post
"
,
...
...
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