| 点晴模切ERP-样品bom动态计算料头的宽度
					当前位置:点晴教程→点晴ERP企业管理信息系统
					
					→『 经验分享&操作答疑 』
					
				 
  :点晴ERP-样品bom动态计算料头的宽度  setInterval(get_after_standard_width, 2000); function get_after_standard_width(){ var weight_num=document.getElementById("num").value; for(let no_w=1;no_w<=weight_num;no_w++){ try{ let afterstr=0; let str = document.getElementById('sub_product_spec'+no_w).value; let standard_width=document.getElementById('standard_width'+no_w).value let index = str.indexOf('*'); if (index !== -1) { str = str.slice(0, index); str = str.replace("mm",""); if(str!=''&&str!=null&&standard_width!=0&&standard_width-0<=(str-0)){ afterstr=(str-0)%(standard_width-0); document.getElementById('remark'+no_w).value=afterstr; } //alert("料头宽度为:"+afterstr) 
 
 } } catch(e){ 
 } 
 } } 点晴模切ERP更多信息:http://moqie.clicksun.cn,联系电话:4001861886 该文章在 2025/6/4 11:30:42 编辑过 | 关键字查询 相关文章 正在查询... |