| | |
| | | basicData: { |
| | | untask: 'No task', |
| | | tonumber: 'Total number of films uploaded', |
| | | sectionUpperSuccessful:'Upper section operation successful!', |
| | | finishnumber: 'Completed quantity', |
| | | rackreset: 'Rack reset', |
| | | prackreset: 'Is the rack reset?', |
| | |
| | | basicData:{ |
| | | untask:'작업 없음', |
| | | tonumber:'총 영화 수', |
| | | sectionUpperSuccessful:'상부 조작 성공!', |
| | | finishnumber:'완료된 수량', |
| | | rackreset:'쉘프 재설정', |
| | | prackreset:'쉘프가 재설정되는지 여부?', |
| | |
| | | basicData: { |
| | | untask:'无任务', |
| | | tonumber:'上片总数量', |
| | | sectionUpperSuccessful:'上片操作成功!', |
| | | finishnumber:'已完成数量', |
| | | rackreset:'架子复位', |
| | | prackreset:'是否架子复位?', |
| | |
| | | basicData:{ |
| | | untask:'无任务', |
| | | tonumber:'上片总数量', |
| | | sectionUpperSuccessful:'上片操作成功!', |
| | | finishnumber:'已完成数量', |
| | | rackreset:'架子复位', |
| | | prackreset:'是否架子复位?', |
| | |
| | | state: 1, |
| | | }) |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | let timeoutId = setTimeout(() => { |
| | | // 模拟按下确认按钮 |
| | | const confirmBtn = document.querySelector('.el-message-box__btns .el-button--primary'); |
| | | if (confirmBtn) { |
| | | confirmBtn.click(); |
| | | } |
| | | }, 5000) |
| | | await ElMessageBox.alert(' ', t('basicData.sectionUpperSuccessful'), { |
| | | confirmButtonText: t('searchOrder.sure'), |
| | | type: 'success', |
| | | center: true, |
| | | customClass: 'center-message-box', |
| | | }); |
| | | // 清除定时器 |
| | | clearTimeout(timeoutId); |
| | | // 执行确认后的逻辑 |
| | | canSelectProjecta.value = false; |
| | | canSelectProjectb.value = false; |
| | | canSelectProjectc.value = true; |
| | |
| | | // 开始上片 |
| | | const handleon = async () => { |
| | | let filmRemove = window.localStorage.getItem('filmRemove') |
| | | let engineeringIda = window.localStorage.getItem('engineeringIda') |
| | | let engineeringId = window.localStorage.getItem('engineeringIda') |
| | | if (markingMachineStatus.value === 'green' && cuttingMachineStatus.value === 'green') { |
| | | try { |
| | | const response = await request.post('/loadGlass/engineering/engineering/changeTask', { |
| | | stationCell: 6, |
| | | stationCell: 5, |
| | | filmRemove: filmRemove, |
| | | engineerId: engineeringIda, |
| | | engineerId: engineeringId, |
| | | state: 1, |
| | | }) |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | let timeoutId = setTimeout(() => { |
| | | // 模拟按下确认按钮 |
| | | const confirmBtn = document.querySelector('.el-message-box__btns .el-button--primary'); |
| | | if (confirmBtn) { |
| | | confirmBtn.click(); |
| | | } |
| | | }, 5000) |
| | | await ElMessageBox.alert(' ', t('basicData.sectionUpperSuccessful'), { |
| | | confirmButtonText: t('searchOrder.sure'), |
| | | type: 'success', |
| | | center: true, |
| | | customClass: 'center-message-box', |
| | | }); |
| | | // 清除定时器 |
| | | clearTimeout(timeoutId); |
| | | // 执行确认后的逻辑 |
| | | canSelectProjecta.value = false; |
| | | canSelectProjectb.value = false; |
| | | canSelectProjectc.value = true; |