|
|
|
|
@ -11,7 +11,7 @@ $(() => {
|
|
|
|
|
// 订单详情
|
|
|
|
|
const orderDetailsTable = new AutoScrollTable(document.getElementById("orderDetails"), ["编号", "计划数量", "完成数量", "差异值", "时间",], {width: ['30%', null, null, null, '17%']})
|
|
|
|
|
|
|
|
|
|
// 产线当日订单信息
|
|
|
|
|
// 成品入库统计
|
|
|
|
|
const PropertyInsuranceOneDayOrderInfoTable = new AutoScrollTable(document.getElementById("PropertyInsuranceOneDayOrderInfo"), [
|
|
|
|
|
"物料条码", "检测项", "质量缺陷", "标志", "时间",
|
|
|
|
|
], {width: ['30%', null, null, null, '17%']})
|
|
|
|
|
@ -19,7 +19,7 @@ $(() => {
|
|
|
|
|
// 当日订单数量达成率
|
|
|
|
|
horizontalRoundedBarChartWithBackground(null, document.getElementById("orderQuantityFulfillmentRateOfTheDay"));
|
|
|
|
|
|
|
|
|
|
// 成品入库统计
|
|
|
|
|
// 质量统计
|
|
|
|
|
barChartAndLineChart(null, document.getElementById("FinishedGoodsWarehousingStatisticsByHour"));
|
|
|
|
|
|
|
|
|
|
// 产线不良类型分布
|
|
|
|
|
@ -34,7 +34,7 @@ $(() => {
|
|
|
|
|
xDataName: "达成率",
|
|
|
|
|
}, document.getElementById("orderQuantityFulfillmentRateOfTheDay"))
|
|
|
|
|
})
|
|
|
|
|
//成品入库统计轮询
|
|
|
|
|
//质量统计轮询
|
|
|
|
|
autoUpdate(url + "/selectProductInStore ", INTERVAL, data => {
|
|
|
|
|
barChartAndLineChart({
|
|
|
|
|
xName: data.map(value => value.name),
|
|
|
|
|
@ -42,8 +42,8 @@ $(() => {
|
|
|
|
|
yDataTwoName: "成品数量",
|
|
|
|
|
}, document.getElementById("FinishedGoodsWarehousingStatisticsByHour"));
|
|
|
|
|
})
|
|
|
|
|
//产线当日订单信息轮询
|
|
|
|
|
autoUpdate(url + "/selectOrderInfo ", INTERVAL, data => {
|
|
|
|
|
//成品入库统计轮询
|
|
|
|
|
autoUpdate(url + "/selectQualityInfo ", INTERVAL, data => {
|
|
|
|
|
PropertyInsuranceOneDayOrderInfoTable.loadData(data.map(value => [value.code, value.item, value.qa, value.state, value.day]), Object.keys(planWorkOrderColumns))
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|