| | |
| | | </div> |
| | | <template #footer> |
| | | <div id="dialog-footer"> |
| | | <el-button type="primary" @click="finisha"> |
| | | <el-button type="primary" @click="finisha" :disabled="isSubmitting"> |
| | | {{ $t('reportWork.sure') }} |
| | | </el-button> |
| | | <el-button @click="dialogFormVisiblec = false">{{ $t('reportWork.cancel') }}</el-button> |
| | |
| | | const blindc = ref(false) |
| | | const mulan = ref(false) |
| | | const isLoading = ref(true) |
| | | const isSubmitting = ref(false) |
| | | const activeTab = ref('') |
| | | const tabList = ref([]) |
| | | const internalInstance = getCurrentInstance() |
| | |
| | | ElMessage.error(t('hellow.cpairQuantity')) |
| | | return |
| | | } |
| | | if (isSubmitting.value) { |
| | | return |
| | | } |
| | | isSubmitting.value = true |
| | | try { |
| | | var url="/hollowGlass/hollowGlassOutRelationInfo/receiveTask?cell="+ 932 + "&flowCardId=" + flowCardId + "&totalPairQuantity=" + totalPairQuantity.value+ "&formulaId=" + -1; |
| | | const response = await request.post(url) |
| | |
| | | cell.value = ''; |
| | | formulaName.value = ''; |
| | | totalPairQuantity.value = ''; |
| | | isSubmitting.value = true |
| | | } else { |
| | | ElMessage.error(response.message); |
| | | isSubmitting.value = true |
| | | } |
| | | } catch (error) { |
| | | } |
| | | ElMessage.error(response.message); |
| | | }finally { |
| | | isSubmitting.value = false |
| | | } |
| | | } |
| | | // 强制出片 |
| | | const finishb = async () => { |