This commit is contained in:
2023-06-02 18:08:45 +08:00
parent 52f29ab6c5
commit 49d271ba02
2 changed files with 146 additions and 138 deletions

View File

@@ -12,6 +12,108 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "yz_real_day": "5.35",
// "YZDayList": [
// {
// "device_name": "压机1",
// "plan_qty": 33572,
// "real_qty": 30669,
// "device_code": "YJ01",
// "unqualified_qty": 905,
// "qualified_qty": 19764,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机2",
// "plan_qty": 15500,
// "real_qty": 15060,
// "device_code": "YJ02",
// "unqualified_qty": 16,
// "qualified_qty": 5044,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机3",
// "plan_qty": 12500,
// "real_qty": 5898,
// "device_code": "YJ03",
// "unqualified_qty": 137,
// "qualified_qty": 5761,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机4",
// "plan_qty": 2340,
// "real_qty": 1902,
// "device_code": "YJ04",
// "unqualified_qty": 52,
// "qualified_qty": 1850,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机5",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ05",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机6",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ06",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机7",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ07",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机8",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ08",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机9",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ09",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机10",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ10",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// }
// ],
// "YZWeekList": [
// {
// "plan_qty": 33572,
// "real_qty": 30669,
// "qualified_qty": 19764,
@@ -113,109 +215,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// }
// ],
// "yz_plan_day": "6.39",
// "YZWeekList": [
// {
// "device_name": "压机1",
// "plan_qty": 33572,
// "real_qty": 30669,
// "device_code": "YJ01",
// "unqualified_qty": null,
// "qualified_qty": null,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机2",
// "plan_qty": 15500,
// "real_qty": 15060,
// "device_code": "YJ02",
// "unqualified_qty": null,
// "qualified_qty": null,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机3",
// "plan_qty": 12500,
// "real_qty": 5898,
// "device_code": "YJ03",
// "unqualified_qty": null,
// "qualified_qty": null,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机4",
// "plan_qty": 2340,
// "real_qty": 1902,
// "device_code": "YJ04",
// "unqualified_qty": null,
// "qualified_qty": null,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机5",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ05",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机6",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ06",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机7",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ07",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机8",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ08",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机9",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ09",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// },
// {
// "device_name": "压机10",
// "plan_qty": 0,
// "real_qty": 0,
// "device_code": "YJ10",
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "YZ"
// }
// ],
// "yz_productivity": 0
// "yz_productivity": 83
// },
// "HL": {
// "HLWeekList": [
@@ -224,8 +224,8 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "plan_qty": 67000,
// "real_qty": 45000,
// "device_code": "HLJ01",
// "unqualified_qty": null,
// "qualified_qty": null,
// "unqualified_qty": 0,
// "qualified_qty": 21000,
// "material_code": null,
// "region_code": "HL"
// },
@@ -234,8 +234,8 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "plan_qty": 67000,
// "real_qty": 42000,
// "device_code": "HLJ02",
// "unqualified_qty": null,
// "qualified_qty": null,
// "unqualified_qty": 0,
// "qualified_qty": 18000,
// "material_code": null,
// "region_code": "HL"
// },
@@ -244,8 +244,8 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "plan_qty": 40000,
// "real_qty": 23000,
// "device_code": "HLJ03",
// "unqualified_qty": null,
// "qualified_qty": null,
// "unqualified_qty": 0,
// "qualified_qty": 18000,
// "material_code": null,
// "region_code": "HL"
// },
@@ -254,8 +254,8 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "plan_qty": 49000,
// "real_qty": 32000,
// "device_code": "HLJ04",
// "unqualified_qty": null,
// "qualified_qty": null,
// "unqualified_qty": 0,
// "qualified_qty": 18000,
// "material_code": null,
// "region_code": "HL"
// },
@@ -264,8 +264,8 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "plan_qty": 5000,
// "real_qty": 3000,
// "device_code": "HLJ05",
// "unqualified_qty": null,
// "qualified_qty": null,
// "unqualified_qty": 0,
// "qualified_qty": 0,
// "material_code": null,
// "region_code": "HL"
// },
@@ -542,7 +542,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "region_code": "HL"
// }
// ],
// "hl_productivity": 0,
// "hl_productivity": 63,
// "hl_plan_day": "228.00",
// "hl_real_day": "145.00"
// },
@@ -627,7 +627,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "device_code": null,
// "unqualified_qty": 0,
// "qualified_qty": 100000,
// "material_code": "GBMCZ3016M322210GM001ZJ22-8",
// "material_code": "GBMCZ3016M3",
// "region_code": null
// },
// {
@@ -637,7 +637,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "device_code": null,
// "unqualified_qty": 0,
// "qualified_qty": 1000000,
// "material_code": "GBMAC3012C123117GM004BB22-30",
// "material_code": "GBMAC3012C1",
// "region_code": null
// },
// {
@@ -647,7 +647,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "device_code": null,
// "unqualified_qty": 300001,
// "qualified_qty": 799999,
// "material_code": "GBMCZ3004M123116GM002ZJ20-8",
// "material_code": "GBMCZ3004M1",
// "region_code": null
// },
// {
@@ -657,7 +657,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "device_code": null,
// "unqualified_qty": 1001,
// "qualified_qty": 10000,
// "material_code": "ZLMCZ1001C122222GM001BD20-8",
// "material_code": "ZLMCZ1001C1",
// "region_code": null
// },
// {
@@ -667,7 +667,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "device_code": null,
// "unqualified_qty": 0,
// "qualified_qty": 555,
// "material_code": "GBMCZ3004M123093GM002ZJ20-30",
// "material_code": "GBMCZ3004M1",
// "region_code": null
// }
// ],
@@ -680,7 +680,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "qualified_qty": 100000,
// "unqualified_qty": 0,
// "device_code": null,
// "material_code": "GBMCZ3016M322210GM001ZJ22-8",
// "material_code": "GBMCZ3016M3",
// "device_name": null,
// "region_code": null
// },
@@ -690,7 +690,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "qualified_qty": 1000000,
// "unqualified_qty": 0,
// "device_code": null,
// "material_code": "GBMAC3012C123117GM004BB22-30",
// "material_code": "GBMAC3012C1",
// "device_name": null,
// "region_code": null
// },
@@ -700,7 +700,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "qualified_qty": 799999,
// "unqualified_qty": 300001,
// "device_code": null,
// "material_code": "GBMCZ3004M123116GM002ZJ20-8",
// "material_code": "GBMCZ3004M1",
// "device_name": null,
// "region_code": null
// },
@@ -710,7 +710,7 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "qualified_qty": 10000,
// "unqualified_qty": 1001,
// "device_code": null,
// "material_code": "ZLMCZ1001C122222GM001BD20-8",
// "material_code": "ZLMCZ1001C1",
// "device_name": null,
// "region_code": null
// },
@@ -720,12 +720,12 @@ export const processProduction = () => post('/api/cockpit/processProduction', {
// "qualified_qty": 555,
// "unqualified_qty": 0,
// "device_code": null,
// "material_code": "GBMCZ3004M123093GM002ZJ20-30",
// "material_code": "GBMCZ3004M1",
// "device_name": null,
// "region_code": null
// }
// ],
// "bz_productivity": 0
// "bz_productivity": 99
// }
// }
// }