Merge branch 'master' of https://e.coding.net/ctcdevteam/ehs/ehs_web
This commit is contained in:
commit
4bad854f10
|
|
@ -354,7 +354,8 @@ const routes = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
//原料磨
|
|
||||||
|
//原料磨生料辅料
|
||||||
{
|
{
|
||||||
name: "enm_rm",
|
name: "enm_rm",
|
||||||
path: "/enm_rm",
|
path: "/enm_rm",
|
||||||
|
|
@ -417,6 +418,70 @@ const routes = [
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
//原料磨二次配料
|
||||||
|
{
|
||||||
|
name: "enm_rm_copy",
|
||||||
|
path: "/enm_rm_copy",
|
||||||
|
meta: {
|
||||||
|
title: "生料工序",
|
||||||
|
icon: "el-icon-menu",
|
||||||
|
type: "menu",
|
||||||
|
perms: ["enm_rm_auxiliary"],
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
name: "report_copy",
|
||||||
|
path: "/enm_rm_copy/report",
|
||||||
|
meta: {
|
||||||
|
title: "生产报告",
|
||||||
|
// icon: "el-icon-document",
|
||||||
|
perms: ["enm_rm_auxiliary"],
|
||||||
|
},
|
||||||
|
component: "enm_rm_copy/report",
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// name: "power_copy",
|
||||||
|
// path: "/enm_rm_copy/power",
|
||||||
|
// meta: {
|
||||||
|
// title: "主要设备单耗",
|
||||||
|
// // icon: "el-icon-odometer",
|
||||||
|
// perms: ["enm_rm_auxiliary"],
|
||||||
|
// },
|
||||||
|
// component: "enm_rm_copy/power",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// name: "teamAnalysis_copy",
|
||||||
|
// path: "/enm_rm_copy/teamAnalysis",
|
||||||
|
// meta: {
|
||||||
|
// title: "班组月度对比",
|
||||||
|
// // icon: "el-icon-operation",
|
||||||
|
// perms: ["enm_rm_auxiliary"],
|
||||||
|
// },
|
||||||
|
// component: "enm_rm_copy/teamAnalysis",
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// name: "workshopAnalysis_copy",
|
||||||
|
// path: "/enm_rm_copy/workshopAnalysis",
|
||||||
|
// meta: {
|
||||||
|
// title: "车间单耗分析",
|
||||||
|
// // icon: "el-icon-data-line",
|
||||||
|
// perms: ["enm_rm_auxiliary"],
|
||||||
|
// },
|
||||||
|
// component: "enm_rm_copy/workshopAnalysis",
|
||||||
|
// },
|
||||||
|
{
|
||||||
|
name: "handoverLog_copy",
|
||||||
|
path: "/enm_rm_copy/handoverLog",
|
||||||
|
meta: {
|
||||||
|
title: "交接班日志",
|
||||||
|
// icon: "el-icon-document-copy",
|
||||||
|
perms: ["enm_rm_auxiliary"],
|
||||||
|
},
|
||||||
|
component: "enm_rm_copy/handoverLog",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
//原料磨——基础
|
//原料磨——基础
|
||||||
{
|
{
|
||||||
name: "enm_rmbase",
|
name: "enm_rmbase",
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
apiObj: null,
|
apiObj: null,
|
||||||
mgroup_name :["电石渣", "回转窑", "水泥磨","原料磨"],
|
mgroup_name :["电石渣", "回转窑", "水泥磨", "生料工序(二次配料)"],
|
||||||
query: {
|
query: {
|
||||||
date: "",
|
date: "",
|
||||||
fee: "",
|
fee: "",
|
||||||
|
|
@ -173,10 +173,10 @@ export default {
|
||||||
this.$API.mtm.mgroup.list.req({ page: 0, cate:"section"}).then((res) => {
|
this.$API.mtm.mgroup.list.req({ page: 0, cate:"section"}).then((res) => {
|
||||||
//如果res.name=煤磨、原料磨、水泥包装,则不放入options中
|
//如果res.name=煤磨、原料磨、水泥包装,则不放入options中
|
||||||
res.forEach(element => {
|
res.forEach(element => {
|
||||||
if(['煤磨','水泥包装'].includes(element.name)){
|
if(this.mgroup_name.includes(element.name)){
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.options.push(element);
|
this.options.push(element);
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
console.log(this.options);
|
console.log(this.options);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -308,7 +308,7 @@ let toolbox = {
|
||||||
};
|
};
|
||||||
let legend = {
|
let legend = {
|
||||||
top: "2%",
|
top: "2%",
|
||||||
data: ["总产量", "台时产量", "运转率", "分布电耗", "成本"],
|
data: ["总产量", "台时产量", "运转率", "分布电耗"],
|
||||||
};
|
};
|
||||||
let yAxis = [
|
let yAxis = [
|
||||||
{
|
{
|
||||||
|
|
@ -357,22 +357,6 @@ let yAxis = [
|
||||||
formatter: "{value}",
|
formatter: "{value}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: "value",
|
|
||||||
name: "成本(元)",
|
|
||||||
position: "left",
|
|
||||||
alignTicks: true,
|
|
||||||
offset: 70,
|
|
||||||
axisLine: {
|
|
||||||
show: true,
|
|
||||||
lineStyle: {
|
|
||||||
color: colors[4],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
axisLabel: {
|
|
||||||
formatter: "{value}",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
import * as echarts from "echarts";
|
import * as echarts from "echarts";
|
||||||
import scEcharts from "@/components/scEcharts";
|
import scEcharts from "@/components/scEcharts";
|
||||||
|
|
@ -409,7 +393,7 @@ export default {
|
||||||
["运转时间", "运转率(%)", "/", 0, 0, "/", 0, 0, "/", "/"],
|
["运转时间", "运转率(%)", "/", 0, 0, "/", 0, 0, "/", "/"],
|
||||||
["能耗", "生料分布电耗(KW·h/t)", 0, 0, 0, 0, 0, 0, 0, 0],
|
["能耗", "生料分布电耗(KW·h/t)", 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
["能耗", "总电耗(KW·h)", 0, 0, 0, 0, "/", "/", "/","/"],
|
["能耗", "总电耗(KW·h)", 0, 0, 0, 0, "/", "/", "/","/"],
|
||||||
["成本", "生料成本(元/吨)", 0, 0, 0, 0, 0, 0, 0, 0],
|
// ["成本", "生料成本(元/吨)", 0, 0, 0, 0, 0, 0, 0, 0],
|
||||||
],
|
],
|
||||||
tableName: "生产报告",
|
tableName: "生产报告",
|
||||||
modelValue: true,
|
modelValue: true,
|
||||||
|
|
@ -461,12 +445,6 @@ export default {
|
||||||
yAxisIndex: 2,
|
yAxisIndex: 2,
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "成本",
|
|
||||||
type: "bar",
|
|
||||||
yAxisIndex: 3,
|
|
||||||
data: [],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
option2: {
|
option2: {
|
||||||
|
|
@ -523,12 +501,6 @@ export default {
|
||||||
yAxisIndex: 2,
|
yAxisIndex: 2,
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "成本",
|
|
||||||
type: "bar",
|
|
||||||
yAxisIndex: 3,
|
|
||||||
data: [],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
option3: {
|
option3: {
|
||||||
|
|
@ -585,12 +557,6 @@ export default {
|
||||||
yAxisIndex: 2,
|
yAxisIndex: 2,
|
||||||
data: [],
|
data: [],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: "成本",
|
|
||||||
type: "bar",
|
|
||||||
yAxisIndex: 3,
|
|
||||||
data: [],
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
dataX: [],
|
dataX: [],
|
||||||
|
|
@ -629,7 +595,6 @@ export default {
|
||||||
"运转率",
|
"运转率",
|
||||||
"分布电耗",
|
"分布电耗",
|
||||||
"单位产品标煤耗",
|
"单位产品标煤耗",
|
||||||
"成本",
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
xAxis: [
|
xAxis: [
|
||||||
|
|
@ -674,22 +639,6 @@ export default {
|
||||||
formatter: "{value}",
|
formatter: "{value}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: "value",
|
|
||||||
name: "成本(元)",
|
|
||||||
position: "right",
|
|
||||||
alignTicks: true,
|
|
||||||
offset: 160,
|
|
||||||
axisLine: {
|
|
||||||
show: true,
|
|
||||||
lineStyle: {
|
|
||||||
color: colors[2],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
axisLabel: {
|
|
||||||
formatter: "{value}",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "value",
|
type: "value",
|
||||||
name: "分布电耗(KW.h)",
|
name: "分布电耗(KW.h)",
|
||||||
|
|
@ -838,7 +787,7 @@ export default {
|
||||||
that.tableDatas[3][3] = data3.run_rate;
|
that.tableDatas[3][3] = data3.run_rate;
|
||||||
that.tableDatas[4][3] = data3.elec_consume_unit;
|
that.tableDatas[4][3] = data3.elec_consume_unit;
|
||||||
that.tableDatas[5][3] = data3.elec_consume;
|
that.tableDatas[5][3] = data3.elec_consume;
|
||||||
that.tableDatas[6][3] = data3.production_cost_unit;}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//本日
|
//本日
|
||||||
|
|
@ -856,11 +805,10 @@ export default {
|
||||||
if (data4.total_production == 0) {
|
if (data4.total_production == 0) {
|
||||||
that.tableDatas[4][2] = 0;
|
that.tableDatas[4][2] = 0;
|
||||||
that.tableDatas[5][2] = 0;
|
that.tableDatas[5][2] = 0;
|
||||||
that.tableDatas[6][2] = 0;
|
|
||||||
}else {
|
}else {
|
||||||
that.tableDatas[4][2] = data4.elec_consume_unit;
|
that.tableDatas[4][2] = data4.elec_consume_unit;
|
||||||
that.tableDatas[5][2] = data4.elec_consume;
|
that.tableDatas[5][2] = data4.elec_consume;
|
||||||
that.tableDatas[6][2] = data4.production_cost_unit;}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//月目标
|
//月目标
|
||||||
|
|
@ -906,8 +854,7 @@ export default {
|
||||||
item5.goal_cate_name ==
|
item5.goal_cate_name ==
|
||||||
"单位产品成本(元/吨)"
|
"单位产品成本(元/吨)"
|
||||||
) {
|
) {
|
||||||
that.tableDatas[6][6] = item5[str];
|
|
||||||
that.tableDatas[6][8] = item5.goal_val;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -934,16 +881,6 @@ export default {
|
||||||
that.tableDatas[1][5],
|
that.tableDatas[1][5],
|
||||||
that.tableDatas[1][8]
|
that.tableDatas[1][8]
|
||||||
);
|
);
|
||||||
// that.tableDatas[2][5] = data1.run_hour;
|
|
||||||
// that.tableDatas[2][9] = precen(
|
|
||||||
// that.tableDatas[2][5],
|
|
||||||
// that.tableDatas[2][8]
|
|
||||||
// );
|
|
||||||
// that.tableDatas[3][5] = data1.run_rate;
|
|
||||||
// that.tableDatas[3][9] = precen(
|
|
||||||
// that.tableDatas[3][5],
|
|
||||||
// that.tableDatas[3][8]
|
|
||||||
// );
|
|
||||||
that.tableDatas[4][5] =
|
that.tableDatas[4][5] =
|
||||||
data1.elec_consume_unit;
|
data1.elec_consume_unit;
|
||||||
that.tableDatas[4][9] = precen(
|
that.tableDatas[4][9] = precen(
|
||||||
|
|
@ -951,12 +888,7 @@ export default {
|
||||||
that.tableDatas[4][8]
|
that.tableDatas[4][8]
|
||||||
);
|
);
|
||||||
that.tableDatas[5][5] = data1.elec_consume;
|
that.tableDatas[5][5] = data1.elec_consume;
|
||||||
that.tableDatas[6][5] =
|
|
||||||
data1.production_cost_unit;
|
|
||||||
that.tableDatas[6][9] = precen(
|
|
||||||
(that.tableDatas[6][5]-that.tableDatas[6][8]),
|
|
||||||
that.tableDatas[6][8]
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -1005,12 +937,7 @@ export default {
|
||||||
that.tableDatas[4][6]
|
that.tableDatas[4][6]
|
||||||
);
|
);
|
||||||
that.tableDatas[5][4] = data2.elec_consume;
|
that.tableDatas[5][4] = data2.elec_consume;
|
||||||
that.tableDatas[6][4] =
|
|
||||||
data2.production_cost_unit;
|
|
||||||
that.tableDatas[6][7] = precen(
|
|
||||||
(that.tableDatas[6][4]-that.tableDatas[6][6]),
|
|
||||||
that.tableDatas[6][6]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
@ -1064,8 +991,7 @@ export default {
|
||||||
let seriesData0 = [],
|
let seriesData0 = [],
|
||||||
seriesData1 = [],
|
seriesData1 = [],
|
||||||
seriesData2 = [],
|
seriesData2 = [],
|
||||||
seriesData3 = [],
|
seriesData3 = [];
|
||||||
seriesData4 = [];
|
|
||||||
let data = response;
|
let data = response;
|
||||||
data.forEach((item) => {
|
data.forEach((item) => {
|
||||||
let ind = item.hour;
|
let ind = item.hour;
|
||||||
|
|
@ -1073,14 +999,12 @@ export default {
|
||||||
seriesData1[ind] = Number(item.production_hour).toFixed(2);
|
seriesData1[ind] = Number(item.production_hour).toFixed(2);
|
||||||
seriesData2[ind] = item.run_rate;
|
seriesData2[ind] = item.run_rate;
|
||||||
seriesData3[ind] = item.elec_consume_unit;
|
seriesData3[ind] = item.elec_consume_unit;
|
||||||
seriesData4[ind] = item.production_cost_unit;
|
|
||||||
});
|
});
|
||||||
let options = { ...that.option1 };
|
let options = { ...that.option1 };
|
||||||
options.series[0].data = seriesData0;
|
options.series[0].data = seriesData0;
|
||||||
options.series[1].data = seriesData1;
|
options.series[1].data = seriesData1;
|
||||||
options.series[2].data = seriesData2;
|
options.series[2].data = seriesData2;
|
||||||
options.series[3].data = seriesData3;
|
options.series[3].data = seriesData3;
|
||||||
options.series[4].data = seriesData4;
|
|
||||||
let hourXAxis = [];
|
let hourXAxis = [];
|
||||||
for (let i = 0; i < 24; i++) {
|
for (let i = 0; i < 24; i++) {
|
||||||
let item = i + "时";
|
let item = i + "时";
|
||||||
|
|
@ -1103,8 +1027,7 @@ export default {
|
||||||
let seriesData0 = [],
|
let seriesData0 = [],
|
||||||
seriesData1 = [],
|
seriesData1 = [],
|
||||||
seriesData2 = [],
|
seriesData2 = [],
|
||||||
seriesData3 = [],
|
seriesData3 = [];
|
||||||
seriesData4 = [];
|
|
||||||
let data = response;
|
let data = response;
|
||||||
data.forEach((item) => {
|
data.forEach((item) => {
|
||||||
let ind = item.day_s - 1;
|
let ind = item.day_s - 1;
|
||||||
|
|
@ -1112,14 +1035,12 @@ export default {
|
||||||
seriesData1[ind] = Number(item.production_hour).toFixed(2);
|
seriesData1[ind] = Number(item.production_hour).toFixed(2);
|
||||||
seriesData2[ind] = item.run_rate;
|
seriesData2[ind] = item.run_rate;
|
||||||
seriesData3[ind] = item.elec_consume_unit;
|
seriesData3[ind] = item.elec_consume_unit;
|
||||||
seriesData4[ind] = item.production_cost_unit;
|
|
||||||
});
|
});
|
||||||
let options = { ...that.option2 };
|
let options = { ...that.option2 };
|
||||||
options.series[0].data = seriesData0;
|
options.series[0].data = seriesData0;
|
||||||
options.series[1].data = seriesData1;
|
options.series[1].data = seriesData1;
|
||||||
options.series[2].data = seriesData2;
|
options.series[2].data = seriesData2;
|
||||||
options.series[3].data = seriesData3;
|
options.series[3].data = seriesData3;
|
||||||
options.series[4].data = seriesData4;
|
|
||||||
let dayXAxis = [];
|
let dayXAxis = [];
|
||||||
for (let i = 1; i <= data.length; i++) {
|
for (let i = 1; i <= data.length; i++) {
|
||||||
let item = i + "日";
|
let item = i + "日";
|
||||||
|
|
@ -1141,8 +1062,7 @@ export default {
|
||||||
let seriesData0 = [],
|
let seriesData0 = [],
|
||||||
seriesData1 = [],
|
seriesData1 = [],
|
||||||
seriesData2 = [],
|
seriesData2 = [],
|
||||||
seriesData3 = [],
|
seriesData3 = [];
|
||||||
seriesData4 = [];
|
|
||||||
let data = response;
|
let data = response;
|
||||||
data.forEach((item) => {
|
data.forEach((item) => {
|
||||||
let ind = item.month_s - 1;
|
let ind = item.month_s - 1;
|
||||||
|
|
@ -1150,14 +1070,12 @@ export default {
|
||||||
seriesData1[ind] = Number(item.production_hour).toFixed(2);
|
seriesData1[ind] = Number(item.production_hour).toFixed(2);
|
||||||
seriesData2[ind] = item.run_rate;
|
seriesData2[ind] = item.run_rate;
|
||||||
seriesData3[ind] = item.elec_consume_unit;
|
seriesData3[ind] = item.elec_consume_unit;
|
||||||
seriesData4[ind] = item.production_cost_unit;
|
|
||||||
});
|
});
|
||||||
let options = { ...that.option3 };
|
let options = { ...that.option3 };
|
||||||
options.series[0].data = seriesData0;
|
options.series[0].data = seriesData0;
|
||||||
options.series[1].data = seriesData1;
|
options.series[1].data = seriesData1;
|
||||||
options.series[2].data = seriesData2;
|
options.series[2].data = seriesData2;
|
||||||
options.series[3].data = seriesData3;
|
options.series[3].data = seriesData3;
|
||||||
options.series[4].data = seriesData4;
|
|
||||||
let monthXAxis = [];
|
let monthXAxis = [];
|
||||||
for (let i = 1; i <= that.month; i++) {
|
for (let i = 1; i <= that.month; i++) {
|
||||||
let item = i + "月";
|
let item = i + "月";
|
||||||
|
|
|
||||||
|
|
@ -213,85 +213,6 @@
|
||||||
{{ reportItem.elec_consume_unit }}
|
{{ reportItem.elec_consume_unit }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td class="numCell">辅料细度合格率(%)</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.辅料_细度_rate_pass"
|
|
||||||
>
|
|
||||||
{{ reportItem.辅料_细度_rate_pass * 100 }}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
<td class="numCell">辅料Fe₂O₃合格率(%)</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.辅料_Fe2O3_rate_pass"
|
|
||||||
>
|
|
||||||
{{ reportItem.辅料_Fe2O3_rate_pass * 100 }}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
<td class="numCell">辅料水分合格率(%)</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.辅料_水分_rate_pass"
|
|
||||||
>
|
|
||||||
{{ reportItem.辅料_水分_rate_pass * 100 }}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="numCell">干混生料CaO合格率(%)</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.干混生料_CaO_rate_pass"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
reportItem.干混生料_CaO_rate_pass * 100
|
|
||||||
}}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
<td class="numCell">
|
|
||||||
干混生料Fe₂O₃合格率(%)
|
|
||||||
</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.干混生料_Fe2O3_rate_pass"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
reportItem.干混生料_Fe2O3_rate_pass *
|
|
||||||
100
|
|
||||||
}}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
<td class="numCell">干混生料细度合格率(%)</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.干混生料_细度_rate_pass"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
reportItem.干混生料_细度_rate_pass * 100
|
|
||||||
}}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="numCell">干混生料水分合格率(%)</td>
|
|
||||||
<td
|
|
||||||
class="numCell"
|
|
||||||
v-if="reportItem.干混生料_水分_rate_pass"
|
|
||||||
>
|
|
||||||
{{
|
|
||||||
reportItem.干混生料_水分_rate_pass * 100
|
|
||||||
}}
|
|
||||||
</td>
|
|
||||||
<td class="numCell" v-else>0</td>
|
|
||||||
<td class="numCell">单位成本(元/吨)</td>
|
|
||||||
<td class="numCell">
|
|
||||||
{{ reportItem.production_cost_unit }}
|
|
||||||
</td>
|
|
||||||
<td class="numCell"></td>
|
|
||||||
<td class="numCell"></td>
|
|
||||||
</tr>
|
|
||||||
<tr v-if="sflogexpList.length > 0">
|
<tr v-if="sflogexpList.length > 0">
|
||||||
<td
|
<td
|
||||||
class="numCell"
|
class="numCell"
|
||||||
|
|
@ -373,9 +294,9 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$API.mtm.mgroup.list
|
this.$API.mtm.mgroup.list
|
||||||
.req({ page: 0, search: "原料磨" })
|
.req({ page: 0, search: "生料工序(二次配料)" })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("原料磨", res);
|
console.log("生料工序(二次配料)", res);
|
||||||
this.mgroupItem = res[0];
|
this.mgroupItem = res[0];
|
||||||
this.query.mgroup = res[0].id;
|
this.query.mgroup = res[0].id;
|
||||||
this.apiObj = this.$API.wpm.sflog.list;
|
this.apiObj = this.$API.wpm.sflog.list;
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
<td class="numCell">{{ item[1] }}</td>
|
<td class="numCell">{{ item[1] }}</td>
|
||||||
<td
|
<td
|
||||||
class="numCell hoursItem"
|
class="numCell hoursItem"
|
||||||
@click="itemClick('hour_s', item)"
|
@click="itemClick('day_s', item)"
|
||||||
>
|
>
|
||||||
{{ item[2] }}
|
{{ item[2] }}
|
||||||
</td>
|
</td>
|
||||||
|
|
@ -812,9 +812,9 @@ export default {
|
||||||
let days_h = hourDate.getDate();
|
let days_h = hourDate.getDate();
|
||||||
let hours_h = hourDate.getHours();
|
let hours_h = hourDate.getHours();
|
||||||
this.$API.mtm.mgroup.list
|
this.$API.mtm.mgroup.list
|
||||||
.req({ page: 0, search: "原料磨" })
|
.req({ page: 0, search: "生料工序(二次配料)" })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log("原料磨", res);
|
console.log("生料工序(二次配料)", res);
|
||||||
that.query.mgroup = res[0].id;
|
that.query.mgroup = res[0].id;
|
||||||
//昨日
|
//昨日
|
||||||
let params3 = {};
|
let params3 = {};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue