點晴模切ERP-樣品bom動態(tài)計算料頭的寬度
![]() ![]() 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,聯(lián)系電話:4001861886 該文章在 2025/6/4 11:30:42 編輯過 |
關鍵字查詢
相關文章
正在查詢... |