代码拉取完成,页面将自动刷新
同步操作将从 WEB SCADA/WEB SCADA 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<html>
<head>
<title>ECAVA IntegraXor - Quantity Bay</title>
</head>
<SCRIPT type="text/javascript" SRC="system/scripts/_gen.js"></SCRIPT>
<SCRIPT type="text/javascript" SRC="system/scripts/_ig.js"></SCRIPT>
<!-- <SCRIPT type="text/javascript" SRC="system/scripts/igrX.js"></SCRIPT> -->
<script type="text/javascript">
var tag = ['kk_bay']; //['A11','A12','A13','A14','A15'];
var pool= new tagPool();
//var aArgs = new Array(5);
function getfocus(){
try {
var bay = document.getElementById('bay');
if (bay) bay.focus();
if (bay) bay.select();
}catch(e){}
}
function onInit() {
pool.get('kk_UM');
}
function onOk() {
var total_raw = pool.get('kk_UM');
var value = document.getElementById('bay').value;
if (value <= total_raw && value >= 0) {
var answer = confirm("You are selected " + value + " raw material(s) to process. Proceed? ");
if (answer) {
for(var i in tag) {
pool.set(tag[i],document.getElementById(tag[i]).value);
}
parent.document.body.removeChild( parent.document.getElementById('layer_pop'));
}
}
else if (total_raw == 0) {
alert("There are " + total_raw + " raw material in the storage, please run a Store Raw Material first. \nThank you!");
}
else{
alert("Only " + total_raw + " raw material(s) can be process, please key in a valid number. \nThank you!");
}
}
function onCancel() {
top.document.getElementById('bay.html').style.display = 'none';
}
function getXmlHttp() {
var xmlreq = null;
if (window.XMLHttpRequest) {
xmlreq = new XMLHttpRequest();
} else if (window.ActiveXObject) {
var types = [
"Microsoft.XMLHTTP",
"MSXML2.XMLHTTP.5.0",
"MSXML2.XMLHTTP.4.0",
"MSXML2.XMLHTTP.3.0",
"MSXML2.XMLHTTP"
];
for (var i = 0; i < types.length; i++) {
try {
xmlreq = new ActiveXObject(types[i]);
break;
} catch(e) {}
}
}
return xmlreq;
}
function getXmlResponse(cmd) {
var xmlreq = getXmlHttp();
if (null == xmlreq) {
return null;
}
xmlreq.open("GET", cmd, false);
xmlreq.send("");
return xmlreq;
}
</script>
<body onload="getfocus(); onInit()" style="margin:5" bgcolor="#e2e3db">
<table class="" align="center" border="0" bordercolorlight="black" bordercolordark="white" width="350">
<tr>
<th>Quantity material to produce :</th>
<th align='center'><input class='editbox' id='bay' type='text' size=5 value=0 style="text-align:center"></th> <!-- <th>Unit</th> -->
</tr>
</table>
<p align="center">
<button type="button" id="bttn_ok" onclick="onOk()"> Set </button
</p>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。