screenone
This commit is contained in:
@@ -8,24 +8,205 @@ export const processProduction = () => {
|
|||||||
"code": 200,
|
"code": 200,
|
||||||
"desc": "操作成功",
|
"desc": "操作成功",
|
||||||
"result": {
|
"result": {
|
||||||
|
"BZ": {
|
||||||
|
"BZWeekList": [
|
||||||
|
{
|
||||||
|
"device_name": null,
|
||||||
|
"plan_qty": 100000,
|
||||||
|
"real_qty": 100000,
|
||||||
|
"device_code": null,
|
||||||
|
"unqualified_qty": 0,
|
||||||
|
"qualified_qty": 100000,
|
||||||
|
"material_code": "GBMCZ3016M322210GM001ZJ22-8",
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"device_name": null,
|
||||||
|
"plan_qty": 1000000,
|
||||||
|
"real_qty": 1000000,
|
||||||
|
"device_code": null,
|
||||||
|
"unqualified_qty": 0,
|
||||||
|
"qualified_qty": 1000000,
|
||||||
|
"material_code": "GBMAC3012C123117GM004BB22-30",
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"device_name": null,
|
||||||
|
"plan_qty": 1100000,
|
||||||
|
"real_qty": 1099999,
|
||||||
|
"device_code": null,
|
||||||
|
"unqualified_qty": 300001,
|
||||||
|
"qualified_qty": 799999,
|
||||||
|
"material_code": "GBMCZ3004M123116GM002ZJ20-8",
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"device_name": null,
|
||||||
|
"plan_qty": 20000,
|
||||||
|
"real_qty": 9012,
|
||||||
|
"device_code": null,
|
||||||
|
"unqualified_qty": 1001,
|
||||||
|
"qualified_qty": 9011,
|
||||||
|
"material_code": "ZLMCZ1001C122222GM001BD20-8",
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"device_name": null,
|
||||||
|
"plan_qty": 10000000,
|
||||||
|
"real_qty": 555,
|
||||||
|
"device_code": null,
|
||||||
|
"unqualified_qty": 0,
|
||||||
|
"qualified_qty": 555,
|
||||||
|
"material_code": "GBMCZ3004M123093GM002ZJ20-30",
|
||||||
|
"region_code": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"bz_real_day": "220.96",
|
||||||
|
"bz_plan_day": "1222.00",
|
||||||
|
"BZDayList": [
|
||||||
|
{
|
||||||
|
"plan_qty": 100000,
|
||||||
|
"real_qty": 100000,
|
||||||
|
"qualified_qty": 100000,
|
||||||
|
"unqualified_qty": 0,
|
||||||
|
"device_code": null,
|
||||||
|
"material_code": "GBMCZ3016M322210GM001ZJ22-8",
|
||||||
|
"device_name": null,
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plan_qty": 1000000,
|
||||||
|
"real_qty": 1000000,
|
||||||
|
"qualified_qty": 1000000,
|
||||||
|
"unqualified_qty": 0,
|
||||||
|
"device_code": null,
|
||||||
|
"material_code": "GBMAC3012C123117GM004BB22-30",
|
||||||
|
"device_name": null,
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plan_qty": 1100000,
|
||||||
|
"real_qty": 1099999,
|
||||||
|
"qualified_qty": 799999,
|
||||||
|
"unqualified_qty": 300001,
|
||||||
|
"device_code": null,
|
||||||
|
"material_code": "GBMCZ3004M123116GM002ZJ20-8",
|
||||||
|
"device_name": null,
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plan_qty": 20000,
|
||||||
|
"real_qty": 9012,
|
||||||
|
"qualified_qty": 9011,
|
||||||
|
"unqualified_qty": 1001,
|
||||||
|
"device_code": null,
|
||||||
|
"material_code": "ZLMCZ1001C122222GM001BD20-8",
|
||||||
|
"device_name": null,
|
||||||
|
"region_code": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"plan_qty": 10000000,
|
||||||
|
"real_qty": 555,
|
||||||
|
"qualified_qty": 555,
|
||||||
|
"unqualified_qty": 0,
|
||||||
|
"device_code": null,
|
||||||
|
"material_code": "GBMCZ3004M123093GM002ZJ20-30",
|
||||||
|
"device_name": null,
|
||||||
|
"region_code": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"bz_productivity": 0
|
||||||
|
},
|
||||||
|
"KC": {
|
||||||
|
"KCWeekList": [
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品5"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"KCDayList": [
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"region_in_qty": 9995000,
|
||||||
|
"region_out_qty": 5000,
|
||||||
|
"inventory_qty": 1000000,
|
||||||
|
"material_code": "成品5"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"in_qty": "100.00",
|
||||||
|
"inventory_qty": "90.00",
|
||||||
|
"inv_productivity": 80,
|
||||||
|
"in_productivity": 30,
|
||||||
|
"out_qty": "10.00",
|
||||||
|
"out_productivity": 60
|
||||||
|
},
|
||||||
"YZ": {
|
"YZ": {
|
||||||
"yz_real_day": "1.59",
|
"yz_real_day": "0.00",
|
||||||
"YZDayList": [
|
"YZDayList": [
|
||||||
{
|
{
|
||||||
"plan_qty": 7694,
|
"plan_qty": 5184,
|
||||||
"real_qty": 7376,
|
"real_qty": 0,
|
||||||
"qualified_qty": 7359,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 17,
|
"unqualified_qty": 0,
|
||||||
"device_code": "YJ01",
|
"device_code": "YJ01",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
"device_name": "压机1",
|
"device_name": "压机1",
|
||||||
"region_code": "YZ"
|
"region_code": "YZ"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 2500,
|
"plan_qty": 0,
|
||||||
"real_qty": 2508,
|
"real_qty": 0,
|
||||||
"qualified_qty": 2500,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 8,
|
"unqualified_qty": 0,
|
||||||
"device_code": "YJ02",
|
"device_code": "YJ02",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
"device_name": "压机2",
|
"device_name": "压机2",
|
||||||
@@ -33,9 +214,9 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 5500,
|
"plan_qty": 5500,
|
||||||
"real_qty": 5000,
|
"real_qty": 0,
|
||||||
"qualified_qty": 4888,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 112,
|
"unqualified_qty": 0,
|
||||||
"device_code": "YJ03",
|
"device_code": "YJ03",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
"device_name": "压机3",
|
"device_name": "压机3",
|
||||||
@@ -43,9 +224,9 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 1440,
|
"plan_qty": 1440,
|
||||||
"real_qty": 1000,
|
"real_qty": 0,
|
||||||
"qualified_qty": 950,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 50,
|
"unqualified_qty": 0,
|
||||||
"device_code": "YJ04",
|
"device_code": "YJ04",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
"device_name": "压机4",
|
"device_name": "压机4",
|
||||||
@@ -112,12 +293,12 @@ export const processProduction = () => {
|
|||||||
"region_code": "YZ"
|
"region_code": "YZ"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"yz_plan_day": "1.71",
|
"yz_plan_day": "1.21",
|
||||||
"YZWeekList": [
|
"YZWeekList": [
|
||||||
{
|
{
|
||||||
"device_name": "压机1",
|
"device_name": "压机1",
|
||||||
"plan_qty": 7694,
|
"plan_qty": 5184,
|
||||||
"real_qty": 7376,
|
"real_qty": 0,
|
||||||
"device_code": "YJ01",
|
"device_code": "YJ01",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -126,18 +307,18 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"device_name": "压机2",
|
"device_name": "压机2",
|
||||||
"plan_qty": 2500,
|
"plan_qty": 0,
|
||||||
"real_qty": 2508,
|
"real_qty": 0,
|
||||||
"device_code": "YJ02",
|
"device_code": "YJ02",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": 0,
|
||||||
"qualified_qty": null,
|
"qualified_qty": 0,
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
"region_code": "YZ"
|
"region_code": "YZ"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"device_name": "压机3",
|
"device_name": "压机3",
|
||||||
"plan_qty": 5500,
|
"plan_qty": 5500,
|
||||||
"real_qty": 5000,
|
"real_qty": 0,
|
||||||
"device_code": "YJ03",
|
"device_code": "YJ03",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -147,7 +328,7 @@ export const processProduction = () => {
|
|||||||
{
|
{
|
||||||
"device_name": "压机4",
|
"device_name": "压机4",
|
||||||
"plan_qty": 1440,
|
"plan_qty": 1440,
|
||||||
"real_qty": 1000,
|
"real_qty": 0,
|
||||||
"device_code": "YJ04",
|
"device_code": "YJ04",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -221,8 +402,8 @@ export const processProduction = () => {
|
|||||||
"HLWeekList": [
|
"HLWeekList": [
|
||||||
{
|
{
|
||||||
"device_name": "混料机1",
|
"device_name": "混料机1",
|
||||||
"plan_qty": 42000,
|
"plan_qty": 27000,
|
||||||
"real_qty": 34500,
|
"real_qty": 0,
|
||||||
"device_code": "HLJ01",
|
"device_code": "HLJ01",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -231,8 +412,8 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"device_name": "混料机2",
|
"device_name": "混料机2",
|
||||||
"plan_qty": 42000,
|
"plan_qty": 27000,
|
||||||
"real_qty": 33000,
|
"real_qty": 0,
|
||||||
"device_code": "HLJ02",
|
"device_code": "HLJ02",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -241,8 +422,8 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"device_name": "混料机3",
|
"device_name": "混料机3",
|
||||||
"plan_qty": 25000,
|
"plan_qty": 10000,
|
||||||
"real_qty": 14000,
|
"real_qty": 0,
|
||||||
"device_code": "HLJ03",
|
"device_code": "HLJ03",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -251,8 +432,8 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"device_name": "混料机4",
|
"device_name": "混料机4",
|
||||||
"plan_qty": 34000,
|
"plan_qty": 19000,
|
||||||
"real_qty": 23000,
|
"real_qty": 0,
|
||||||
"device_code": "HLJ04",
|
"device_code": "HLJ04",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -262,7 +443,7 @@ export const processProduction = () => {
|
|||||||
{
|
{
|
||||||
"device_name": "混料机5",
|
"device_name": "混料机5",
|
||||||
"plan_qty": 5000,
|
"plan_qty": 5000,
|
||||||
"real_qty": 3000,
|
"real_qty": 0,
|
||||||
"device_code": "HLJ05",
|
"device_code": "HLJ05",
|
||||||
"unqualified_qty": null,
|
"unqualified_qty": null,
|
||||||
"qualified_qty": null,
|
"qualified_qty": null,
|
||||||
@@ -382,9 +563,9 @@ export const processProduction = () => {
|
|||||||
],
|
],
|
||||||
"HLDayList": [
|
"HLDayList": [
|
||||||
{
|
{
|
||||||
"plan_qty": 42000,
|
"plan_qty": 27000,
|
||||||
"real_qty": 34500,
|
"real_qty": 0,
|
||||||
"qualified_qty": 10500,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 0,
|
"unqualified_qty": 0,
|
||||||
"device_code": "HLJ01",
|
"device_code": "HLJ01",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
@@ -392,9 +573,9 @@ export const processProduction = () => {
|
|||||||
"region_code": "HL"
|
"region_code": "HL"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 42000,
|
"plan_qty": 27000,
|
||||||
"real_qty": 33000,
|
"real_qty": 0,
|
||||||
"qualified_qty": 9000,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 0,
|
"unqualified_qty": 0,
|
||||||
"device_code": "HLJ02",
|
"device_code": "HLJ02",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
@@ -402,9 +583,9 @@ export const processProduction = () => {
|
|||||||
"region_code": "HL"
|
"region_code": "HL"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 25000,
|
"plan_qty": 10000,
|
||||||
"real_qty": 14000,
|
"real_qty": 0,
|
||||||
"qualified_qty": 9000,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 0,
|
"unqualified_qty": 0,
|
||||||
"device_code": "HLJ03",
|
"device_code": "HLJ03",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
@@ -412,9 +593,9 @@ export const processProduction = () => {
|
|||||||
"region_code": "HL"
|
"region_code": "HL"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 34000,
|
"plan_qty": 19000,
|
||||||
"real_qty": 23000,
|
"real_qty": 0,
|
||||||
"qualified_qty": 9000,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 0,
|
"unqualified_qty": 0,
|
||||||
"device_code": "HLJ04",
|
"device_code": "HLJ04",
|
||||||
"material_code": null,
|
"material_code": null,
|
||||||
@@ -423,7 +604,7 @@ export const processProduction = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"plan_qty": 5000,
|
"plan_qty": 5000,
|
||||||
"real_qty": 3000,
|
"real_qty": 0,
|
||||||
"qualified_qty": 0,
|
"qualified_qty": 0,
|
||||||
"unqualified_qty": 0,
|
"unqualified_qty": 0,
|
||||||
"device_code": "HLJ05",
|
"device_code": "HLJ05",
|
||||||
@@ -543,137 +724,8 @@ export const processProduction = () => {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hl_productivity": 0,
|
"hl_productivity": 0,
|
||||||
"hl_plan_day": "148.00",
|
"hl_plan_day": "88.00",
|
||||||
"hl_real_day": "107.50"
|
"hl_real_day": "0.00"
|
||||||
},
|
|
||||||
"KC": {
|
|
||||||
"KCWeekList": [
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品5"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"KCDayList": [
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品2"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"region_in_qty": 9995000,
|
|
||||||
"region_out_qty": 5000,
|
|
||||||
"inventory_qty": 1000000,
|
|
||||||
"material_code": "成品5"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"in_qty": "100.00",
|
|
||||||
"inventory_qty": "90.00",
|
|
||||||
"inv_productivity": 80,
|
|
||||||
"in_productivity": 30,
|
|
||||||
"out_qty": "10.00",
|
|
||||||
"out_productivity": 60
|
|
||||||
},
|
|
||||||
"BZ": {
|
|
||||||
"bz_real_day": "220.96",
|
|
||||||
"bz_plan_day": "1222.00",
|
|
||||||
"BZDayList": [
|
|
||||||
{
|
|
||||||
"plan_qty": 100000,
|
|
||||||
"real_qty": 100000,
|
|
||||||
"qualified_qty": 100000,
|
|
||||||
"unqualified_qty": 0,
|
|
||||||
"device_code": null,
|
|
||||||
"material_code": "GBMCZ3016M322210GM001ZJ22-8",
|
|
||||||
"device_name": null,
|
|
||||||
"region_code": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plan_qty": 1000000,
|
|
||||||
"real_qty": 1000000,
|
|
||||||
"qualified_qty": 1000000,
|
|
||||||
"unqualified_qty": 0,
|
|
||||||
"device_code": null,
|
|
||||||
"material_code": "GBMAC3012C123117GM004BB22-30",
|
|
||||||
"device_name": null,
|
|
||||||
"region_code": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plan_qty": 1100000,
|
|
||||||
"real_qty": 1099999,
|
|
||||||
"qualified_qty": 799999,
|
|
||||||
"unqualified_qty": 300001,
|
|
||||||
"device_code": null,
|
|
||||||
"material_code": "GBMCZ3004M123116GM002ZJ20-8",
|
|
||||||
"device_name": null,
|
|
||||||
"region_code": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plan_qty": 20000,
|
|
||||||
"real_qty": 9012,
|
|
||||||
"qualified_qty": 9011,
|
|
||||||
"unqualified_qty": 1001,
|
|
||||||
"device_code": null,
|
|
||||||
"material_code": "ZLMCZ1001C122222GM001BD20-8",
|
|
||||||
"device_name": null,
|
|
||||||
"region_code": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"plan_qty": 10000000,
|
|
||||||
"real_qty": 555,
|
|
||||||
"qualified_qty": 555,
|
|
||||||
"unqualified_qty": 0,
|
|
||||||
"device_code": null,
|
|
||||||
"material_code": "GBMCZ3004M123093GM002ZJ20-30",
|
|
||||||
"device_name": null,
|
|
||||||
"region_code": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bz_productivity": 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,11 +21,11 @@
|
|||||||
<div class="right_1_up_right">
|
<div class="right_1_up_right">
|
||||||
<div class="right_1_up_right_item">
|
<div class="right_1_up_right_item">
|
||||||
<p class="right_1_up_p1">当日计划生产:</p>
|
<p class="right_1_up_p1">当日计划生产:</p>
|
||||||
<p class="right_1_up_p2">100<span>吨</span></p>
|
<p class="right_1_up_p2">{{num1}}<span>吨</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="right_1_up_right_item">
|
<div class="right_1_up_right_item">
|
||||||
<p class="right_1_up_p1">当日实际生产:</p>
|
<p class="right_1_up_p1">当日实际生产:</p>
|
||||||
<p class="right_1_up_p2">80<span>吨</span></p>
|
<p class="right_1_up_p2">{{num2}}<span>吨</span></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -46,11 +46,11 @@
|
|||||||
<div class="right_1_up_right">
|
<div class="right_1_up_right">
|
||||||
<div class="right_1_up_right_item">
|
<div class="right_1_up_right_item">
|
||||||
<p class="right_1_up_p1">当日计划生产:</p>
|
<p class="right_1_up_p1">当日计划生产:</p>
|
||||||
<p class="right_1_up_p2">100<span>万块</span></p>
|
<p class="right_1_up_p2">{{num3}}<span>万块</span></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="right_1_up_right_item">
|
<div class="right_1_up_right_item">
|
||||||
<p class="right_1_up_p1">当日实际生产:</p>
|
<p class="right_1_up_p1">当日实际生产:</p>
|
||||||
<p class="right_1_up_p2">80<span>万块</span></p>
|
<p class="right_1_up_p2">{{num4}}<span>万块</span></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -99,16 +99,21 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { processProduction } from '@js/getData0'
|
||||||
export default {
|
export default {
|
||||||
name: 'one',
|
name: 'one',
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
finishRate1: 80,
|
num1: 0,
|
||||||
finishRate2: 90,
|
num2: 0,
|
||||||
echartData03: [{date: '碾机1', elbow_qty: '15'}, {date: '碾机2', elbow_qty: '25'}, {date: '碾机3', elbow_qty: '8'}],
|
num3: 0,
|
||||||
echartData05: [{date: '碾机1', elbow_qty: '10'}, {date: '碾机2', elbow_qty: '20'}, {date: '碾机3', elbow_qty: '18'}],
|
num4: 0,
|
||||||
echartData04: [{data1: '10', data2: '15', data3: '9', data4: '5', device: '压机1'}, {data1: '10', data2: '15', data3: '9', data4: '5', device: '压机2'}, {data1: '10', data2: '15', data3: '9', data4: '5', device: '压机3'}, {data1: '10', data2: '15', data3: '9', data4: '5', device: '压机4'}],
|
finishRate1: 0,
|
||||||
echartData06: [{data1: '30', data2: '20', data3: '9', data4: '5', device: '压机1'}, {data1: '20', data2: '15', data3: '9', data4: '5', device: '压机2'}, {data1: '10', data2: '15', data3: '9', data4: '5', device: '压机3'}, {data1: '10', data2: '15', data3: '9', data4: '5', device: '压机4'}],
|
finishRate2: 0,
|
||||||
|
echartData03: [{name: '碾机1', qty: '15'}, {name: '碾机2', qty: '25'}, {name: '碾机3', qty: '8'}],
|
||||||
|
echartData05: [{name: '碾机1', qty: '10'}, {name: '碾机2', qty: '20'}, {name: '碾机3', qty: '18'}],
|
||||||
|
echartData04: [{data1: '10', data2: '15', device: '压机1'}, {data1: '10', data2: '15', device: '压机2'}, {data1: '10', data2: '15', device: '压机3'}, {data1: '10', data2: '15', device: '压机4'}],
|
||||||
|
echartData06: [{data1: '30', data2: '20', device: '压机1'}, {data1: '20', data2: '15', device: '压机2'}, {data1: '10', data2: '15', device: '压机3'}, {data1: '10', data2: '15', device: '压机4'}],
|
||||||
myCharts01: '',
|
myCharts01: '',
|
||||||
myCharts02: '',
|
myCharts02: '',
|
||||||
myCharts03: '',
|
myCharts03: '',
|
||||||
@@ -118,6 +123,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
this.initData()
|
||||||
this.setEchart01()
|
this.setEchart01()
|
||||||
this.setEchart02()
|
this.setEchart02()
|
||||||
this.setEchart03()
|
this.setEchart03()
|
||||||
@@ -126,6 +132,27 @@ export default {
|
|||||||
this.setEchart06()
|
this.setEchart06()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
async initData () {
|
||||||
|
let res = await processProduction()
|
||||||
|
this.resData = res.result
|
||||||
|
this.num1 = res.result.HL.hl_plan_day
|
||||||
|
this.num2 = res.result.HL.hl_real_day
|
||||||
|
this.num3 = res.result.YZ.yz_plan_day
|
||||||
|
this.num4 = res.result.YZ.yz_real_day
|
||||||
|
this.finishRate1 = res.result.HL.hl_productivity
|
||||||
|
this.finishRate2 = res.result.YZ.yz_productivity
|
||||||
|
this.echartData03 = res.result.HL.HLDayList
|
||||||
|
this.echartData05 = res.result.HL.HLWeekList
|
||||||
|
this.echartData04 = res.result.YZ.YZDayList
|
||||||
|
this.echartData06 = res.result.YZ.YZWeekList
|
||||||
|
console.log(this.echartData06, 222)
|
||||||
|
this.setEchart01()
|
||||||
|
this.setEchart02()
|
||||||
|
this.setEchart03()
|
||||||
|
this.setEchart04()
|
||||||
|
this.setEchart05()
|
||||||
|
this.setEchart06()
|
||||||
|
},
|
||||||
setEchart01 () {
|
setEchart01 () {
|
||||||
let value = Number(this.finishRate1)
|
let value = Number(this.finishRate1)
|
||||||
let title = '%'
|
let title = '%'
|
||||||
@@ -304,8 +331,8 @@ export default {
|
|||||||
let date = []
|
let date = []
|
||||||
let data1 = []
|
let data1 = []
|
||||||
this.echartData03.map(e => {
|
this.echartData03.map(e => {
|
||||||
date.push(e.date)
|
date.push(e.device_name)
|
||||||
data1.push(e.elbow_qty)
|
data1.push(e.real_qty)
|
||||||
})
|
})
|
||||||
let option = {
|
let option = {
|
||||||
grid: {
|
grid: {
|
||||||
@@ -413,15 +440,11 @@ export default {
|
|||||||
setEchart04 () {
|
setEchart04 () {
|
||||||
let data1 = []
|
let data1 = []
|
||||||
let data2 = []
|
let data2 = []
|
||||||
let data3 = []
|
|
||||||
let data4 = []
|
|
||||||
let device = []
|
let device = []
|
||||||
this.echartData04.map(e => {
|
this.echartData04.map(e => {
|
||||||
data1.push(e.data1)
|
data1.push(e.qualified_qty)
|
||||||
data2.push(e.data2)
|
data2.push(e.unqualified_qty)
|
||||||
data3.push(e.data3)
|
device.push(e.device_name)
|
||||||
data4.push(e.data4)
|
|
||||||
device.push(e.device)
|
|
||||||
})
|
})
|
||||||
let option = {
|
let option = {
|
||||||
grid: {
|
grid: {
|
||||||
@@ -551,8 +574,8 @@ export default {
|
|||||||
let date = []
|
let date = []
|
||||||
let data1 = []
|
let data1 = []
|
||||||
this.echartData05.map(e => {
|
this.echartData05.map(e => {
|
||||||
date.push(e.date)
|
date.push(e.device_name)
|
||||||
data1.push(e.elbow_qty)
|
data1.push(e.real_qty)
|
||||||
})
|
})
|
||||||
let option = {
|
let option = {
|
||||||
grid: {
|
grid: {
|
||||||
@@ -660,15 +683,11 @@ export default {
|
|||||||
setEchart06 () {
|
setEchart06 () {
|
||||||
let data1 = []
|
let data1 = []
|
||||||
let data2 = []
|
let data2 = []
|
||||||
let data3 = []
|
|
||||||
let data4 = []
|
|
||||||
let device = []
|
let device = []
|
||||||
this.echartData06.map(e => {
|
this.echartData06.map(e => {
|
||||||
data1.push(e.data1)
|
data1.push(e.qualified_qty)
|
||||||
data2.push(e.data2)
|
data2.push(e.unqualified_qty)
|
||||||
data3.push(e.data3)
|
device.push(e.device_name)
|
||||||
data4.push(e.data4)
|
|
||||||
device.push(e.device)
|
|
||||||
})
|
})
|
||||||
let option = {
|
let option = {
|
||||||
grid: {
|
grid: {
|
||||||
@@ -902,7 +921,7 @@ export default {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
let echart = document.getElementById('echart_10')
|
let echart = document.getElementById('echart_d10')
|
||||||
this.myCharts10 = this.$echarts.init(echart)
|
this.myCharts10 = this.$echarts.init(echart)
|
||||||
this.myCharts10.setOption(option)
|
this.myCharts10.setOption(option)
|
||||||
// this.autoMove(option, 3)
|
// this.autoMove(option, 3)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const ProdCount = r => require.ensure([], () => r(require('@page/ProdCount2')),
|
|||||||
Vue.use(Router)
|
Vue.use(Router)
|
||||||
|
|
||||||
const ProcessProductionOne = r => require.ensure([], () => r(require('@page/modules/processproduction/one')), 'modules')
|
const ProcessProductionOne = r => require.ensure([], () => r(require('@page/modules/processproduction/one')), 'modules')
|
||||||
const ProcessProductionTwo = r => require.ensure([], () => r(require('@page/modules/processproduction/two')), 'modules')
|
const ProcessProductionTwo = r => require.ensure([], () => r(require('@page/modules/processproduction/two2')), 'modules')
|
||||||
const ProcessProductionThree = r => require.ensure([], () => r(require('@page/modules/processproduction/three')), 'modules')
|
const ProcessProductionThree = r => require.ensure([], () => r(require('@page/modules/processproduction/three')), 'modules')
|
||||||
|
|
||||||
export default new Router({
|
export default new Router({
|
||||||
|
|||||||
Reference in New Issue
Block a user