|
|
|
|
@ -174,8 +174,8 @@
|
|
|
|
|
width: 15%;
|
|
|
|
|
height: 5.6%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 10.5%;
|
|
|
|
|
left: 9.6%;
|
|
|
|
|
top: 10.2%;
|
|
|
|
|
left: 10.4%;
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
font-size: 12%;
|
|
|
|
|
}
|
|
|
|
|
@ -314,10 +314,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--<div id="info-1">朱峰</div>-->
|
|
|
|
|
<div class="display-blocks" id="info-2">
|
|
|
|
|
<span style="margin-right: 9%;">箱</span>
|
|
|
|
|
<span style="margin-right: 9%;">壳</span>
|
|
|
|
|
<span style="margin-right: 9%;">成</span>
|
|
|
|
|
<div class="info-2" id="info-2">
|
|
|
|
|
<span style="margin-right: 13%;">箱</span>
|
|
|
|
|
<span style="margin-right: 13%;">壳</span>
|
|
|
|
|
<span style="margin-right: 13%;">成</span>
|
|
|
|
|
<span style="margin-right: 9%;">型</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<div id="info-3"></div>-->
|
|
|
|
|
@ -355,7 +355,7 @@
|
|
|
|
|
const planWorkOrderColumns = [
|
|
|
|
|
"序号", "型号","计划数量", "完成数量", "完成率", "时间",
|
|
|
|
|
]
|
|
|
|
|
const planWorkOrderTable = new AutoScrollTable(document.getElementById("plan-work-order"), planWorkOrderColumns, {width: ['10%','30%', null, null, null, '17%']})
|
|
|
|
|
const planWorkOrderTable = new AutoScrollTable(document.getElementById("plan-work-order"), planWorkOrderColumns, {width: ['10%','30%', '13%', '13%', '13%', '20%']})
|
|
|
|
|
// const planTable = new AutoScrollTable(document.getElementById("plan-table"), [], {
|
|
|
|
|
// width: ['15%', '5%', null, null, null, null, null, null, null, null, null, null, null, null, null, null, "5%", "5%", "5%"],
|
|
|
|
|
// caption: "生产计划统计",
|
|
|
|
|
@ -390,7 +390,7 @@
|
|
|
|
|
let url = '/broad/box'
|
|
|
|
|
//生产计划工单
|
|
|
|
|
autoUpdate(url+"/getProductPlanInfo ", INTERVAL, data => {
|
|
|
|
|
planWorkOrderTable.loadData(data.map((value,index) => [index,value.plan_code, value.plan_number, value.actual_number, value.rate, value.day]), Object.keys(planWorkOrderColumns))
|
|
|
|
|
planWorkOrderTable.loadData(data.map((value,index) => [index+1,value.plan_name, value.plan_number, value.actual_number, value.rate, value.day]), Object.keys(planWorkOrderColumns))
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
autoUpdate(url + '/selectStock/S001', INTERVAL, data => {
|
|
|
|
|
@ -474,7 +474,7 @@
|
|
|
|
|
|
|
|
|
|
/*班组统计*/
|
|
|
|
|
autoUpdate('/broad/box/planCompletion', INTERVAL, data => {
|
|
|
|
|
updateSplitBlocks(data.plan_shift, shiftBlocks)
|
|
|
|
|
// updateSplitBlocks(data.plan_shift, shiftBlocks)
|
|
|
|
|
updateSplitBlocks(data.planned_number, planBlocks)
|
|
|
|
|
updateSplitBlocks(data.quantity_number, actualBlocks)
|
|
|
|
|
updateSplitBlocks(data.planned_number - data.quantity_number, deltaBlocks)
|
|
|
|
|
@ -870,7 +870,7 @@
|
|
|
|
|
function resize() {
|
|
|
|
|
planWorkOrderTable.resize()
|
|
|
|
|
inventoryStocking.resize()
|
|
|
|
|
planTable.resize()
|
|
|
|
|
// planTable.resize()
|
|
|
|
|
statByType.resize()
|
|
|
|
|
statByHour.resize()
|
|
|
|
|
}
|
|
|
|
|
|