diff --git a/src/assets/js/getData2.js b/src/assets/js/getData2.js index f463322..1249419 100644 --- a/src/assets/js/getData2.js +++ b/src/assets/js/getData2.js @@ -11,3062 +11,3062 @@ export const findDeviceById = (id) => post('api/cockpit/findDeviceById', { id: id }) // 首页车间情况 -// export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) -export const workshopCondition = () => { - let res = { - 'code': 200, - 'desc': '操作成功', - 'result': { - 'SemiFinishedProductShelfList': [ - { - 'point_name': '半成品货位1', - 'point_code': 'BCPHW01', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位3', - 'point_code': 'BCPHW03', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位5', - 'point_code': 'BCPHW05', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位7', - 'point_code': 'BCPHW07', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位9', - 'point_code': 'BCPHW09', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位11', - 'point_code': 'BCPHW11', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位13', - 'point_code': 'BCPHW13', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位15', - 'point_code': 'BCPHW15', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位17', - 'point_code': 'BCPHW17', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位19', - 'point_code': 'BCPHW19', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位21', - 'point_code': 'BCPHW21', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位23', - 'point_code': 'BCPHW23', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位25', - 'point_code': 'BCPHW25', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位27', - 'point_code': 'BCPHW27', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位29', - 'point_code': 'BCPHW29', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位31', - 'point_code': 'BCPHW31', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位33', - 'point_code': 'BCPHW33', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位35', - 'point_code': 'BCPHW35', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位37', - 'point_code': 'BCPHW37', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位39', - 'point_code': 'BCPHW39', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位41', - 'point_code': 'BCPHW41', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位43', - 'point_code': 'BCPHW43', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位45', - 'point_code': 'BCPHW45', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位47', - 'point_code': 'BCPHW47', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位49', - 'point_code': 'BCPHW49', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位51', - 'point_code': 'BCPHW51', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位2', - 'point_code': 'BCPHW02', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位4', - 'point_code': 'BCPHW04', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位6', - 'point_code': 'BCPHW06', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位8', - 'point_code': 'BCPHW08', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位10', - 'point_code': 'BCPHW10', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位12', - 'point_code': 'BCPHW12', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位14', - 'point_code': 'BCPHW14', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位16', - 'point_code': 'BCPHW16', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位18', - 'point_code': 'BCPHW18', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位20', - 'point_code': 'BCPHW20', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位22', - 'point_code': 'BCPHW22', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位24', - 'point_code': 'BCPHW24', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位26', - 'point_code': 'BCPHW26', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位28', - 'point_code': 'BCPHW28', - 'point_status': '1', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位30', - 'point_code': 'BCPHW30', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位32', - 'point_code': 'BCPHW32', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位34', - 'point_code': 'BCPHW34', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位36', - 'point_code': 'BCPHW36', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位38', - 'point_code': 'BCPHW38', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位40', - 'point_code': 'BCPHW40', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位42', - 'point_code': 'BCPHW42', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位44', - 'point_code': 'BCPHW44', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位46', - 'point_code': 'BCPHW46', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位48', - 'point_code': 'BCPHW48', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位50', - 'point_code': 'BCPHW50', - 'point_status': '0', - 'region_code': 'BCPHJ' - }, - { - 'point_name': '半成品货位52', - 'point_code': 'BCPHW52', - 'point_status': '0', - 'region_code': 'BCPHJ' - } - ], - 'HLDayList': [ - { - 'plan_qty': 46000, - 'real_qty': 7500, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ01', - 'material_code': null, - 'device_name': '混料机1', - 'region_code': 'HL' - }, - { - 'plan_qty': 68000, - 'real_qty': 9000, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ02', - 'material_code': null, - 'device_name': '混料机2', - 'region_code': 'HL' - }, - { - 'plan_qty': 60000, - 'real_qty': 3000, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ03', - 'material_code': null, - 'device_name': '混料机3', - 'region_code': 'HL' - }, - { - 'plan_qty': 60000, - 'real_qty': 3000, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ04', - 'material_code': null, - 'device_name': '混料机4', - 'region_code': 'HL' - }, - { - 'plan_qty': 52000, - 'real_qty': 42000, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ05', - 'material_code': null, - 'device_name': '混料机5', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ06', - 'material_code': null, - 'device_name': '混料机6', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ07', - 'material_code': null, - 'device_name': '混料机7', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ08', - 'material_code': null, - 'device_name': '混料机8', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ09', - 'material_code': null, - 'device_name': '混料机9', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ10', - 'material_code': null, - 'device_name': '混料机10', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ11', - 'material_code': null, - 'device_name': '混料机11', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ12', - 'material_code': null, - 'device_name': '混料机12', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ13', - 'material_code': null, - 'device_name': '混料机13', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ14', - 'material_code': null, - 'device_name': '混料机14', - 'region_code': 'HL' - }, - { - 'plan_qty': 100000000, - 'real_qty': 1501, - 'qualified_qty': 1, - 'unqualified_qty': 0, - 'device_code': 'HLJ15', - 'material_code': null, - 'device_name': '混料机15', - 'region_code': 'HL' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'HLJ16', - 'material_code': null, - 'device_name': '混料机16', - 'region_code': 'HL' - } - ], - 'SortAndPalletizingList': [ - { - 'color_status': 3, - 'point_name': '分拣拆垛1对接位1', - 'point_code': 'FJCD01DJ01', - 'region_code': 'FJ' - }, - { - 'color_status': 3, - 'point_name': '分拣拆垛1对接位2', - 'point_code': 'FJCD01DJ02', - 'region_code': 'FJ' - }, - { - 'color_status': 3, - 'point_name': '分拣码垛1对接位1', - 'point_code': 'FJMD01DJ01', - 'region_code': 'FJ' - }, - { - 'color_status': 3, - 'point_name': '分拣码垛1对接位2', - 'point_code': 'FJMD01DJ02', - 'region_code': 'FJ' - } - ], - 'LastMonthFailureList': [ - { - 'device_name': '机器1', - 'failure': 29, - 'shutdown': null, - 'standby': null, - 'running': null - }, - { - 'device_name': '机器2', - 'failure': 10, - 'shutdown': null, - 'standby': null, - 'running': null - }, - { - 'device_name': '机器3', - 'failure': 20, - 'shutdown': null, - 'standby': null, - 'running': null - }, - { - 'device_name': '机器4', - 'failure': 28, - 'shutdown': null, - 'standby': null, - 'running': null - }, - { - 'device_name': '机器5', - 'failure': 19, - 'shutdown': null, - 'standby': null, - 'running': null - } - ], - 'CPDayList': [ - { - 'qualified_in_qty': 1630, - 'unqualified_in_qty': 1683, - 'inventory_qty': 1874, - 'material_code': '成品1' - }, - { - 'qualified_in_qty': 1549, - 'unqualified_in_qty': 1043, - 'inventory_qty': 1908, - 'material_code': '成品2' - }, - { - 'qualified_in_qty': 1241, - 'unqualified_in_qty': 1652, - 'inventory_qty': 1705, - 'material_code': '成品3' - }, - { - 'qualified_in_qty': 1833, - 'unqualified_in_qty': 1006, - 'inventory_qty': 486, - 'material_code': '成品4' - }, - { - 'qualified_in_qty': 972, - 'unqualified_in_qty': 1676, - 'inventory_qty': 1785, - 'material_code': '成品5' - } - ], - 'LastTenFailureList': [ - { - 'failure_time': '05-30 09:50:12', - 'device_code': 'hl01', - 'device_name': '混料机01', - 'failure_info': '机器故障', - 'device_status_name': '待机' - }, - { - 'failure_time': '05-30 09:50:12', - 'device_code': 'hl02', - 'device_name': '混料机02', - 'failure_info': '机器故障', - 'device_status_name': '待机' - }, - { - 'failure_time': '05-30 09:50:12', - 'device_code': 'hl03', - 'device_name': '混料机03', - 'failure_info': '机器故障', - 'device_status_name': '待机' - }, - { - 'failure_time': '05-30 09:50:12', - 'device_code': 'hl04', - 'device_name': '混料机04', - 'failure_info': '机器故障', - 'device_status_name': '待机' - }, - { - 'failure_time': '05-30 09:50:12', - 'device_code': 'hl05', - 'device_name': '混料机05', - 'failure_info': '机器故障', - 'device_status_name': '待机' - } - ], - 'StackingPositionList': [ - { - 'color_status': 3, - 'point_name': '压机1下料位1', - 'point_code': 'YJ01XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机1下料位2', - 'point_code': 'YJ01XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机2下料位1', - 'point_code': 'YJ02XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机2下料位2', - 'point_code': 'YJ02XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机3下料位1', - 'point_code': 'YJ03XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机3下料位2', - 'point_code': 'YJ03XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机4下料位1', - 'point_code': 'YJ04XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机4下料位2', - 'point_code': 'YJ04XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机5下料位1', - 'point_code': 'YJ05XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机5下料位2', - 'point_code': 'YJ05XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机6下料位1', - 'point_code': 'YJ06XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机6下料位2', - 'point_code': 'YJ06XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机7下料位1', - 'point_code': 'YJ07XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机7下料位2', - 'point_code': 'YJ07XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机8下料位1', - 'point_code': 'YJ08XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机8下料位2', - 'point_code': 'YJ08XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机9下料位1', - 'point_code': 'YJ09XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机9下料位2', - 'point_code': 'YJ09XL02', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机10下料位1', - 'point_code': 'YJ10XL01', - 'region_code': 'YZ' - }, - { - 'color_status': 3, - 'point_name': '压机10下料位2', - 'point_code': 'YJ10XL02', - 'region_code': 'YZ' - } - ], - 'DeviceConditionList': [ - { - 'device_name': '混料', - 'failure': 5, - 'shutdown': 2, - 'standby': 6, - 'running': 3 - }, - { - 'device_name': '压制', - 'failure': 5, - 'shutdown': 2, - 'standby': 6, - 'running': 3 - }, - { - 'device_name': '干燥', - 'failure': 5, - 'shutdown': 2, - 'standby': 6, - 'running': 3 - }, - { - 'device_name': '包装', - 'failure': 5, - 'shutdown': 2, - 'standby': 6, - 'running': 3 - } - ], - 'YZDayList': [ - { - 'plan_qty': 15430, - 'real_qty': 7304, - 'qualified_qty': 7241, - 'unqualified_qty': 63, - 'device_code': 'YJ01', - 'material_code': null, - 'device_name': '压机1', - 'region_code': 'YZ' - }, - { - 'plan_qty': 27900, - 'real_qty': 7250, - 'qualified_qty': 7236, - 'unqualified_qty': 14, - 'device_code': 'YJ02', - 'material_code': null, - 'device_name': '压机2', - 'region_code': 'YZ' - }, - { - 'plan_qty': 19100, - 'real_qty': 2040, - 'qualified_qty': 1975, - 'unqualified_qty': 65, - 'device_code': 'YJ03', - 'material_code': null, - 'device_name': '压机3', - 'region_code': 'YZ' - }, - { - 'plan_qty': 10140, - 'real_qty': 1586, - 'qualified_qty': 1485, - 'unqualified_qty': 101, - 'device_code': 'YJ04', - 'material_code': null, - 'device_name': '压机4', - 'region_code': 'YZ' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'YJ05', - 'material_code': null, - 'device_name': '压机5', - 'region_code': 'YZ' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'YJ06', - 'material_code': null, - 'device_name': '压机6', - 'region_code': 'YZ' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'YJ07', - 'material_code': null, - 'device_name': '压机7', - 'region_code': 'YZ' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'YJ08', - 'material_code': null, - 'device_name': '压机8', - 'region_code': 'YZ' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'YJ09', - 'material_code': null, - 'device_name': '压机9', - 'region_code': 'YZ' - }, - { - 'plan_qty': 0, - 'real_qty': 0, - 'qualified_qty': 0, - 'unqualified_qty': 0, - 'device_code': 'YJ10', - 'material_code': null, - 'device_name': '压机10', - 'region_code': 'YZ' - } - ], - 'MixMachineList': [ - { - 'bom': '3038C2', - 'device_status': 1, - 'device_code': 'HLJ01', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '7500' - }, - { - 'bom': '3038C2', - 'device_status': 1, - 'device_code': 'HLJ02', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '9000' - }, - { - 'bom': '3034C2', - 'device_status': 1, - 'device_code': 'HLJ03', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '3000' - }, - { - 'bom': '3034C2', - 'device_status': 1, - 'device_code': 'HLJ04', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '3000' - }, - { - 'bom': '3038C2', - 'device_status': 1, - 'device_code': 'HLJ05', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '42000' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ06', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ07', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ08', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ09', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ10', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ11', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ12', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ13', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ14', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ15', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '1501' - }, - { - 'bom': '-', - 'device_status': 1, - 'device_code': 'HLJ16', - 'open_time': '2023-06-13 14:08:57', - 'now_capacity': '0' - } - ], - 'PressMachineList': [ - { - 'device_status': 1, - 'device_code': 'YJ01', - 'device_name': '压机01', - 'open_time': '2023-06-13 14:08:57', - 'material_code': 'GBMCZ3039M4', - 'now_capacity': '7304' - }, - { - 'device_status': 1, - 'device_code': 'YJ02', - 'device_name': '压机02', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '7250' - }, - { - 'device_status': 1, - 'device_code': 'YJ03', - 'device_name': '压机03', - 'open_time': '2023-06-13 14:08:57', - 'material_code': 'GBMAC3003C1', - 'now_capacity': '2040' - }, - { - 'device_status': 1, - 'device_code': 'YJ04', - 'device_name': '压机04', - 'open_time': '2023-06-13 14:08:57', - 'material_code': 'GBMCZ3013L3', - 'now_capacity': '1586' - }, - { - 'device_status': 1, - 'device_code': 'YJ05', - 'device_name': '压机05', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '0' - }, - { - 'device_status': 1, - 'device_code': 'YJ06', - 'device_name': '压机06', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '0' - }, - { - 'device_status': 1, - 'device_code': 'YJ07', - 'device_name': '压机07', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '0' - }, - { - 'device_status': 1, - 'device_code': 'YJ08', - 'device_name': '压机08', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '0' - }, - { - 'device_status': 1, - 'device_code': 'YJ09', - 'device_name': '压机09', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '0' - }, - { - 'device_status': 1, - 'device_code': 'YJ10', - 'device_name': '压机10', - 'open_time': '2023-06-13 14:08:57', - 'material_code': '', - 'now_capacity': '0' - } - ], - 'ManipulatorInfoList': [ - { - 'device_name': '码垛机械手1', - 'color_status': 1, - 'device_code': 'MDJXS01', - 'region_code': 'YZ' - }, - { - 'device_name': '码垛机械手2', - 'color_status': 1, - 'device_code': 'MDJXS02', - 'region_code': 'YZ' - }, - { - 'device_name': '码垛机械手3', - 'color_status': 1, - 'device_code': 'MDJXS03', - 'region_code': 'YZ' - }, - { - 'device_name': '码垛机械手4', - 'color_status': 1, - 'device_code': 'MDJXS04', - 'region_code': 'YZ' - }, - { - 'device_name': '分拣拆垛机械手', - 'color_status': 1, - 'device_code': 'FJCDJXS01', - 'region_code': 'FJ' - } - ], - 'TrappedShelfList': [ - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机1空盅货位', - 'point_code': 'KLHW41', - 'point_status': '0', - 'stand_status_name': '' - }, - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机1困料货位1', - 'point_code': 'KLHW42', - 'point_status': '0', - 'stand_status_name': '' - }, - { - 'stand_status_color': '2', - 'stand_status': '3', - 'point_name': '压机1困料货位2', - 'point_code': 'KLHW43', - 'point_status': '2', - 'stand_status_name': '困料完成' - }, - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机1困料货位3', - 'point_code': 'KLHW44', - 'point_status': '0', - 'stand_status_name': '' - }, - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机2空盅货位', - 'point_code': 'KLHW45', - 'point_status': '0', - 'stand_status_name': '' - }, - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机2困料货位1', - 'point_code': 'KLHW46', - 'point_status': '0', - 'stand_status_name': '' - }, - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机2困料货位2', - 'point_code': 'KLHW47', - 'point_status': '0', - 'stand_status_name': '' - }, - { - 'stand_status_color': '', - 'stand_status': '', - 'point_name': '压机2困料货位3', - 'point_code': 'KLHW48', - 'point_status': '0', - 'stand_status_name': '' - } - ], - 'TrappedMaterialShelfList': [ - { - 'stand_status_color': '0', - 'stand_status': '', - 'point_name': '困料货位1', - 'point_code': 'KLHW01', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位3', - 'point_code': 'KLHW03', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '2', - 'stand_status': '3', - 'point_name': '困料货位5', - 'point_code': 'KLHW05', - 'point_status': '2', - 'region_code': 'KLHJ', - 'stand_status_name': '困料完成' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位7', - 'point_code': 'KLHW07', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位9', - 'point_code': 'KLHW09', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位11', - 'point_code': 'KLHW11', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位13', - 'point_code': 'KLHW13', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位15', - 'point_code': 'KLHW15', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位17', - 'point_code': 'KLHW17', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位19', - 'point_code': 'KLHW19', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位21', - 'point_code': 'KLHW21', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位23', - 'point_code': 'KLHW23', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位25', - 'point_code': 'KLHW25', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位27', - 'point_code': 'KLHW27', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位29', - 'point_code': 'KLHW29', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位31', - 'point_code': 'KLHW31', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位33', - 'point_code': 'KLHW33', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位35', - 'point_code': 'KLHW35', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位37', - 'point_code': 'KLHW37', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位39', - 'point_code': 'KLHW39', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位2', - 'point_code': 'KLHW02', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位4', - 'point_code': 'KLHW04', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位6', - 'point_code': 'KLHW06', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位8', - 'point_code': 'KLHW08', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位10', - 'point_code': 'KLHW10', - 'point_status': '1', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位12', - 'point_code': 'KLHW12', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位14', - 'point_code': 'KLHW14', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位16', - 'point_code': 'KLHW16', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位18', - 'point_code': 'KLHW18', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位20', - 'point_code': 'KLHW20', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位22', - 'point_code': 'KLHW22', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位24', - 'point_code': 'KLHW24', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位26', - 'point_code': 'KLHW26', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位28', - 'point_code': 'KLHW28', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位30', - 'point_code': 'KLHW30', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位32', - 'point_code': 'KLHW32', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位34', - 'point_code': 'KLHW34', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位36', - 'point_code': 'KLHW36', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位38', - 'point_code': 'KLHW38', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - }, - { - 'stand_status_color': '1', - 'stand_status': '', - 'point_name': '困料货位40', - 'point_code': 'KLHW40', - 'point_status': '0', - 'region_code': 'KLHJ', - 'stand_status_name': '' - } - ], - 'MixBlankingList': [ - { - 'point_name': '混料机1下料位', - 'point_code': 'HLJ01XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机2下料位', - 'point_code': 'HLJ02XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机3下料位', - 'point_code': 'HLJ03XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机4下料位', - 'point_code': 'HLJ04XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机5下料位', - 'point_code': 'HLJ05XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机6下料位', - 'point_code': 'HLJ06XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机7下料位', - 'point_code': 'HLJ07XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机8下料位', - 'point_code': 'HLJ08XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机9下料位', - 'point_code': 'HLJ09XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机10下料位', - 'point_code': 'HLJ10XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机11下料位', - 'point_code': 'HLJ11XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机12下料位', - 'point_code': 'HLJ12XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机13下料位', - 'point_code': 'HLJ13XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机14下料位', - 'point_code': 'HLJ14XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机15下料位', - 'point_code': 'HLJ15XL01', - 'point_status': '1' - }, - { - 'point_name': '混料机16下料位', - 'point_code': 'HLJ16XL01', - 'point_status': '1' - } - ] - } - } - return res -} +export const workshopCondition = () => post('api/cockpit/workshopCondition', {}) +// export const workshopCondition = () => { +// let res = { +// 'code': 200, +// 'desc': '操作成功', +// 'result': { +// 'SemiFinishedProductShelfList': [ +// { +// 'point_name': '半成品货位1', +// 'point_code': 'BCPHW01', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位3', +// 'point_code': 'BCPHW03', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位5', +// 'point_code': 'BCPHW05', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位7', +// 'point_code': 'BCPHW07', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位9', +// 'point_code': 'BCPHW09', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位11', +// 'point_code': 'BCPHW11', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位13', +// 'point_code': 'BCPHW13', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位15', +// 'point_code': 'BCPHW15', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位17', +// 'point_code': 'BCPHW17', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位19', +// 'point_code': 'BCPHW19', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位21', +// 'point_code': 'BCPHW21', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位23', +// 'point_code': 'BCPHW23', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位25', +// 'point_code': 'BCPHW25', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位27', +// 'point_code': 'BCPHW27', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位29', +// 'point_code': 'BCPHW29', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位31', +// 'point_code': 'BCPHW31', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位33', +// 'point_code': 'BCPHW33', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位35', +// 'point_code': 'BCPHW35', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位37', +// 'point_code': 'BCPHW37', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位39', +// 'point_code': 'BCPHW39', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位41', +// 'point_code': 'BCPHW41', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位43', +// 'point_code': 'BCPHW43', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位45', +// 'point_code': 'BCPHW45', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位47', +// 'point_code': 'BCPHW47', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位49', +// 'point_code': 'BCPHW49', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位51', +// 'point_code': 'BCPHW51', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位2', +// 'point_code': 'BCPHW02', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位4', +// 'point_code': 'BCPHW04', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位6', +// 'point_code': 'BCPHW06', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位8', +// 'point_code': 'BCPHW08', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位10', +// 'point_code': 'BCPHW10', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位12', +// 'point_code': 'BCPHW12', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位14', +// 'point_code': 'BCPHW14', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位16', +// 'point_code': 'BCPHW16', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位18', +// 'point_code': 'BCPHW18', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位20', +// 'point_code': 'BCPHW20', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位22', +// 'point_code': 'BCPHW22', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位24', +// 'point_code': 'BCPHW24', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位26', +// 'point_code': 'BCPHW26', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位28', +// 'point_code': 'BCPHW28', +// 'point_status': '1', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位30', +// 'point_code': 'BCPHW30', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位32', +// 'point_code': 'BCPHW32', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位34', +// 'point_code': 'BCPHW34', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位36', +// 'point_code': 'BCPHW36', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位38', +// 'point_code': 'BCPHW38', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位40', +// 'point_code': 'BCPHW40', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位42', +// 'point_code': 'BCPHW42', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位44', +// 'point_code': 'BCPHW44', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位46', +// 'point_code': 'BCPHW46', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位48', +// 'point_code': 'BCPHW48', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位50', +// 'point_code': 'BCPHW50', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// }, +// { +// 'point_name': '半成品货位52', +// 'point_code': 'BCPHW52', +// 'point_status': '0', +// 'region_code': 'BCPHJ' +// } +// ], +// 'HLDayList': [ +// { +// 'plan_qty': 46000, +// 'real_qty': 7500, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ01', +// 'material_code': null, +// 'device_name': '混料机1', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 68000, +// 'real_qty': 9000, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ02', +// 'material_code': null, +// 'device_name': '混料机2', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 60000, +// 'real_qty': 3000, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ03', +// 'material_code': null, +// 'device_name': '混料机3', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 60000, +// 'real_qty': 3000, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ04', +// 'material_code': null, +// 'device_name': '混料机4', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 52000, +// 'real_qty': 42000, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ05', +// 'material_code': null, +// 'device_name': '混料机5', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ06', +// 'material_code': null, +// 'device_name': '混料机6', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ07', +// 'material_code': null, +// 'device_name': '混料机7', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ08', +// 'material_code': null, +// 'device_name': '混料机8', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ09', +// 'material_code': null, +// 'device_name': '混料机9', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ10', +// 'material_code': null, +// 'device_name': '混料机10', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ11', +// 'material_code': null, +// 'device_name': '混料机11', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ12', +// 'material_code': null, +// 'device_name': '混料机12', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ13', +// 'material_code': null, +// 'device_name': '混料机13', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ14', +// 'material_code': null, +// 'device_name': '混料机14', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 100000000, +// 'real_qty': 1501, +// 'qualified_qty': 1, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ15', +// 'material_code': null, +// 'device_name': '混料机15', +// 'region_code': 'HL' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'HLJ16', +// 'material_code': null, +// 'device_name': '混料机16', +// 'region_code': 'HL' +// } +// ], +// 'SortAndPalletizingList': [ +// { +// 'color_status': 3, +// 'point_name': '分拣拆垛1对接位1', +// 'point_code': 'FJCD01DJ01', +// 'region_code': 'FJ' +// }, +// { +// 'color_status': 3, +// 'point_name': '分拣拆垛1对接位2', +// 'point_code': 'FJCD01DJ02', +// 'region_code': 'FJ' +// }, +// { +// 'color_status': 3, +// 'point_name': '分拣码垛1对接位1', +// 'point_code': 'FJMD01DJ01', +// 'region_code': 'FJ' +// }, +// { +// 'color_status': 3, +// 'point_name': '分拣码垛1对接位2', +// 'point_code': 'FJMD01DJ02', +// 'region_code': 'FJ' +// } +// ], +// 'LastMonthFailureList': [ +// { +// 'device_name': '机器1', +// 'failure': 29, +// 'shutdown': null, +// 'standby': null, +// 'running': null +// }, +// { +// 'device_name': '机器2', +// 'failure': 10, +// 'shutdown': null, +// 'standby': null, +// 'running': null +// }, +// { +// 'device_name': '机器3', +// 'failure': 20, +// 'shutdown': null, +// 'standby': null, +// 'running': null +// }, +// { +// 'device_name': '机器4', +// 'failure': 28, +// 'shutdown': null, +// 'standby': null, +// 'running': null +// }, +// { +// 'device_name': '机器5', +// 'failure': 19, +// 'shutdown': null, +// 'standby': null, +// 'running': null +// } +// ], +// 'CPDayList': [ +// { +// 'qualified_in_qty': 1630, +// 'unqualified_in_qty': 1683, +// 'inventory_qty': 1874, +// 'material_code': '成品1' +// }, +// { +// 'qualified_in_qty': 1549, +// 'unqualified_in_qty': 1043, +// 'inventory_qty': 1908, +// 'material_code': '成品2' +// }, +// { +// 'qualified_in_qty': 1241, +// 'unqualified_in_qty': 1652, +// 'inventory_qty': 1705, +// 'material_code': '成品3' +// }, +// { +// 'qualified_in_qty': 1833, +// 'unqualified_in_qty': 1006, +// 'inventory_qty': 486, +// 'material_code': '成品4' +// }, +// { +// 'qualified_in_qty': 972, +// 'unqualified_in_qty': 1676, +// 'inventory_qty': 1785, +// 'material_code': '成品5' +// } +// ], +// 'LastTenFailureList': [ +// { +// 'failure_time': '05-30 09:50:12', +// 'device_code': 'hl01', +// 'device_name': '混料机01', +// 'failure_info': '机器故障', +// 'device_status_name': '待机' +// }, +// { +// 'failure_time': '05-30 09:50:12', +// 'device_code': 'hl02', +// 'device_name': '混料机02', +// 'failure_info': '机器故障', +// 'device_status_name': '待机' +// }, +// { +// 'failure_time': '05-30 09:50:12', +// 'device_code': 'hl03', +// 'device_name': '混料机03', +// 'failure_info': '机器故障', +// 'device_status_name': '待机' +// }, +// { +// 'failure_time': '05-30 09:50:12', +// 'device_code': 'hl04', +// 'device_name': '混料机04', +// 'failure_info': '机器故障', +// 'device_status_name': '待机' +// }, +// { +// 'failure_time': '05-30 09:50:12', +// 'device_code': 'hl05', +// 'device_name': '混料机05', +// 'failure_info': '机器故障', +// 'device_status_name': '待机' +// } +// ], +// 'StackingPositionList': [ +// { +// 'color_status': 3, +// 'point_name': '压机1下料位1', +// 'point_code': 'YJ01XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机1下料位2', +// 'point_code': 'YJ01XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机2下料位1', +// 'point_code': 'YJ02XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机2下料位2', +// 'point_code': 'YJ02XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机3下料位1', +// 'point_code': 'YJ03XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机3下料位2', +// 'point_code': 'YJ03XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机4下料位1', +// 'point_code': 'YJ04XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机4下料位2', +// 'point_code': 'YJ04XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机5下料位1', +// 'point_code': 'YJ05XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机5下料位2', +// 'point_code': 'YJ05XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机6下料位1', +// 'point_code': 'YJ06XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机6下料位2', +// 'point_code': 'YJ06XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机7下料位1', +// 'point_code': 'YJ07XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机7下料位2', +// 'point_code': 'YJ07XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机8下料位1', +// 'point_code': 'YJ08XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机8下料位2', +// 'point_code': 'YJ08XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机9下料位1', +// 'point_code': 'YJ09XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机9下料位2', +// 'point_code': 'YJ09XL02', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机10下料位1', +// 'point_code': 'YJ10XL01', +// 'region_code': 'YZ' +// }, +// { +// 'color_status': 3, +// 'point_name': '压机10下料位2', +// 'point_code': 'YJ10XL02', +// 'region_code': 'YZ' +// } +// ], +// 'DeviceConditionList': [ +// { +// 'device_name': '混料', +// 'failure': 5, +// 'shutdown': 2, +// 'standby': 6, +// 'running': 3 +// }, +// { +// 'device_name': '压制', +// 'failure': 5, +// 'shutdown': 2, +// 'standby': 6, +// 'running': 3 +// }, +// { +// 'device_name': '干燥', +// 'failure': 5, +// 'shutdown': 2, +// 'standby': 6, +// 'running': 3 +// }, +// { +// 'device_name': '包装', +// 'failure': 5, +// 'shutdown': 2, +// 'standby': 6, +// 'running': 3 +// } +// ], +// 'YZDayList': [ +// { +// 'plan_qty': 15430, +// 'real_qty': 7304, +// 'qualified_qty': 7241, +// 'unqualified_qty': 63, +// 'device_code': 'YJ01', +// 'material_code': null, +// 'device_name': '压机1', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 27900, +// 'real_qty': 7250, +// 'qualified_qty': 7236, +// 'unqualified_qty': 14, +// 'device_code': 'YJ02', +// 'material_code': null, +// 'device_name': '压机2', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 19100, +// 'real_qty': 2040, +// 'qualified_qty': 1975, +// 'unqualified_qty': 65, +// 'device_code': 'YJ03', +// 'material_code': null, +// 'device_name': '压机3', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 10140, +// 'real_qty': 1586, +// 'qualified_qty': 1485, +// 'unqualified_qty': 101, +// 'device_code': 'YJ04', +// 'material_code': null, +// 'device_name': '压机4', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'YJ05', +// 'material_code': null, +// 'device_name': '压机5', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'YJ06', +// 'material_code': null, +// 'device_name': '压机6', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'YJ07', +// 'material_code': null, +// 'device_name': '压机7', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'YJ08', +// 'material_code': null, +// 'device_name': '压机8', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'YJ09', +// 'material_code': null, +// 'device_name': '压机9', +// 'region_code': 'YZ' +// }, +// { +// 'plan_qty': 0, +// 'real_qty': 0, +// 'qualified_qty': 0, +// 'unqualified_qty': 0, +// 'device_code': 'YJ10', +// 'material_code': null, +// 'device_name': '压机10', +// 'region_code': 'YZ' +// } +// ], +// 'MixMachineList': [ +// { +// 'bom': '3038C2', +// 'device_status': 1, +// 'device_code': 'HLJ01', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '7500' +// }, +// { +// 'bom': '3038C2', +// 'device_status': 1, +// 'device_code': 'HLJ02', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '9000' +// }, +// { +// 'bom': '3034C2', +// 'device_status': 1, +// 'device_code': 'HLJ03', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '3000' +// }, +// { +// 'bom': '3034C2', +// 'device_status': 1, +// 'device_code': 'HLJ04', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '3000' +// }, +// { +// 'bom': '3038C2', +// 'device_status': 1, +// 'device_code': 'HLJ05', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '42000' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ06', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ07', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ08', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ09', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ10', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ11', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ12', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ13', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ14', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ15', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '1501' +// }, +// { +// 'bom': '-', +// 'device_status': 1, +// 'device_code': 'HLJ16', +// 'open_time': '2023-06-13 14:08:57', +// 'now_capacity': '0' +// } +// ], +// 'PressMachineList': [ +// { +// 'device_status': 1, +// 'device_code': 'YJ01', +// 'device_name': '压机01', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': 'GBMCZ3039M4', +// 'now_capacity': '7304' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ02', +// 'device_name': '压机02', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '7250' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ03', +// 'device_name': '压机03', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': 'GBMAC3003C1', +// 'now_capacity': '2040' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ04', +// 'device_name': '压机04', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': 'GBMCZ3013L3', +// 'now_capacity': '1586' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ05', +// 'device_name': '压机05', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '0' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ06', +// 'device_name': '压机06', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '0' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ07', +// 'device_name': '压机07', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '0' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ08', +// 'device_name': '压机08', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '0' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ09', +// 'device_name': '压机09', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '0' +// }, +// { +// 'device_status': 1, +// 'device_code': 'YJ10', +// 'device_name': '压机10', +// 'open_time': '2023-06-13 14:08:57', +// 'material_code': '', +// 'now_capacity': '0' +// } +// ], +// 'ManipulatorInfoList': [ +// { +// 'device_name': '码垛机械手1', +// 'color_status': 1, +// 'device_code': 'MDJXS01', +// 'region_code': 'YZ' +// }, +// { +// 'device_name': '码垛机械手2', +// 'color_status': 1, +// 'device_code': 'MDJXS02', +// 'region_code': 'YZ' +// }, +// { +// 'device_name': '码垛机械手3', +// 'color_status': 1, +// 'device_code': 'MDJXS03', +// 'region_code': 'YZ' +// }, +// { +// 'device_name': '码垛机械手4', +// 'color_status': 1, +// 'device_code': 'MDJXS04', +// 'region_code': 'YZ' +// }, +// { +// 'device_name': '分拣拆垛机械手', +// 'color_status': 1, +// 'device_code': 'FJCDJXS01', +// 'region_code': 'FJ' +// } +// ], +// 'TrappedShelfList': [ +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机1空盅货位', +// 'point_code': 'KLHW41', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机1困料货位1', +// 'point_code': 'KLHW42', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '2', +// 'stand_status': '3', +// 'point_name': '压机1困料货位2', +// 'point_code': 'KLHW43', +// 'point_status': '2', +// 'stand_status_name': '困料完成' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机1困料货位3', +// 'point_code': 'KLHW44', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机2空盅货位', +// 'point_code': 'KLHW45', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机2困料货位1', +// 'point_code': 'KLHW46', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机2困料货位2', +// 'point_code': 'KLHW47', +// 'point_status': '0', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '', +// 'stand_status': '', +// 'point_name': '压机2困料货位3', +// 'point_code': 'KLHW48', +// 'point_status': '0', +// 'stand_status_name': '' +// } +// ], +// 'TrappedMaterialShelfList': [ +// { +// 'stand_status_color': '0', +// 'stand_status': '', +// 'point_name': '困料货位1', +// 'point_code': 'KLHW01', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位3', +// 'point_code': 'KLHW03', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '2', +// 'stand_status': '3', +// 'point_name': '困料货位5', +// 'point_code': 'KLHW05', +// 'point_status': '2', +// 'region_code': 'KLHJ', +// 'stand_status_name': '困料完成' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位7', +// 'point_code': 'KLHW07', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位9', +// 'point_code': 'KLHW09', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位11', +// 'point_code': 'KLHW11', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位13', +// 'point_code': 'KLHW13', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位15', +// 'point_code': 'KLHW15', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位17', +// 'point_code': 'KLHW17', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位19', +// 'point_code': 'KLHW19', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位21', +// 'point_code': 'KLHW21', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位23', +// 'point_code': 'KLHW23', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位25', +// 'point_code': 'KLHW25', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位27', +// 'point_code': 'KLHW27', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位29', +// 'point_code': 'KLHW29', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位31', +// 'point_code': 'KLHW31', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位33', +// 'point_code': 'KLHW33', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位35', +// 'point_code': 'KLHW35', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位37', +// 'point_code': 'KLHW37', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位39', +// 'point_code': 'KLHW39', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位2', +// 'point_code': 'KLHW02', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位4', +// 'point_code': 'KLHW04', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位6', +// 'point_code': 'KLHW06', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位8', +// 'point_code': 'KLHW08', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位10', +// 'point_code': 'KLHW10', +// 'point_status': '1', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位12', +// 'point_code': 'KLHW12', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位14', +// 'point_code': 'KLHW14', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位16', +// 'point_code': 'KLHW16', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位18', +// 'point_code': 'KLHW18', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位20', +// 'point_code': 'KLHW20', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位22', +// 'point_code': 'KLHW22', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位24', +// 'point_code': 'KLHW24', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位26', +// 'point_code': 'KLHW26', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位28', +// 'point_code': 'KLHW28', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位30', +// 'point_code': 'KLHW30', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位32', +// 'point_code': 'KLHW32', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位34', +// 'point_code': 'KLHW34', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位36', +// 'point_code': 'KLHW36', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位38', +// 'point_code': 'KLHW38', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// }, +// { +// 'stand_status_color': '1', +// 'stand_status': '', +// 'point_name': '困料货位40', +// 'point_code': 'KLHW40', +// 'point_status': '0', +// 'region_code': 'KLHJ', +// 'stand_status_name': '' +// } +// ], +// 'MixBlankingList': [ +// { +// 'point_name': '混料机1下料位', +// 'point_code': 'HLJ01XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机2下料位', +// 'point_code': 'HLJ02XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机3下料位', +// 'point_code': 'HLJ03XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机4下料位', +// 'point_code': 'HLJ04XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机5下料位', +// 'point_code': 'HLJ05XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机6下料位', +// 'point_code': 'HLJ06XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机7下料位', +// 'point_code': 'HLJ07XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机8下料位', +// 'point_code': 'HLJ08XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机9下料位', +// 'point_code': 'HLJ09XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机10下料位', +// 'point_code': 'HLJ10XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机11下料位', +// 'point_code': 'HLJ11XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机12下料位', +// 'point_code': 'HLJ12XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机13下料位', +// 'point_code': 'HLJ13XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机14下料位', +// 'point_code': 'HLJ14XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机15下料位', +// 'point_code': 'HLJ15XL01', +// 'point_status': '1' +// }, +// { +// 'point_name': '混料机16下料位', +// 'point_code': 'HLJ16XL01', +// 'point_status': '1' +// } +// ] +// } +// } +// return res +// } // 成型左 -// export const moldingMaterialCondition = () => post('api/cockpit/moldingMaterialCondition', {}) -export const moldingMaterialCondition = () => { - let res = { - 'code': 200, - 'desc': '操作成功', - 'result': { - 'ManipulatorList': [ - { - 'device_status': 2, - 'device_name': '码垛机械手1', - 'device_status_name': '运行中', - 'error_time': '0', - 'stand_time': '2', - 'device_code': 'MDJXS01', - 'open_time': '2023-06-02 11:12:02', - 'work_time': '7' - }, - { - 'device_status': 2, - 'device_name': '码垛机械手2', - 'device_status_name': '运行中', - 'error_time': '0', - 'stand_time': '2', - 'device_code': 'MDJXS02', - 'open_time': '2023-06-02 11:12:02', - 'work_time': '7' - }, - { - 'device_status': 2, - 'device_name': '码垛机械手3', - 'device_status_name': '运行中', - 'error_time': '0', - 'stand_time': '2', - 'device_code': 'MDJXS03', - 'open_time': '2023-06-02 11:12:02', - 'work_time': '7' - }, - { - 'device_status': 2, - 'device_name': '码垛机械手4', - 'device_status_name': '运行中', - 'error_time': '0', - 'stand_time': '2', - 'device_code': 'MDJXS04', - 'open_time': '2023-06-02 11:12:02', - 'work_time': '7' - } - ], - 'TrayStationPopoverList': [ - { - 'bom': '3038C2', - 'device_name': '压机1', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ01', - 'point_name': '压机1下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ01XL01', - 'point_status': '1', - 'material_code': 'GBMAC3038C2' - }, - { - 'bom': '3038C2', - 'device_name': '压机1', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ01', - 'point_name': '压机1下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ01XL02', - 'point_status': '1', - 'material_code': 'GBMAC3038C2' - }, - { - 'bom': '3015C2', - 'device_name': '压机2', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ02', - 'point_name': '压机2下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ02XL01', - 'point_status': '1', - 'material_code': 'GBMAC3015C2' - }, - { - 'bom': '3015C2', - 'device_name': '压机2', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ02', - 'point_name': '压机2下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ02XL02', - 'point_status': '1', - 'material_code': 'GBMAC3015C2' - }, - { - 'bom': '3003C1', - 'device_name': '压机3', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ03', - 'point_name': '压机3下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ03XL01', - 'point_status': '1', - 'material_code': 'GBMAC3003C1' - }, - { - 'bom': '3003C1', - 'device_name': '压机3', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ03', - 'point_name': '压机3下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ03XL02', - 'point_status': '1', - 'material_code': 'GBMAC3003C1' - }, - { - 'bom': '3003C1', - 'device_name': '压机4', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ04', - 'point_name': '压机4下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ04XL01', - 'point_status': '1', - 'material_code': 'GBMAC3003C1' - }, - { - 'bom': '3003C1', - 'device_name': '压机4', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ04', - 'point_name': '压机4下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ04XL02', - 'point_status': '1', - 'material_code': 'GBMAC3003C1' - }, - { - 'bom': '-', - 'device_name': '压机5', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ05', - 'point_name': '压机5下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ05XL01', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机5', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ05', - 'point_name': '压机5下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ05XL02', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机6', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ06', - 'point_name': '压机6下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ06XL01', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机6', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ06', - 'point_name': '压机6下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ06XL02', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机7', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ07', - 'point_name': '压机7下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ07XL01', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机7', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ07', - 'point_name': '压机7下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ07XL02', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机8', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ08', - 'point_name': '压机8下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ08XL01', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机8', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ08', - 'point_name': '压机8下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ08XL02', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机9', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ09', - 'point_name': '压机9下料位1', - 'vehicle_code': '0000', - 'point_code': 'YJ09XL01', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机9', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ09', - 'point_name': '压机9下料位2', - 'vehicle_code': '0000', - 'point_code': 'YJ09XL02', - 'point_status': '1', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机10', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ10', - 'point_name': '压机10下料位1', - 'vehicle_code': '', - 'point_code': 'YJ10XL01', - 'point_status': '0', - 'material_code': '-' - }, - { - 'bom': '-', - 'device_name': '压机10', - 'is_full': '否', - 'material_qty': '0', - 'device_code': 'YJ10', - 'point_name': '压机10下料位2', - 'vehicle_code': '', - 'point_code': 'YJ10XL02', - 'point_status': '0', - 'material_code': '-' - } - ], - 'PressPopoverList': [ - { - 'total_unqualified_qty': '0', - 'device_status': 2, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '2', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '2023-06-02 11:12:02', - 'current_qty': '1200', - 'device_name': '压机1', - 'device_status_name': '运行中', - 'device_code': 'YJ01', - 'work_time': '7', - 'total_vehicle': '0', - 'material_code': 'GBMAC3038C2' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 2, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '2', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '2023-06-02 11:12:02', - 'current_qty': '0', - 'device_name': '压机2', - 'device_status_name': '运行中', - 'device_code': 'YJ02', - 'work_time': '7', - 'total_vehicle': '0', - 'material_code': 'GBMAC3015C2' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 2, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '2', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '2023-06-02 11:12:02', - 'current_qty': '5000', - 'device_name': '压机3', - 'device_status_name': '运行中', - 'device_code': 'YJ03', - 'work_time': '7', - 'total_vehicle': '0', - 'material_code': 'GBMAC3003C1' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 2, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '2', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '2023-06-02 11:12:02', - 'current_qty': '1000', - 'device_name': '压机4', - 'device_status_name': '运行中', - 'device_code': 'YJ04', - 'work_time': '7', - 'total_vehicle': '0', - 'material_code': 'GBMAC3003C1' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 1, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '5', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '-', - 'current_qty': '0', - 'device_name': '压机5', - 'device_status_name': '待机', - 'device_code': 'YJ05', - 'work_time': '0.5', - 'total_vehicle': '0', - 'material_code': '-' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 1, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '5', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '-', - 'current_qty': '0', - 'device_name': '压机6', - 'device_status_name': '待机', - 'device_code': 'YJ06', - 'work_time': '0.5', - 'total_vehicle': '0', - 'material_code': '-' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 1, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '5', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '-', - 'current_qty': '0', - 'device_name': '压机7', - 'device_status_name': '待机', - 'device_code': 'YJ07', - 'work_time': '0.5', - 'total_vehicle': '0', - 'material_code': '-' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 1, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '5', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '-', - 'current_qty': '0', - 'device_name': '压机8', - 'device_status_name': '待机', - 'device_code': 'YJ08', - 'work_time': '0.5', - 'total_vehicle': '0', - 'material_code': '-' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 1, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '5', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '-', - 'current_qty': '0', - 'device_name': '压机9', - 'device_status_name': '待机', - 'device_code': 'YJ09', - 'work_time': '0.5', - 'total_vehicle': '0', - 'material_code': '-' - }, - { - 'total_unqualified_qty': '0', - 'device_status': 1, - 'total_qualified_qty': '0', - 'error_time': '0', - 'stand_time': '5', - 'total_classify_material': '0', - 'total_actual_quantity': '0', - 'open_time': '-', - 'current_qty': '0', - 'device_name': '压机10', - 'device_status_name': '待机', - 'device_code': 'YJ10', - 'work_time': '0.5', - 'total_vehicle': '0', - 'material_code': '-' - } - ] - } - } - return res -} +export const moldingMaterialCondition = () => post('api/cockpit/moldingMaterialCondition', {}) +// export const moldingMaterialCondition = () => { +// let res = { +// 'code': 200, +// 'desc': '操作成功', +// 'result': { +// 'ManipulatorList': [ +// { +// 'device_status': 2, +// 'device_name': '码垛机械手1', +// 'device_status_name': '运行中', +// 'error_time': '0', +// 'stand_time': '2', +// 'device_code': 'MDJXS01', +// 'open_time': '2023-06-02 11:12:02', +// 'work_time': '7' +// }, +// { +// 'device_status': 2, +// 'device_name': '码垛机械手2', +// 'device_status_name': '运行中', +// 'error_time': '0', +// 'stand_time': '2', +// 'device_code': 'MDJXS02', +// 'open_time': '2023-06-02 11:12:02', +// 'work_time': '7' +// }, +// { +// 'device_status': 2, +// 'device_name': '码垛机械手3', +// 'device_status_name': '运行中', +// 'error_time': '0', +// 'stand_time': '2', +// 'device_code': 'MDJXS03', +// 'open_time': '2023-06-02 11:12:02', +// 'work_time': '7' +// }, +// { +// 'device_status': 2, +// 'device_name': '码垛机械手4', +// 'device_status_name': '运行中', +// 'error_time': '0', +// 'stand_time': '2', +// 'device_code': 'MDJXS04', +// 'open_time': '2023-06-02 11:12:02', +// 'work_time': '7' +// } +// ], +// 'TrayStationPopoverList': [ +// { +// 'bom': '3038C2', +// 'device_name': '压机1', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ01', +// 'point_name': '压机1下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ01XL01', +// 'point_status': '1', +// 'material_code': 'GBMAC3038C2' +// }, +// { +// 'bom': '3038C2', +// 'device_name': '压机1', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ01', +// 'point_name': '压机1下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ01XL02', +// 'point_status': '1', +// 'material_code': 'GBMAC3038C2' +// }, +// { +// 'bom': '3015C2', +// 'device_name': '压机2', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ02', +// 'point_name': '压机2下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ02XL01', +// 'point_status': '1', +// 'material_code': 'GBMAC3015C2' +// }, +// { +// 'bom': '3015C2', +// 'device_name': '压机2', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ02', +// 'point_name': '压机2下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ02XL02', +// 'point_status': '1', +// 'material_code': 'GBMAC3015C2' +// }, +// { +// 'bom': '3003C1', +// 'device_name': '压机3', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ03', +// 'point_name': '压机3下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ03XL01', +// 'point_status': '1', +// 'material_code': 'GBMAC3003C1' +// }, +// { +// 'bom': '3003C1', +// 'device_name': '压机3', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ03', +// 'point_name': '压机3下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ03XL02', +// 'point_status': '1', +// 'material_code': 'GBMAC3003C1' +// }, +// { +// 'bom': '3003C1', +// 'device_name': '压机4', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ04', +// 'point_name': '压机4下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ04XL01', +// 'point_status': '1', +// 'material_code': 'GBMAC3003C1' +// }, +// { +// 'bom': '3003C1', +// 'device_name': '压机4', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ04', +// 'point_name': '压机4下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ04XL02', +// 'point_status': '1', +// 'material_code': 'GBMAC3003C1' +// }, +// { +// 'bom': '-', +// 'device_name': '压机5', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ05', +// 'point_name': '压机5下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ05XL01', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机5', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ05', +// 'point_name': '压机5下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ05XL02', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机6', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ06', +// 'point_name': '压机6下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ06XL01', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机6', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ06', +// 'point_name': '压机6下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ06XL02', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机7', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ07', +// 'point_name': '压机7下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ07XL01', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机7', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ07', +// 'point_name': '压机7下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ07XL02', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机8', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ08', +// 'point_name': '压机8下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ08XL01', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机8', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ08', +// 'point_name': '压机8下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ08XL02', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机9', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ09', +// 'point_name': '压机9下料位1', +// 'vehicle_code': '0000', +// 'point_code': 'YJ09XL01', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机9', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ09', +// 'point_name': '压机9下料位2', +// 'vehicle_code': '0000', +// 'point_code': 'YJ09XL02', +// 'point_status': '1', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机10', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ10', +// 'point_name': '压机10下料位1', +// 'vehicle_code': '', +// 'point_code': 'YJ10XL01', +// 'point_status': '0', +// 'material_code': '-' +// }, +// { +// 'bom': '-', +// 'device_name': '压机10', +// 'is_full': '否', +// 'material_qty': '0', +// 'device_code': 'YJ10', +// 'point_name': '压机10下料位2', +// 'vehicle_code': '', +// 'point_code': 'YJ10XL02', +// 'point_status': '0', +// 'material_code': '-' +// } +// ], +// 'PressPopoverList': [ +// { +// 'total_unqualified_qty': '0', +// 'device_status': 2, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '2', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '2023-06-02 11:12:02', +// 'current_qty': '1200', +// 'device_name': '压机1', +// 'device_status_name': '运行中', +// 'device_code': 'YJ01', +// 'work_time': '7', +// 'total_vehicle': '0', +// 'material_code': 'GBMAC3038C2' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 2, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '2', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '2023-06-02 11:12:02', +// 'current_qty': '0', +// 'device_name': '压机2', +// 'device_status_name': '运行中', +// 'device_code': 'YJ02', +// 'work_time': '7', +// 'total_vehicle': '0', +// 'material_code': 'GBMAC3015C2' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 2, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '2', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '2023-06-02 11:12:02', +// 'current_qty': '5000', +// 'device_name': '压机3', +// 'device_status_name': '运行中', +// 'device_code': 'YJ03', +// 'work_time': '7', +// 'total_vehicle': '0', +// 'material_code': 'GBMAC3003C1' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 2, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '2', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '2023-06-02 11:12:02', +// 'current_qty': '1000', +// 'device_name': '压机4', +// 'device_status_name': '运行中', +// 'device_code': 'YJ04', +// 'work_time': '7', +// 'total_vehicle': '0', +// 'material_code': 'GBMAC3003C1' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 1, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '5', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '-', +// 'current_qty': '0', +// 'device_name': '压机5', +// 'device_status_name': '待机', +// 'device_code': 'YJ05', +// 'work_time': '0.5', +// 'total_vehicle': '0', +// 'material_code': '-' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 1, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '5', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '-', +// 'current_qty': '0', +// 'device_name': '压机6', +// 'device_status_name': '待机', +// 'device_code': 'YJ06', +// 'work_time': '0.5', +// 'total_vehicle': '0', +// 'material_code': '-' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 1, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '5', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '-', +// 'current_qty': '0', +// 'device_name': '压机7', +// 'device_status_name': '待机', +// 'device_code': 'YJ07', +// 'work_time': '0.5', +// 'total_vehicle': '0', +// 'material_code': '-' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 1, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '5', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '-', +// 'current_qty': '0', +// 'device_name': '压机8', +// 'device_status_name': '待机', +// 'device_code': 'YJ08', +// 'work_time': '0.5', +// 'total_vehicle': '0', +// 'material_code': '-' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 1, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '5', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '-', +// 'current_qty': '0', +// 'device_name': '压机9', +// 'device_status_name': '待机', +// 'device_code': 'YJ09', +// 'work_time': '0.5', +// 'total_vehicle': '0', +// 'material_code': '-' +// }, +// { +// 'total_unqualified_qty': '0', +// 'device_status': 1, +// 'total_qualified_qty': '0', +// 'error_time': '0', +// 'stand_time': '5', +// 'total_classify_material': '0', +// 'total_actual_quantity': '0', +// 'open_time': '-', +// 'current_qty': '0', +// 'device_name': '压机10', +// 'device_status_name': '待机', +// 'device_code': 'YJ10', +// 'work_time': '0.5', +// 'total_vehicle': '0', +// 'material_code': '-' +// } +// ] +// } +// } +// 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 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 sortingAndPackagingPopover = () => post('api/cockpit/sortingAndPackagingPopover', {}) -export const sortingAndPackagingPopover = () => { - let res = {'code': 200, 'desc': '操作成功', 'result': {'SplitOrPalletizingList': [{'bom': '3012C1', 'is_full': '是', 'device_name': '压机1', 'qty': '270', 'mix_num': '20230606000', 'point_name': '分拣拆垛1对接位1', 'vehicle_code': '5070', 'point_code': 'FJCD01DJ01', 'point_status': '1', 'material_code': 'GBMAC3012C1'}, {'bom': '-', 'is_full': '-', 'device_name': '-', 'qty': '-', 'mix_num': '-', 'point_name': '分拣拆垛1对接位2', 'vehicle_code': '', 'point_code': 'FJCD01DJ02', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'is_full': '-', 'device_name': '-', 'qty': '-', 'mix_num': '-', 'point_name': '分拣码垛1对接位1', 'vehicle_code': '0000', 'point_code': 'FJMD01DJ01', 'point_status': '1', 'material_code': '-'}, {'bom': '-', 'is_full': '-', 'device_name': '-', 'qty': '-', 'mix_num': '-', 'point_name': '分拣码垛1对接位2', 'vehicle_code': '0000', 'point_code': 'FJMD01DJ02', 'point_status': '1', 'material_code': '-'}], 'HalfSupportCacheList': [{'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}], 'DevicesInfoList': {'DT01': {'device_status': 2, 'device_name': '叠托位', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'DT01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'FJCDJXS01': {'device_status': 2, 'device_name': '分拣拆垛机械手', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'FJCDJXS01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'RGV01': {'device_status': 2, 'device_name': 'RGV搬运车', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'RGV01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'FJMDJXS01': {'device_status': 2, 'device_name': '分拣码垛机械手', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'FJMDJXS01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'CPJ01': {'device_status': 2, 'device_name': '拆盘机', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'CPJ01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'BZJ01': {'device_status': 2, 'device_name': '包装机', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'BZJ01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'FJRGCD01': {'device_status': 2, 'device_name': '分拣人工拆垛', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'FJRGCD01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}}}} - return res -} +export const sortingAndPackagingPopover = () => post('api/cockpit/sortingAndPackagingPopover', {}) +// export const sortingAndPackagingPopover = () => { +// let res = {'code': 200, 'desc': '操作成功', 'result': {'SplitOrPalletizingList': [{'bom': '3012C1', 'is_full': '是', 'device_name': '压机1', 'qty': '270', 'mix_num': '20230606000', 'point_name': '分拣拆垛1对接位1', 'vehicle_code': '5070', 'point_code': 'FJCD01DJ01', 'point_status': '1', 'material_code': 'GBMAC3012C1'}, {'bom': '-', 'is_full': '-', 'device_name': '-', 'qty': '-', 'mix_num': '-', 'point_name': '分拣拆垛1对接位2', 'vehicle_code': '', 'point_code': 'FJCD01DJ02', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'is_full': '-', 'device_name': '-', 'qty': '-', 'mix_num': '-', 'point_name': '分拣码垛1对接位1', 'vehicle_code': '0000', 'point_code': 'FJMD01DJ01', 'point_status': '1', 'material_code': '-'}, {'bom': '-', 'is_full': '-', 'device_name': '-', 'qty': '-', 'mix_num': '-', 'point_name': '分拣码垛1对接位2', 'vehicle_code': '0000', 'point_code': 'FJMD01DJ02', 'point_status': '1', 'material_code': '-'}], 'HalfSupportCacheList': [{'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}, {'bom': '-', 'device_name': '-', 'instorage_time': '-', 'qty': '-', 'mix_num': '-', 'point_name': '半托缓存位1', 'point_status_name': '无货', 'vehicle_code': '-', 'point_code': 'BTHC01', 'point_status': '0', 'material_code': '-'}], 'DevicesInfoList': {'DT01': {'device_status': 2, 'device_name': '叠托位', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'DT01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'FJCDJXS01': {'device_status': 2, 'device_name': '分拣拆垛机械手', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'FJCDJXS01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'RGV01': {'device_status': 2, 'device_name': 'RGV搬运车', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'RGV01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'FJMDJXS01': {'device_status': 2, 'device_name': '分拣码垛机械手', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'FJMDJXS01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'CPJ01': {'device_status': 2, 'device_name': '拆盘机', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'CPJ01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'BZJ01': {'device_status': 2, 'device_name': '包装机', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'BZJ01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}, 'FJRGCD01': {'device_status': 2, 'device_name': '分拣人工拆垛', 'device_status_name': '运行中', 'error_time': '0', 'stand_time': '2', 'device_code': 'FJRGCD01', 'open_time': '2023-06-02 11:12:02', 'work_time': '7'}}}} +// return res +// } // 分拣包装右 -// export const sortingAndPackaging = () => post('api/cockpit/sortingAndPackaging', {}) -export const sortingAndPackaging = () => { - let res = { - 'code': 200, - 'desc': '操作成功', - 'result': { - 'SortingDayList': [ - { - 'total_palletizing_qty': '100', - 'total_stripping_qty': '288', - 'material_id': '1658742670023069696', - 'material_code': 'GBMCZ3004M1' - }, - { - 'total_palletizing_qty': '100', - 'total_stripping_qty': '270', - 'material_id': '1655138063413809152', - 'material_code': 'ZLMCZ1001C1' - }, - { - 'total_palletizing_qty': '100', - '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 -} +export const sortingAndPackaging = () => post('api/cockpit/sortingAndPackaging', {}) +// export const sortingAndPackaging = () => { +// let res = { +// 'code': 200, +// 'desc': '操作成功', +// 'result': { +// 'SortingDayList': [ +// { +// 'total_palletizing_qty': '100', +// 'total_stripping_qty': '288', +// 'material_id': '1658742670023069696', +// 'material_code': 'GBMCZ3004M1' +// }, +// { +// 'total_palletizing_qty': '100', +// 'total_stripping_qty': '270', +// 'material_id': '1655138063413809152', +// 'material_code': 'ZLMCZ1001C1' +// }, +// { +// 'total_palletizing_qty': '100', +// '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/components/select.vue b/src/components/select.vue index 7172c45..faad029 100644 --- a/src/components/select.vue +++ b/src/components/select.vue @@ -58,7 +58,7 @@ export default { .select-item-txt width calc(100% - 50px) _font(15px, inherit, #999,,left) - padding 0 10px + // padding 0 10px .select-item-button position relative _wh(50px, inherit) @@ -72,7 +72,7 @@ export default { border-top 5px solid #999 position absolute right 13px - top 13px + top 17px pointer-events none z-index 3 .options diff --git a/src/pages/Setup.vue b/src/pages/Setup.vue index ece92b7..aa2b1ff 100644 --- a/src/pages/Setup.vue +++ b/src/pages/Setup.vue @@ -30,7 +30,7 @@
- +
@@ -80,6 +80,10 @@ export default { this.index = e }, _config () { + if (this.setTime > 10800) { + this.toast('刷新时间设置过长') + return + } let obj = { baseUrl: this.baseUrl, setTime: this.setTime * 1000, @@ -206,7 +210,7 @@ export default { width 100% margin-bottom 12px .inputStyle, .select-wraper - _wh(calc(100% - 100px), 38px) + _wh(calc(100% - 116px), 38px) font-size 15px background none line-height 38px @@ -228,7 +232,7 @@ export default { outline none font-weight normal label - width 100px + width 115px font-size 15px line-height 38px color #333333 diff --git a/src/pages/modules/homepage/one.vue b/src/pages/modules/homepage/one.vue index 7f6a2bc..7fad877 100644 --- a/src/pages/modules/homepage/one.vue +++ b/src/pages/modules/homepage/one.vue @@ -684,7 +684,7 @@ export default { }, mounted () { this._workshopCondition() - // this.refresh() + this.refresh() }, beforeDestroy () { clearInterval(this.timer) @@ -699,8 +699,17 @@ export default { let res = await workshopCondition() if (res.code === 200) { this.HLDayList = [...res.result.HLDayList] + if (this.HLDayList.length) { + this.setEchart1() + } this.YZDayList = [...res.result.YZDayList] + if (this.YZDayList.length) { + this.setEchart2() + } this.CPDayList = [...res.result.CPDayList] + if (this.CPDayList.length) { + this.setEchart3() + } this.PressMachineList = [...res.result.PressMachineList] this.MixMachineList = [...res.result.MixMachineList] this.MixBlankingList = [...res.result.MixBlankingList] @@ -708,9 +717,6 @@ export default { this.StackingPositionList = [...res.result.StackingPositionList] this.TrappedMaterialShelfList = [...res.result.TrappedMaterialShelfList] this.ManipulatorInfoList = [...res.result.ManipulatorInfoList] - this.setEchart1() - this.setEchart2() - this.setEchart3() } }, setEchart1 () { diff --git a/src/pages/modules/homepage/two.vue b/src/pages/modules/homepage/two.vue index 3a3e66b..e8f99ff 100644 --- a/src/pages/modules/homepage/two.vue +++ b/src/pages/modules/homepage/two.vue @@ -408,7 +408,7 @@ export default { }, mounted () { this._workshopCondition() - // this.refresh() + this.refresh() }, beforeDestroy () { clearInterval(this.timer) diff --git a/src/pages/modules/sortpack/one.vue b/src/pages/modules/sortpack/one.vue index c842f37..a788165 100644 --- a/src/pages/modules/sortpack/one.vue +++ b/src/pages/modules/sortpack/one.vue @@ -339,7 +339,7 @@ export default { mounted () { this._sortingAndPackagingPopover() this._workshopCondition() - // this.refresh() + this.refresh() }, beforeDestroy () { clearInterval(this.timer) diff --git a/src/pages/modules/sortpack/two.vue b/src/pages/modules/sortpack/two.vue index eb57027..f039feb 100644 --- a/src/pages/modules/sortpack/two.vue +++ b/src/pages/modules/sortpack/two.vue @@ -171,7 +171,7 @@ export default { }, mounted () { this._sortingAndPackaging() - // this.refresh() + this.refresh() }, beforeDestroy () { clearInterval(this.timer) diff --git a/src/pages/modules/takeshape/one.vue b/src/pages/modules/takeshape/one.vue index 854a78f..f8d180e 100644 --- a/src/pages/modules/takeshape/one.vue +++ b/src/pages/modules/takeshape/one.vue @@ -807,7 +807,7 @@ export default { this._workshopCondition() this._moldingMaterialCondition() this._trappedMaterialCondition() - // this.refresh() + this.refresh() }, beforeDestroy () { clearInterval(this.timer) diff --git a/src/pages/modules/takeshape/two.vue b/src/pages/modules/takeshape/two.vue index 9c4ff05..a20b68a 100644 --- a/src/pages/modules/takeshape/two.vue +++ b/src/pages/modules/takeshape/two.vue @@ -193,7 +193,7 @@ export default { }, mounted () { this._moldingTableDate() - // this.refresh() + this.refresh() }, beforeDestroy () { clearInterval(this.timer) diff --git a/src/vuex/modules/com.js b/src/vuex/modules/com.js index 8928554..0842587 100644 --- a/src/vuex/modules/com.js +++ b/src/vuex/modules/com.js @@ -16,7 +16,7 @@ const state = { alertMsg: '操作成功', baseUrl: getStore('baseUrl') || baseUrl, setTime: getStore('setTime') || 5000, - equipId: getStore('equipId') || 1 + equipId: getStore('equipId') || '1' } const actions = {