change - 当前库存接口

master
wenjy 2 years ago
parent b44efe13d1
commit bc64ed3f3e

@ -35,6 +35,7 @@ $(() => {
const temperature = (res, ids) => {
let mycharts = echarts.init(ids);
console.log(res);
let option = {
@ -52,9 +53,13 @@ $(() => {
{
interval: 0,
type: 'category',
data: ['066', '066', '066', '066', '066'],
data: res.xValueList,
axisPointer: {
type: 'shadow'
},
axisLabel:{
// rotate:10,
interval:0
}
}
],
@ -82,9 +87,7 @@ $(() => {
return value + ' ml';
}
},
data: [
2.0, 4.9, 7.0, 23.2, 25.6
]
data: res.interiorList
},
{
name: 'Precipitation',
@ -94,9 +97,7 @@ $(() => {
return value + ' ml';
}
},
data: [
2.6, 5.9, 9.0, 26.4, 28.7
]
data: res.lateralList
},
]
};

@ -29,7 +29,9 @@ $(()=>{
});
//当前库存统计
multipleThreeDimensionalCylindrical(null,document.getElementById("theCurrentInventory"));
$.getJSON(`/storage/getStoreStatistics?ids=${ids}`, function (result) {
multipleThreeDimensionalCylindrical(result, document.getElementById("theCurrentInventory"));
});
//库存统计
$("#emptyLocation-left").text(123);

@ -38,5 +38,9 @@
</body>
<script src="../../../js/storage/index.js"></script>
<script>
const ids = [[${positionId}]];
</script>
</html>
Loading…
Cancel
Save