| | |
| | | {{ $t('reportmanage.inquire') }}</el-button> |
| | | </div> |
| | | <div style="margin-left: 87%;">{{ $t('hellow.pairsnumbertotal') }}{{ pairTotal }}</div> |
| | | <el-table ref="table" style="margin-top: 20px; height: 700px;" :data="tableDatab" |
| | | <el-table ref="table" style="margin-top: 20px; height: 650px;" :data="tableDatab" |
| | | :row-class-name="tableRowClassName" :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }" |
| | | row-key="projectNumber"> |
| | | <!-- <el-table-column type="expand"> --> |
| | |
| | | :value="item.formulaName" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('hellow.coatingtypes')" style="width: 25vw;"> |
| | | <el-select v-model="selectedFilmRemove" filterable clearable :placeholder="$t('basicData.selectcoatingtypes')" |
| | | style="width: 270px"> |
| | | <el-option v-for="item in filmRemoveList" :key="item" :label="item" :value="item" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-form> |
| | | </div> |
| | |
| | | style="width: 270px" @change="handleFormulaChange"> |
| | | <el-option v-for="item in titleformulaName" :key="item.id" :label="item.formulaName" |
| | | :value="item.formulaName" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('hellow.coatingtypes')" style="width: 25vw;"> |
| | | <el-select v-model="selectedFilmRemove" filterable clearable :placeholder="$t('basicData.selectcoatingtypes')" |
| | | style="width: 270px"> |
| | | <el-option v-for="item in filmRemoveList" :key="item" :label="item" :value="item" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | const isSubmitting = ref(false) |
| | | const isLoading = ref(true) |
| | | const activeTab = ref('') |
| | | const filmRemoveList = ref([]) |
| | | const selectedFilmRemove = ref('') |
| | | const tabList = ref([]) |
| | | const internalInstance = getCurrentInstance() |
| | | const tableDataa = ref([]) |
| | |
| | | window.localStorage.setItem('flowCardId', row.flowCardId) |
| | | dialogFormVisiblec.value = true; |
| | | isSubmitting.value = false |
| | | if (row.flowCardGlassInfoDTOList && row.flowCardGlassInfoDTOList.length) { |
| | | const films = row.flowCardGlassInfoDTOList.map(item => item.filmsId).filter(Boolean) |
| | | // 去重 |
| | | filmRemoveList.value = [...new Set(films)] |
| | | } else { |
| | | filmRemoveList.value = [] |
| | | } |
| | | fetchmulan() |
| | | }; |
| | | // 强制出片 |
| | |
| | | window.localStorage.setItem('flowCardId', row.flowCardId) |
| | | dialogFormVisibled.value = true; |
| | | fetchmulan() |
| | | if (row.flowCardGlassInfoDTOList && row.flowCardGlassInfoDTOList.length) { |
| | | const films = row.flowCardGlassInfoDTOList.map(item => item.filmsId).filter(Boolean) |
| | | // 去重 |
| | | filmRemoveList.value = [...new Set(films)] |
| | | } else { |
| | | filmRemoveList.value = [] |
| | | } |
| | | }; |
| | | // 创建任务 |
| | | const fetchFlowCardId = async () => { |
| | |
| | | } |
| | | isSubmitting.value = true |
| | | try { |
| | | var url = "/hollowGlass/hollowGlassOutRelationInfo/receiveTask?cell=" + 931 + "&flowCardId=" + flowCardId + "&totalPairQuantity=" + totalPairQuantity.value + "&formulaId=" + id; |
| | | const url = `/hollowGlass/hollowGlassOutRelationInfo/receiveTask?cell=${931}&flowCardId=${flowCardId}&totalPairQuantity=${totalPairQuantity.value}&formulaId=${id}&filmRemove=${selectedFilmRemove.value}` |
| | | const response = await request.post(url) |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | dialogFormVisiblec.value = false; |
| | | cell.value = ''; |
| | | formulaName.value = ''; |
| | | totalPairQuantity.value = ''; |
| | | cell.value = '' |
| | | selectedFormulaName.value = '' |
| | | totalPairQuantity.value = '' |
| | | selectedFilmRemove.value = '' |
| | | isSubmitting.value = true |
| | | } else { |
| | | ElMessage.error(response.message); |
| | |
| | | return |
| | | } |
| | | try { |
| | | var url = "/hollowGlass/hollowGlassOutRelationInfo/forceOutGlass?cell=" + 931 + "&flowCardId=" + flowCardId + "&totalPairQuantity=" + totalPairQuantitya.value + "&formulaId=" + id; |
| | | var url = "/hollowGlass/hollowGlassOutRelationInfo/forceOutGlass?cell=" + 931 + "&flowCardId=" + flowCardId + "&totalPairQuantity=" + totalPairQuantitya.value + "&formulaId=" + id + "&filmRemove=" + selectedFilmRemove.value; |
| | | const response = await request.post(url) |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |