修改铝内胆成型线

master
夜笙歌 2 years ago
parent 3db0c8d06a
commit 3af8c99e61

@ -1,4 +1,3 @@
$(() => { $(() => {
let fun2 = () => { let fun2 = () => {
//生产计划 //生产计划
@ -34,13 +33,15 @@ $(() => {
let fun = () => { let fun = () => {
//当前库存统计 //当前库存统计
$.getJSON(`/storage/getStoreStatistics?ids=${ids}`, function (result) { // $.getJSON(`/storage/getStoreStatistics?ids=${ids}`, function (result) {
multipleThreeDimensionalCylindrical(result, document.getElementById("theCurrentInventory"), 2); // multipleThreeDimensionalCylindrical(result, document.getElementById("theCurrentInventory"), 2);
}); // });
//库位参数 //库位参数
$.getJSON(`/storage/getParamJson?ids=${ids}`, function (result) { $.getJSON(`/storage/getParamJson?ids=${ids}`, function (result) {
//单日出入库统计 //单日出入库统计
storageStatistics(result[0] == null ? 0 : result[0], result[1] == null ? 0 : result[1], result[2] == null ? 0 : result[2], result[3] == null ? 0 : result[3]); storageStatistics(result[0] == null ? 0 : result[0], result[1] == null ? 0 : result[1], result[2] == null ? 0 : result[2], result[3] == null ? 0 : result[3]);
})
//当前库存统计 //当前库存统计
$.getJSON('/tankShell/getMaterialStoreJson', function (result) { $.getJSON('/tankShell/getMaterialStoreJson', function (result) {
multipleThreeDimensionalCylindrical(result, document.getElementById("theCurrentInventory")); multipleThreeDimensionalCylindrical(result, document.getElementById("theCurrentInventory"));
@ -86,7 +87,6 @@ $(() => {
return total <= 0 ? "0%" : (Math.round(num / total * 10000) / 100.00) + "%"; return total <= 0 ? "0%" : (Math.round(num / total * 10000) / 100.00) + "%";
} }
}); });
})
setTimeout(fun, 10000) setTimeout(fun, 10000)
} }
fun() fun()

@ -18,7 +18,7 @@ $(() => {
//库存统计 //库存统计
$.getJSON('/tankShell/getMaterialStoreJson', function (result) { $.getJSON('/tankShell/getMaterialStoreJson', function (result) {
multipleThreeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"),2); multipleThreeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"),);
}); });
setTimeout(fun, 10000) setTimeout(fun, 10000)
} }

Loading…
Cancel
Save