给计量单位做个校验
This commit is contained in:
parent
ab680f9ff9
commit
80753381bd
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user