diff --git a/src/assets/css/layout.styl b/src/assets/css/layout.styl index 85cc8f5..328e336 100644 --- a/src/assets/css/layout.styl +++ b/src/assets/css/layout.styl @@ -2,6 +2,7 @@ // 样式测试 .style_block + display none position absolute _wh(calc(100% / 3), calc(100% / 3)) background red diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js index 098ea17..e9157c3 100644 --- a/src/assets/js/getData2.js +++ b/src/assets/js/getData2.js @@ -2065,3 +2065,977 @@ export const moldingMaterialCondition = () => { } return res } + +// 成型右 +// export const moldingTableDate = () => post('api/cockpit/moldingTableDate', {}) +export const moldingTableDate = () => { + let res = { + 'code': 200, + 'desc': '操作成功', + 'result': { + 'MoldingIOStoringList': [ + { + 'bom': '3003C1', + 'create_time': '2023-06-05 09:39:15', + 'qty': '305', + 'mix_num': '20230605000', + 'io_type': '入库', + 'vehicle_code': '5011', + 'point_code': 'BCPHW40', + 'material_code': 'GBMAC3003C1' + }, + { + 'bom': '3003C1', + 'create_time': '2023-06-05 09:39:15', + 'qty': '230', + 'mix_num': '20230605000', + 'io_type': '入库', + 'vehicle_code': '5082', + 'point_code': 'BCPHW29', + 'material_code': 'GBMAC3003C1' + }, + { + 'bom': '3015C2', + 'create_time': '2023-06-05 09:39:15', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '入库', + 'vehicle_code': '5269', + 'point_code': 'BCPHW16', + 'material_code': 'GBMAC3015C2' + }, + { + 'bom': '3012C1', + 'create_time': '2023-06-05 10:06:16', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5116', + 'point_code': 'BCPHW21', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '1001C1', + 'create_time': '2023-06-05 13:33:22', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5038', + 'point_code': 'BCPHW22', + 'material_code': 'ZLMCZ1001C1' + }, + { + 'bom': '3004M1', + 'create_time': '2023-06-05 13:33:22', + 'qty': '-', + 'mix_num': '-', + 'io_type': '出库', + 'vehicle_code': '5002', + 'point_code': 'BCPHW14', + 'material_code': 'GBMCZ3004M1' + }, + { + 'bom': '3004M1', + 'create_time': '2023-06-05 13:33:22', + 'qty': '-', + 'mix_num': '-', + 'io_type': '出库', + 'vehicle_code': '5098', + 'point_code': 'BCPHW10', + 'material_code': 'GBMCZ3004M1' + }, + { + 'bom': '3004M1', + 'create_time': '2023-06-05 13:33:22', + 'qty': '-', + 'mix_num': '-', + 'io_type': '出库', + 'vehicle_code': '5068', + 'point_code': 'BCPHW09', + 'material_code': 'GBMCZ3004M1' + }, + { + 'bom': '3034C2', + 'create_time': '2023-06-05 12:36:22', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5253', + 'point_code': 'BCPHW11', + 'material_code': 'GBMAC3034C2' + }, + { + 'bom': '3004M1', + 'create_time': '2023-06-05 13:33:22', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5008', + 'point_code': 'BCPHW01', + 'material_code': 'GBMCZ3004M1' + }, + { + 'bom': '3004M1', + 'create_time': '2023-06-05 13:33:22', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5091', + 'point_code': 'BCPHW08', + 'material_code': 'GBMCZ3004M1' + }, + { + 'bom': '3012C1', + 'create_time': '2023-06-05 14:01:49', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5007', + 'point_code': 'BCPHW16', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '3034C2', + 'create_time': '2023-06-05 14:11:40', + 'qty': '18', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5245', + 'point_code': 'BCPHW17', + 'material_code': 'GBMAC3034C2' + }, + { + 'bom': '3012C1', + 'create_time': '2023-06-05 14:35:16', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5254', + 'point_code': 'BCPHW19', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '3034C2', + 'create_time': '2023-06-05 14:44:04', + 'qty': '270', + 'mix_num': '20230605000', + 'io_type': '出库', + 'vehicle_code': '5016', + 'point_code': 'BCPHW20', + 'material_code': 'GBMAC3034C2' + } + ], + 'SemiFinishedProductShelList': [ + { + 'create_time': '2023-05-25 14:41:19', + 'qty': '0', + 'mix_num': '20230605000', + 'point_name': '半成品货位1', + 'vehicle_code': '5036', + 'point_code': 'BCPHW01', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 10:09:57', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位2', + 'vehicle_code': '5122', + 'point_code': 'BCPHW02', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 10:40:47', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位3', + 'vehicle_code': '5024', + 'point_code': 'BCPHW03', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-22 08:48:57', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位4', + 'vehicle_code': '5063', + 'point_code': 'BCPHW04', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-19 16:47:43', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位5', + 'vehicle_code': '5058', + 'point_code': 'BCPHW05', + 'point_status': '1', + 'material_code': 'GBMCZ3009L3' + }, + { + 'create_time': '2023-05-22 15:35:42', + 'qty': '0', + 'mix_num': '20230605000', + 'point_name': '半成品货位6', + 'vehicle_code': '5073', + 'point_code': 'BCPHW06', + 'point_status': '1', + 'material_code': 'GBMCZ3004M1' + }, + { + 'create_time': '2023-05-25 15:04:34', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位7', + 'vehicle_code': '5053', + 'point_code': 'BCPHW07', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-25 15:26:48', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位8', + 'vehicle_code': '5248', + 'point_code': 'BCPHW08', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-22 12:07:59', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位9', + 'vehicle_code': '5050', + 'point_code': 'BCPHW09', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 11:18:40', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位10', + 'vehicle_code': '5004', + 'point_code': 'BCPHW10', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 12:40:49', + 'qty': '0', + 'mix_num': '20230605000', + 'point_name': '半成品货位11', + 'vehicle_code': '5272', + 'point_code': 'BCPHW11', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 11:57:29', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位12', + 'vehicle_code': '5077', + 'point_code': 'BCPHW12', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 09:14:11', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位13', + 'vehicle_code': '5133', + 'point_code': 'BCPHW13', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-22 10:35:26', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位14', + 'vehicle_code': '5039', + 'point_code': 'BCPHW14', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 12:18:54', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位15', + 'vehicle_code': '5033', + 'point_code': 'BCPHW15', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-29 08:54:25', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位16', + 'vehicle_code': '5269', + 'point_code': 'BCPHW16', + 'point_status': '1', + 'material_code': 'GBMAC3015C2' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位17', + 'vehicle_code': '-', + 'point_code': 'BCPHW17', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '2023-05-18 14:56:43', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位18', + 'vehicle_code': '5143', + 'point_code': 'BCPHW18', + 'point_status': '1', + 'material_code': 'GBMCZ3009L3' + }, + { + 'create_time': '2023-05-26 14:41:39', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位19', + 'vehicle_code': '5080', + 'point_code': 'BCPHW19', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 15:00:32', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位20', + 'vehicle_code': '5091', + 'point_code': 'BCPHW20', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-18 13:47:45', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位21', + 'vehicle_code': '5081', + 'point_code': 'BCPHW21', + 'point_status': '1', + 'material_code': 'GBMCZ3009L3' + }, + { + 'create_time': '2023-05-22 15:43:40', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位22', + 'vehicle_code': '5034', + 'point_code': 'BCPHW22', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 07:53:36', + 'qty': '324', + 'mix_num': '20230605000', + 'point_name': '半成品货位23', + 'vehicle_code': '5048', + 'point_code': 'BCPHW23', + 'point_status': '1', + 'material_code': 'GBMAC3003C1' + }, + { + 'create_time': '2023-05-23 09:19:36', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位24', + 'vehicle_code': '5070', + 'point_code': 'BCPHW24', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 09:17:28', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位25', + 'vehicle_code': '5076', + 'point_code': 'BCPHW25', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 10:53:00', + 'qty': '0', + 'mix_num': '20230605000', + 'point_name': '半成品货位26', + 'vehicle_code': '5066', + 'point_code': 'BCPHW26', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 10:53:19', + 'qty': '324', + 'mix_num': '20230605000', + 'point_name': '半成品货位27', + 'vehicle_code': '5120', + 'point_code': 'BCPHW27', + 'point_status': '1', + 'material_code': 'GBMAC3003C1' + }, + { + 'create_time': '2023-05-23 09:33:58', + 'qty': '0', + 'mix_num': '20230605000', + 'point_name': '半成品货位28', + 'vehicle_code': '5069', + 'point_code': 'BCPHW28', + 'point_status': '1', + 'material_code': 'GBMCZ3004M1' + }, + { + 'create_time': '2023-05-29 08:10:28', + 'qty': '230', + 'mix_num': '20230605000', + 'point_name': '半成品货位29', + 'vehicle_code': '5082', + 'point_code': 'BCPHW29', + 'point_status': '1', + 'material_code': 'GBMAC3003C1' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位30', + 'vehicle_code': '-', + 'point_code': 'BCPHW30', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '2023-05-26 13:08:07', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位31', + 'vehicle_code': '5054', + 'point_code': 'BCPHW31', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-22 13:47:38', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位32', + 'vehicle_code': '5029', + 'point_code': 'BCPHW32', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-19 15:44:44', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位33', + 'vehicle_code': '5144', + 'point_code': 'BCPHW33', + 'point_status': '1', + 'material_code': 'GBMCZ3009L3' + }, + { + 'create_time': '2023-05-22 13:01:53', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位34', + 'vehicle_code': '5085', + 'point_code': 'BCPHW34', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 13:30:59', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位35', + 'vehicle_code': '5049', + 'point_code': 'BCPHW35', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-26 13:44:51', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位36', + 'vehicle_code': '5249', + 'point_code': 'BCPHW36', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 14:37:39', + 'qty': '120', + 'mix_num': '20230605000', + 'point_name': '半成品货位37', + 'vehicle_code': '5256', + 'point_code': 'BCPHW37', + 'point_status': '1', + 'material_code': 'GBMAC3034C2' + }, + { + 'create_time': '2023-05-22 14:45:16', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位38', + 'vehicle_code': '5020', + 'point_code': 'BCPHW38', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 15:07:17', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位39', + 'vehicle_code': '5008', + 'point_code': 'BCPHW39', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-26 15:19:14', + 'qty': '305', + 'mix_num': '20230605000', + 'point_name': '半成品货位40', + 'vehicle_code': '5011', + 'point_code': 'BCPHW40', + 'point_status': '1', + 'material_code': 'GBMAC3003C1' + }, + { + 'create_time': '2023-05-22 16:21:06', + 'qty': '288', + 'mix_num': '20230605000', + 'point_name': '半成品货位41', + 'vehicle_code': '5146', + 'point_code': 'BCPHW41', + 'point_status': '1', + 'material_code': 'GBMCZ3004M1' + }, + { + 'create_time': '2023-05-22 16:21:52', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位42', + 'vehicle_code': '5131', + 'point_code': 'BCPHW42', + 'point_status': '1', + 'material_code': 'GBMAC3012C1' + }, + { + 'create_time': '2023-05-23 10:24:13', + 'qty': '270', + 'mix_num': '20230605000', + 'point_name': '半成品货位43', + 'vehicle_code': '5061', + 'point_code': 'BCPHW43', + 'point_status': '1', + 'material_code': 'GBMCZ3004M1' + }, + { + 'create_time': '2023-05-23 12:07:16', + 'qty': '0', + 'mix_num': '20230605000', + 'point_name': '半成品货位44', + 'vehicle_code': '5112', + 'point_code': 'BCPHW44', + 'point_status': '1', + 'material_code': 'GBMCZ3004M1' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位45', + 'vehicle_code': '-', + 'point_code': 'BCPHW45', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位46', + 'vehicle_code': '-', + 'point_code': 'BCPHW46', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位47', + 'vehicle_code': '-', + 'point_code': 'BCPHW47', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位48', + 'vehicle_code': '-', + 'point_code': 'BCPHW48', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位49', + 'vehicle_code': '-', + 'point_code': 'BCPHW49', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位50', + 'vehicle_code': '-', + 'point_code': 'BCPHW50', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位51', + 'vehicle_code': '-', + 'point_code': 'BCPHW51', + 'point_status': '0', + 'material_code': '-' + }, + { + 'create_time': '', + 'qty': '', + 'mix_num': '-', + 'point_name': '半成品货位52', + 'vehicle_code': '-', + 'point_code': 'BCPHW52', + 'point_status': '0', + 'material_code': '-' + } + ], + 'MoldingDayList': [ + { + 'bom': '3012C1', + 'workorder_id': '1660922283415453696', + 'plan_qty': '7000', + 'workorder_code': '230523040', + 'realproducestart_date': '2023-05-24 07:56:48', + 'order_status': '5', + 'device_name': '压机1', + 'order_status_name': '完成', + 'real_qty': '2298', + 'device_code': 'YJ01', + 'realproduceend_date': '2023-05-24 16:19:25', + 'total_mix_frequency': '8', + 'region_code': 'YZ', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '3012C1', + 'workorder_id': '1661283274846281728', + 'plan_qty': '5000', + 'workorder_code': '230524031', + 'realproducestart_date': '2023-05-25 08:07:39', + 'order_status': '5', + 'device_name': '压机1', + 'order_status_name': '完成', + 'real_qty': '2415', + 'device_code': 'YJ01', + 'realproduceend_date': '2023-05-25 15:40:43', + 'total_mix_frequency': '10', + 'region_code': 'YZ', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '3034C2', + 'workorder_id': '1661283420745146368', + 'plan_qty': '3000', + 'workorder_code': '230524034', + 'realproducestart_date': '2023-05-25 08:08:02', + 'order_status': '5', + 'device_name': '压机2', + 'order_status_name': '完成', + 'real_qty': '2552', + 'device_code': 'YJ02', + 'realproduceend_date': '2023-05-25 15:45:51', + 'total_mix_frequency': '11', + 'region_code': 'YZ', + 'material_code': 'GBMAC3034C2' + }, + { + 'bom': '3003C1', + 'workorder_id': '1661283572813832192', + 'plan_qty': '7000', + 'workorder_code': '230524037', + 'realproducestart_date': '2023-05-26 07:54:01', + 'order_status': '5', + 'device_name': '压机3', + 'order_status_name': '完成', + 'real_qty': '898', + 'device_code': 'YJ03', + 'realproduceend_date': '2023-05-26 15:51:28', + 'total_mix_frequency': '2', + 'region_code': 'YZ', + 'material_code': 'GBMAC3003C1' + }, + { + 'bom': '3003C1', + 'workorder_id': '1661283680963960832', + 'plan_qty': '900', + 'workorder_code': '230524040', + 'realproducestart_date': '2023-05-26 07:53:34', + 'order_status': '5', + 'device_name': '压机4', + 'order_status_name': '完成', + 'real_qty': '902', + 'device_code': 'YJ04', + 'realproduceend_date': '2023-05-26 13:54:22', + 'total_mix_frequency': '1', + 'region_code': 'YZ', + 'material_code': 'GBMAC3003C1' + }, + { + 'bom': '3012C1', + 'workorder_id': '1661644006297387008', + 'plan_qty': '12500', + 'workorder_code': '230525013', + 'realproducestart_date': '2023-05-26 07:49:42', + 'order_status': '5', + 'device_name': '压机1', + 'order_status_name': '完成', + 'real_qty': '12310', + 'device_code': 'YJ01', + 'realproduceend_date': '2023-05-26 15:38:37', + 'total_mix_frequency': '9', + 'region_code': 'YZ', + 'material_code': 'GBMAC3012C1' + }, + { + 'bom': '3034C2', + 'workorder_id': '1661644086618308608', + 'plan_qty': '12500', + 'workorder_code': '230525016', + 'realproducestart_date': '2023-05-26 07:49:29', + 'order_status': '5', + 'device_name': '压机2', + 'order_status_name': '完成', + 'real_qty': '12508', + 'device_code': 'YJ02', + 'realproduceend_date': '2023-05-26 15:33:27', + 'total_mix_frequency': '9', + 'region_code': 'YZ', + 'material_code': 'GBMAC3034C2' + }, + { + 'bom': '3038C2', + 'workorder_id': '1662005782209839104', + 'plan_qty': '1296', + 'workorder_code': '230526025', + 'realproducestart_date': '2023-05-29 08:09:21', + 'order_status': '3', + 'device_name': '压机1', + 'order_status_name': '生产中', + 'real_qty': '1200', + 'device_code': 'YJ01', + 'realproduceend_date': '-', + 'total_mix_frequency': '1', + 'region_code': 'YZ', + 'material_code': 'GBMAC3038C2' + }, + { + 'bom': '3038C2', + 'workorder_id': '1662006089157394432', + 'plan_qty': '3888', + 'workorder_code': '230526031', + 'realproducestart_date': '-', + 'order_status': '1', + 'device_name': '压机1', + 'order_status_name': '未生产', + 'real_qty': '3856', + 'device_code': 'YJ01', + 'realproduceend_date': '-', + 'total_mix_frequency': '0', + 'region_code': 'YZ', + 'material_code': 'GBMAC3038C2' + }, + { + 'bom': '3003C1', + 'workorder_id': '1662006554016301056', + 'plan_qty': '5500', + 'workorder_code': '230526040', + 'realproducestart_date': '2023-05-29 08:31:33', + 'order_status': '3', + 'device_name': '压机3', + 'order_status_name': '生产中', + 'real_qty': '5000', + 'device_code': 'YJ03', + 'realproduceend_date': '-', + 'total_mix_frequency': '0', + 'region_code': 'YZ', + 'material_code': 'GBMAC3003C1' + }, + { + 'bom': '3003C1', + 'workorder_id': '1662006688682819584', + 'plan_qty': '1440', + 'workorder_code': '230526043', + 'realproducestart_date': '2023-05-29 08:10:16', + 'order_status': '3', + 'device_name': '压机4', + 'order_status_name': '生产中', + 'real_qty': '1000', + 'device_code': 'YJ04', + 'realproduceend_date': '-', + 'total_mix_frequency': '1', + 'region_code': 'YZ', + 'material_code': 'GBMAC3003C1' + }, + { + 'bom': '2031M2', + 'workorder_id': '1662282237812621312', + 'plan_qty': '10888', + 'workorder_code': '230527001', + 'realproducestart_date': '2023-05-27 10:20:35', + 'order_status': '5', + 'device_name': '压机1', + 'order_status_name': '完成', + 'real_qty': '10888', + 'device_code': 'YJ01', + 'realproduceend_date': '2023-05-27 13:57:43', + 'total_mix_frequency': '0', + 'region_code': 'YZ', + 'material_code': 'DLMCZ2031M2' + } + ] + } + } + return res +} + +// 分拣包装右 +// export const sortingAndPackaging = () => post('api/cockpit/sortingAndPackaging', {}) +export const sortingAndPackaging = () => { + let res = { + 'code': 200, + 'desc': '操作成功', + 'result': { + 'SortingDayList': [ + { + 'total_palletizing_qty': '0', + 'total_stripping_qty': '288', + 'material_id': '1658742670023069696', + 'material_code': 'GBMCZ3004M1' + }, + { + 'total_palletizing_qty': '0', + 'total_stripping_qty': '270', + 'material_id': '1655138063413809152', + 'material_code': 'ZLMCZ1001C1' + }, + { + 'total_palletizing_qty': '0', + 'total_stripping_qty': '576', + 'material_id': '1659114773914193920', + 'material_code': 'GBMCZ3004M1' + } + ], + 'PackingAreaTaskList': [ + { + 'device_name': '-', + 'instorage_time': '-', + 'qty': '-', + 'device_code': '-', + 'mix_num': '-', + 'point_name': '包装线1', + 'point_status_name': '无货', + 'vehicle_code': '-', + 'point_code': 'BZX01', + 'point_status': '0', + 'material_code': '-' + } + ], + 'HalfSupportCacheList': [ + { + 'device_name': '-', + 'instorage_time': '-', + 'qty': '-', + 'device_code': '-', + 'mix_num': '-', + 'point_name': '半托缓存位1', + 'point_status_name': '无货', + 'vehicle_code': '-', + 'point_code': 'BTHC01', + 'point_status': '0', + 'material_code': '-' + } + ], + 'CPDayList': [ + { + 'qualified_in_qty': 1259, + 'unqualified_in_qty': 208, + 'inventory_qty': 1096, + 'material_code': '成品1' + }, + { + 'qualified_in_qty': 1654, + 'unqualified_in_qty': 1522, + 'inventory_qty': 1934, + 'material_code': '成品2' + }, + { + 'qualified_in_qty': 1153, + 'unqualified_in_qty': 659, + 'inventory_qty': 637, + 'material_code': '成品3' + }, + { + 'qualified_in_qty': 743, + 'unqualified_in_qty': 1525, + 'inventory_qty': 1248, + 'material_code': '成品4' + }, + { + 'qualified_in_qty': 1697, + 'unqualified_in_qty': 434, + 'inventory_qty': 511, + 'material_code': '成品5' + } + ] + } + } + return res +} diff --git a/src/pages/modules/homepage/two.vue b/src/pages/modules/homepage/two.vue index 4604e77..d4f19cf 100644 --- a/src/pages/modules/homepage/two.vue +++ b/src/pages/modules/homepage/two.vue @@ -757,7 +757,7 @@ export default { border 1px solid rgba(8,205,248,0.3) .scroll_tab_1 _wh(100%, 40px) - border-bottom 1 solid rgba(8,205,248,0.3) + border-bottom 1px solid rgba(8,205,248,0.3) li float left width 20% @@ -775,7 +775,7 @@ export default { .scroll-ul_1 li _wh(100%, 44px) - border-bottom 1 solid rgba(8,205,248,0.3) + border-bottom 1px solid rgba(8,205,248,0.3) &:nth-child(even) background rgba(1,24,52,0.60) box-shadow inset 0px 1px 0px 0px rgba(13,89,115,0.3) diff --git a/src/pages/modules/sortpack/two.vue b/src/pages/modules/sortpack/two.vue index f1b5226..9a30c45 100644 --- a/src/pages/modules/sortpack/two.vue +++ b/src/pages/modules/sortpack/two.vue @@ -9,74 +9,47 @@
-
-
当日压制任务
+
+
当日拆码垛
+
+
+
+
+
+
+
+
当日成品
+
+
+
+
+
+
+
+
+
+
半托缓存
    -
  • 任务号
  • -
  • 设备
  • -
  • BOM号
  • -
  • 生产物料
  • -
  • 厂家
  • -
  • 计划量(块)
  • -
  • 已生产(块)
  • -
  • 碾次
  • -
  • 生产状态
  • -
  • 开始时间
  • -
  • 结束时间
  • -
-
- -
    -
  • -
    {{e.time}}
    -
    {{e.code}}
    -
    {{e.name}}
    -
    {{e.info}}
    -
    {{e.status}}
    -
    -
    -
    -
    -
    -
    -
  • -
-
-
-
-
-
-
-
-
-
-
成型库存
-
-
-
-
  • 货位
  • 物料编码
  • -
  • 物料名称
  • 数量
  • -
  • 载具号
  • +
  • 压机号
  • 碾次
  • 入库时间
- -
    -
  • -
    {{e.time}}
    -
    {{e.code}}
    -
    {{e.name}}
    -
    {{e.info}}
    -
    {{e.status}}
    -
    -
    + +
      +
    • +
      {{e.point_name}}
      +
      {{e.material_code}}
      +
      {{e.qty}}
      +
      {{e.device_code}}
      +
      {{ e.mix_num }}
      +
      {{ e.instorage_time }}
    @@ -85,33 +58,29 @@
-
-
成型出入库
+
+
包装区物料
    -
  • 类别
  • +
  • 点位
  • 物料编码
  • -
  • 物料名称
  • 数量
  • -
  • 载具号
  • +
  • 压机号
  • 碾次
  • -
  • 货位
  • 出入时间
-
- -
    -
  • -
    {{e.time}}
    -
    {{e.code}}
    -
    {{e.name}}
    -
    {{e.info}}
    -
    {{e.status}}
    -
    -
    -
    +
    + +
      +
    • +
      {{e.point_name}}
      +
      {{e.material_code}}
      +
      {{e.qty}}
      +
      {{e.device_code}}
      +
      {{ e.mix_num }}
      +
      {{ e.instorage_time }}
    @@ -122,21 +91,72 @@
+
+
+
1
+
2
+
3
+
4
+
5
+
6
+
+
+
+
+
+
+
+
+
+
+
+
@@ -155,9 +219,12 @@ export default { diff --git a/src/pages/modules/takeshape/one.vue b/src/pages/modules/takeshape/one.vue index 16b59b0..a9e7773 100644 --- a/src/pages/modules/takeshape/one.vue +++ b/src/pages/modules/takeshape/one.vue @@ -645,7 +645,7 @@
6
- +
@@ -856,70 +856,118 @@ export default { this.foldlineStyle = 'foldline_right' break case 2: - this.pkObj = this.PressPopoverList[1] + this.pkObj = this.TrayStationPopoverList[1] this.top = this.$refs.mpgw02.getBoundingClientRect().top - 21 this.left = this.$refs.mpgw02.getBoundingClientRect().left - 657 this.foldlineStyle = 'foldline_right' break case 3: - this.pkObj = this.PressPopoverList[2] + this.pkObj = this.TrayStationPopoverList[2] this.top = this.$refs.mpgw03.getBoundingClientRect().top - 40 this.left = this.$refs.mpgw03.getBoundingClientRect().left - 635 this.foldlineStyle = 'foldline_right' break case 4: - this.pkObj = this.PressPopoverList[3] + this.pkObj = this.TrayStationPopoverList[3] this.top = this.$refs.mpgw04.getBoundingClientRect().top - 40 this.left = this.$refs.mpgw04.getBoundingClientRect().left - 635 this.foldlineStyle = 'foldline_right' break case 5: - this.pkObj = this.PressPopoverList[4] + this.pkObj = this.TrayStationPopoverList[4] this.top = this.$refs.mpgw05.getBoundingClientRect().top - 21 this.left = this.$refs.mpgw05.getBoundingClientRect().left - 657 this.foldlineStyle = 'foldline_right' break case 6: - this.pkObj = this.PressPopoverList[5] + this.pkObj = this.TrayStationPopoverList[5] this.top = this.$refs.mpgw06.getBoundingClientRect().top - 21 this.left = this.$refs.mpgw06.getBoundingClientRect().left - 657 this.foldlineStyle = 'foldline_right' break case 7: - this.pkObj = this.PressPopoverList[6] + this.pkObj = this.TrayStationPopoverList[6] this.top = this.$refs.mpgw07.getBoundingClientRect().top - 21 this.left = this.$refs.mpgw07.getBoundingClientRect().left - 657 this.foldlineStyle = 'foldline_right' break case 8: - this.pkObj = this.PressPopoverList[7] + this.pkObj = this.TrayStationPopoverList[7] this.top = this.$refs.mpgw08.getBoundingClientRect().top - 21 this.left = this.$refs.mpgw08.getBoundingClientRect().left - 657 this.foldlineStyle = 'foldline_right' break case 9: - this.pkObj = this.PressPopoverList[8] + this.pkObj = this.TrayStationPopoverList[8] this.top = this.$refs.mpgw09.getBoundingClientRect().top - 40 this.left = this.$refs.mpgw09.getBoundingClientRect().left - 635 this.foldlineStyle = 'foldline_right' break case 10: - this.pkObj = this.PressPopoverList[9] + this.pkObj = this.TrayStationPopoverList[9] this.top = this.$refs.mpgw10.getBoundingClientRect().top - 40 this.left = this.$refs.mpgw10.getBoundingClientRect().left - 635 this.foldlineStyle = 'foldline_right' break case 11: - this.pkObj = this.PressPopoverList[10] + this.pkObj = this.TrayStationPopoverList[10] this.top = this.$refs.mpgw11.getBoundingClientRect().top - 40 - this.left = this.$refs.mpgw11.getBoundingClientRect().left - 635 - this.foldlineStyle = 'foldline_right' + this.left = this.$refs.mpgw11.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' break case 12: - this.pkObj = this.PressPopoverList[11] + this.pkObj = this.TrayStationPopoverList[11] this.top = this.$refs.mpgw12.getBoundingClientRect().top - 40 - this.left = this.$refs.mpgw12.getBoundingClientRect().left - 635 - this.foldlineStyle = 'foldline_right' + this.left = this.$refs.mpgw12.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 13: + this.pkObj = this.TrayStationPopoverList[12] + this.top = this.$refs.mpgw13.getBoundingClientRect().top - 40 + this.left = this.$refs.mpgw13.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 14: + this.pkObj = this.TrayStationPopoverList[13] + this.top = this.$refs.mpgw14.getBoundingClientRect().top - 40 + this.left = this.$refs.mpgw14.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 15: + this.pkObj = this.TrayStationPopoverList[14] + this.top = this.$refs.mpgw15.getBoundingClientRect().top - 40 + this.left = this.$refs.mpgw15.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 16: + this.pkObj = this.TrayStationPopoverList[15] + this.top = this.$refs.mpgw16.getBoundingClientRect().top - 40 + this.left = this.$refs.mpgw16.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 17: + this.pkObj = this.TrayStationPopoverList[16] + this.top = this.$refs.mpgw17.getBoundingClientRect().top - 40 + this.left = this.$refs.mpgw17.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 18: + this.pkObj = this.TrayStationPopoverList[17] + this.top = this.$refs.mpgw18.getBoundingClientRect().top - 40 + this.left = this.$refs.mpgw18.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 19: + this.pkObj = this.TrayStationPopoverList[18] + this.top = this.$refs.mpgw19.getBoundingClientRect().top - 24 + this.left = this.$refs.mpgw19.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' + break + case 20: + this.pkObj = this.TrayStationPopoverList[19] + this.top = this.$refs.mpgw20.getBoundingClientRect().top - 24 + this.left = this.$refs.mpgw20.getBoundingClientRect().left + 112 + this.foldlineStyle = 'foldline_left' break } } @@ -936,6 +984,8 @@ export default { _wh(100%, 100%) overflow hidden .n_header + position relative + z-index 0 _wh(100%, 8%) _bis('../../../images/bg_header.jpg') .n_header_h1 diff --git a/src/pages/modules/takeshape/two.vue b/src/pages/modules/takeshape/two.vue index 289aeb0..f34a266 100644 --- a/src/pages/modules/takeshape/two.vue +++ b/src/pages/modules/takeshape/two.vue @@ -19,7 +19,6 @@
  • 设备
  • BOM号
  • 生产物料
  • -
  • 厂家
  • 计划量(块)
  • 已生产(块)
  • 碾次
  • @@ -28,20 +27,19 @@
  • 结束时间
  • - +
      -
    • -
      {{e.time}}
      -
      {{e.code}}
      -
      {{e.name}}
      -
      {{e.info}}
      -
      {{e.status}}
      -
      -
      -
      -
      -
      -
      +
    • +
      {{e.workorder_code}}
      +
      {{e.device_name}}
      +
      {{e.bom}}
      +
      {{e.material_code}}
      +
      {{ e.plan_qty }}
      +
      {{ e.real_qty }}
      +
      {{ e.total_mix_frequency }}
      +
      {{ e.order_status_name }}
      +
      {{ e.realproducestart_date }}
      +
      {{ e.realproduceend_date }}
    @@ -60,23 +58,21 @@
    • 货位
    • 物料编码
    • -
    • 物料名称
    • 数量
    • 载具号
    • 碾次
    • 入库时间
    - +
      -
    • -
      {{e.time}}
      -
      {{e.code}}
      -
      {{e.name}}
      -
      {{e.info}}
      -
      {{e.status}}
      -
      -
      +
    • +
      {{e.point_name}}
      +
      {{e.material_code}}
      +
      {{e.qty}}
      +
      {{e.vehicle_code}}
      +
      {{ e.mix_num }}
      +
      {{ e.create_time }}
    @@ -93,7 +89,6 @@
    • 类别
    • 物料编码
    • -
    • 物料名称
    • 数量
    • 载具号
    • 碾次
    • @@ -101,17 +96,16 @@
    • 出入时间
    - +
      -
    • -
      {{e.time}}
      -
      {{e.code}}
      -
      {{e.name}}
      -
      {{e.info}}
      -
      {{e.status}}
      -
      -
      -
      +
    • +
      {{e.io_type}}
      +
      {{e.material_code}}
      +
      {{e.qty}}
      +
      {{e.vehicle_code}}
      +
      {{ e.mix_num }}
      +
      {{ e.point_code }}
      +
      {{ e.create_time }}
    @@ -122,21 +116,71 @@
    +
    +
    +
    1
    +
    2
    +
    3
    +
    4
    +
    5
    +
    6
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    @@ -155,9 +242,12 @@ export default {