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