| 点晴模切ERP-通过js校验替用范围是否合理
					当前位置:点晴教程→点晴ERP企业管理信息系统
					
					→『 经验分享&操作答疑 』
					
				 
  :点晴ERP-通过js校验替用范围是否合理  将以下代码添加到提交前的JS var num=document.getElementById('num').value; for (var i=1;i<=num;i++){ if(document.getElementById('sub_product_code'+i).value!=null && document.getElementById('sub_product_code'+i).value!=""){ var replace_width_start_i= document.getElementById('replace_width_start'+i).value; var replace_width_end_i= document.getElementById('replace_width_end'+i).value; if(replace_width_start_i>replace_width_end_i){ alert(replace_width_start_i); alert(replace_width_end_i); alert("第"+i+"行的替用范围不正确"); return false; break; } } } 如下图:  点晴模切ERP更多信息:http://moqie.clicksun.cn,联系电话:4001861886 该文章在 2023/12/2 10:15:43 编辑过 | 关键字查询 相关文章 正在查询... |