function checkCustomize(){
var Avalue = ~~jQuery("#field16131").val(),
minValue = Avalue * 0.9,
maxValue = Avalue + Avalue*0.1,
Bvalu = ~~jQuery("#field16132").val();
if(Bvalu <= maxValue && Bvalu >= minValue)
{
//正常执行代码
return true;
}
else
{
if(confirm("错误提示"))
{
return true;
}else
{
return false;
jQuery("#field16132").css("background-color","#f00");//修改颜色
}
}
}
Please leave a message in the comment area and discuss together~~~
If necessary, please contact WeChat: hdygzh2019 At the same time, please explain your intention and make progress together! ! !