diff --git a/src/assets/js/getData0.js b/src/assets/js/getData0.js index 65217ff..e2feca6 100644 --- a/src/assets/js/getData0.js +++ b/src/assets/js/getData0.js @@ -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 // } // } // } diff --git a/src/pages/modules/processproduction/two.vue b/src/pages/modules/processproduction/two.vue index ddac167..9f10a14 100644 --- a/src/pages/modules/processproduction/two.vue +++ b/src/pages/modules/processproduction/two.vue @@ -46,15 +46,15 @@
当日库存数量:
-100万块
+{{num3}}万块
当日入库数量:
-70万块
+{{num4}}万块
当日出库数量:
-80万块
+{{num5}}万块