修改 发泡

master
wangh 4 years ago
parent b9b254fddd
commit 0a68384f29

@ -453,18 +453,18 @@
} }
// 当班计划/实际产量/当班差异 // 当班计划/实际产量/当班差异
autoUpdate('/broad/fp/selectFpOrderInfo', INTERVAL, data => { // autoUpdate('/broad/fp/selectFpOrderInfo', INTERVAL, data => {
// let p = [data[1], data[0][2], data[0][3]] // // let p = [data[1], data[0][2], data[0][3]]
let p = [data.planned_number, data.quantity_number, data.planned_number - data.quantity_number] // let p = [data.planned_number, data.quantity_number, data.planned_number - data.quantity_number]
//
for (let i in p) { // for (let i in p) {
updateSplitBlocks(p[i], selectors[i]) // updateSplitBlocks(p[i], selectors[i])
} // }
}) // })
let a = [ // let a = [
{name :'当班计划',qty:'123'}, // {name: '当班计划', qty: '123'},
{name :'实际产量',qty:'123'}, // {name: '实际产量', qty: '123'},
] // ]
// 生产统计数据 // 生产统计数据
autoUpdate('/broad/fp/selectStationHourInfo', INTERVAL, data => { autoUpdate('/broad/fp/selectStationHourInfo', INTERVAL, data => {
$('#bottom-left').remove() $('#bottom-left').remove()
@ -581,7 +581,7 @@ let a = [
xAxis: { xAxis: {
data: data.map(val => val.name), data: data.map(val => val.name),
axisLabel: { axisLabel: {
interval:0, interval: 0,
// rotate: -30, // rotate: -30,
}, },
}, },
@ -662,7 +662,7 @@ let a = [
axisLabel: { axisLabel: {
color: '#ffffff', color: '#ffffff',
fontSize: '10', fontSize: '10',
interval:0, interval: 0,
rotate: -30, rotate: -30,
}, },
}, },
@ -733,9 +733,9 @@ let a = [
type: 'category', type: 'category',
axisLabel: { axisLabel: {
fontSize: '10px', fontSize: '10px',
interval:0, interval: 0,
color: '#ffffff', color: '#ffffff',
rotate:-30, rotate: -30,
} }
}, },
yAxis: { yAxis: {
@ -857,7 +857,7 @@ let a = [
}, },
axisLabel: { axisLabel: {
show: true, show: true,
interval:0, interval: 0,
}, },
axisTick: { axisTick: {
show: true, show: true,
@ -873,7 +873,7 @@ let a = [
color: 'rgba(219,225,255,1)' color: 'rgba(219,225,255,1)'
}, },
axisLabel: { axisLabel: {
interval:0, interval: 0,
textStyle: { textStyle: {
color: "rgba(219,225,255,1)", color: "rgba(219,225,255,1)",
margin: 15 margin: 15

@ -209,19 +209,19 @@ group by MATERIAL_NAME
</select> </select>
<select id="selectFpStock" resultType="com.ruoyi.system.domain.BoxOutput"> <select id="selectFpStock" resultType="com.ruoyi.system.domain.BoxOutput">
select substr(MATERIAL_NAME, select substr(MATERIAL_NAME,
case case
when instr(MATERIAL_NAME, '/', 1, 1) = 0 then instr(MATERIAL_NAME, ',', 1, 1) + 1 when instr(MATERIAL_NAME, '-', 1, 1) = 0 then instr(MATERIAL_NAME, ',', 1, 1) + 1
else instr(MATERIAL_NAME, '/', 1, 1) + 1 else instr(MATERIAL_NAME, '-', 1, 1) + 1
end, end,
case case
when instr(MATERIAL_NAME, ',', 1, 2) = 0 then Length(MATERIAL_NAME) + 1 when instr(MATERIAL_NAME, ',', 1, 2) = 0 then Length(MATERIAL_NAME) + 1
else instr(MATERIAL_NAME, ',', 1, 2) else instr(MATERIAL_NAME, ',', 1, 2)
end end
- -
case case
when instr(MATERIAL_NAME, '/', 1, 1) = 0 then instr(MATERIAL_NAME, ',', 1, 1) + 1 when instr(MATERIAL_NAME, '-', 1, 1) = 0 then instr(MATERIAL_NAME, ',', 1, 1) + 1
else instr(MATERIAL_NAME, '/', 1, 1) + 1 else instr(MATERIAL_NAME, '-', 1, 1) + 1
end) as name, end) as name,
STORE_QTY as qty STORE_QTY as qty
from IMOS_LO_BIN from IMOS_LO_BIN
where MATERIAL_NAME like '发泡箱体%' where MATERIAL_NAME like '发泡箱体%'

Loading…
Cancel
Save