Merge remote-tracking branch 'origin/master'
| | |
| | | searchlayout:'Non-tempered process card inquiry', |
| | | fullfurnaces:'Number of full furnaces', |
| | | specifiedproject:'The currently specified project', |
| | | undesignate:'Undesignate', |
| | | undesignate:'取消钢化', |
| | | allnumber:'Total quantity', |
| | | numbercages:'Number of cages', |
| | | missingquantity:'Missing quantity', |
| | |
| | | projectnumber:'Project number', |
| | | layoutnumber:'Drawing number of loading for tempering furnace', |
| | | numberglasses:'Number of glasses', |
| | | specifytemperinga:'Whether to specify the tempering of this information?', |
| | | specifytemperinga:'请确认设备是否已关闭MES联机?', |
| | | temperedswitch:'Tempered switch', |
| | | dutyinformation:'Duty information', |
| | | process:'Process', |
| | |
| | | searchlayout:'Запрос нетемперированной технологической карты', |
| | | fullfurnaces:'Количество полных печей', |
| | | specifiedproject:'Указанный в данный момент проект', |
| | | undesignate:'Без обозначения', |
| | | undesignate:'取消钢化', |
| | | allnumber:'Общее количество', |
| | | numbercages:'Количество сепараторов', |
| | | missingquantity:'Недостающее количество', |
| | |
| | | projectnumber:'Номер проекта', |
| | | layoutnumber:'Чертеж номер загрузки печи для закалки', |
| | | numberglasses:'玻璃数量', |
| | | specifytemperinga:'是否指定钢化该条信息?', |
| | | specifytemperinga:'请确认设备是否已关闭MES联机?', |
| | | temperedswitch:'钢化开关', |
| | | dutyinformation:'值班信息', |
| | | process:'工序', |
| | |
| | | searchlayout:'非钢化流程卡查询', |
| | | fullfurnaces:'满炉数量', |
| | | specifiedproject:'当前指定工程', |
| | | undesignate:'取消指定', |
| | | undesignate:'取消钢化', |
| | | allnumber:'总数量', |
| | | numbercages:'笼子内数量', |
| | | missingquantity:'缺少数量', |
| | |
| | | projectnumber:'工程号', |
| | | layoutnumber:'钢化版图号', |
| | | numberglasses:'玻璃数量', |
| | | specifytemperinga:'是否指定钢化该条信息?', |
| | | specifytemperinga:'请确认设备是否已关闭MES联机?', |
| | | temperedswitch:'钢化开关', |
| | | dutyinformation:'值班信息', |
| | | process:'工序', |
| | |
| | | } |
| | | ); |
| | | if (confirmResult === 'confirm') { |
| | | const response = await request.post("/cacheVerticalGlass/bigStorageCageDetails/appointEngineerId",{ |
| | | engineerId: "" |
| | | }); |
| | | const response = await request.post("/cacheVerticalGlass/bigStorageCageDetails/cancelTemperingTask"); |
| | | if (response.code === 200) { |
| | | ElMessage.success(response.message); |
| | | } else { |
| | |
| | | ref="table" |
| | | style="margin-top: 20px; height: 700px;" |
| | | :data="tableDatab" |
| | | :row-class-name="tableRowClassName" |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }" |
| | | row-key="projectNumber" |
| | | > |
| | | <el-table-column> |
| | | <template #default="props"> |
| | | <el-table :data="props.row.records" style="width: 100%"> |
| | | <el-table :data="props.row.flowCardGlassInfoDTOList" style="width: 100%" |
| | | :row-class-name="(row) => nestedTableRowClassName(props.row, row)" |
| | | > |
| | | <el-table-column prop="layer" fixed align="center" :label="$t('hellow.layernumber')" min-width="80"/> |
| | | <el-table-column prop="thickness" align="center" :label="$t('hellow.thickness')" min-width="80"/> |
| | | <el-table-column prop="filmsId" align="center" :label="$t('hellow.coatingtypes')" min-width="80"/> |
| | |
| | | </el-table> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> |
| | | <el-table-column prop="productname" fixed align="center" :label="$t('large.productname')" min-width="20"/> |
| | | <el-table-column prop="flowCardId" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> |
| | | <el-table-column prop="productName" fixed align="center" :label="$t('large.productname')" min-width="20"/> |
| | | <el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270"> |
| | | <template #default="scope"> |
| | | <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> |
| | | <el-button type="text" :disabled="scope.row.isThroughSlot" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> |
| | | <el-button type="text" plain @click="handleBindRack(scope.row)">{{ |
| | | $t('hellow.missingfilms') |
| | | }} |
| | |
| | | const fetchFlowCardId = async () => { |
| | | try { |
| | | const response = await request.post('/hollowGlass/hollowGlassRelationInfo/queryHollowAllFlowCard',{ |
| | | deviceId: 0, |
| | | filmsId: '', |
| | | flowCardId: '', |
| | | thickness: '', |
| | | thickness: 0, |
| | | }); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | const newData = parseData(response.data); |
| | | tableDatab.value = newData; |
| | | tableDatab.value = response.data; |
| | | } else { |
| | | ElMessage.error('Failed to fetch data'); |
| | | } |
| | |
| | | ElMessage.error('Error fetching data'); |
| | | } |
| | | }; |
| | | function tableRowClassName({ row }) { |
| | | if (row.isThroughSlot == true) { |
| | | return 'row-red-background'; |
| | | } |
| | | return ''; |
| | | } |
| | | function nestedTableRowClassName(parentRow, row) { |
| | | if (parentRow.isThroughSlot == true) { |
| | | return 'row-red-background'; |
| | | } |
| | | return ''; |
| | | } |
| | | const fetchFlowCardsearch = async () => { |
| | | try { |
| | | const response = await request.post('/hollowGlass/hollowGlassRelationInfo/queryHollowAllFlowCard',{ |
| | |
| | | }); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | const newData = parseData(response.data); |
| | | tableDatab.value = newData; |
| | | tableDatab.value = response.data; |
| | | } else { |
| | | ElMessage.error('Failed to fetch data'); |
| | | } |
| | |
| | | margin-top: 20px; |
| | | margin-bottom: 10px; |
| | | } |
| | | ::v-deep(.row-red-background) { |
| | | background-color: rgb(224.6, 242.8, 215.6) !important; |
| | | } |
| | | </style> |
| | |
| | | ref="table" |
| | | style="margin-top: 20px; height: 700px;" |
| | | :data="tableDatab" |
| | | :row-class-name="tableRowClassName" |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }" |
| | | row-key="projectNumber" |
| | | > |
| | | <!-- <el-table-column type="expand"> --> |
| | | <el-table-column> |
| | | <template #default="props"> |
| | | <el-table :data="props.row.records" style="width: 100%"> |
| | | <el-table :data="props.row.flowCardGlassInfoDTOList" style="width: 100%" |
| | | :row-class-name="(row) => nestedTableRowClassName(props.row, row)" |
| | | > |
| | | <el-table-column prop="layer" fixed align="center" :label="$t('hellow.layernumber')" min-width="80"/> |
| | | <el-table-column prop="thickness" align="center" :label="$t('hellow.thickness')" min-width="80"/> |
| | | <el-table-column prop="filmsId" align="center" :label="$t('hellow.coatingtypes')" min-width="80"/> |
| | |
| | | </el-table> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> |
| | | <el-table-column prop="productname" fixed align="center" :label="$t('large.productname')" min-width="20"/> |
| | | <el-table-column prop="flowCardId" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> |
| | | <el-table-column prop="productName" fixed align="center" :label="$t('large.productname')" min-width="20"/> |
| | | <el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270"> |
| | | <template #default="scope"> |
| | | <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> |
| | | <el-button type="text" :disabled="scope.row.isThroughSlot" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> |
| | | <el-button type="text" plain @click="handleBindRack(scope.row)">{{ |
| | | $t('hellow.missingfilms') |
| | | }} |
| | |
| | | const fetchFlowCardId = async () => { |
| | | try { |
| | | const response = await request.post('/hollowGlass/hollowGlassRelationInfo/queryHollowAllFlowCard',{ |
| | | deviceId: 0, |
| | | filmsId: '', |
| | | flowCardId: '', |
| | | thickness: '', |
| | | thickness: 0, |
| | | }); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | const newData = parseData(response.data); |
| | | tableDatab.value = newData; |
| | | tableDatab.value = response.data; |
| | | } else { |
| | | ElMessage.error('Failed to fetch data'); |
| | | } |
| | |
| | | ElMessage.error('Error fetching data'); |
| | | } |
| | | }; |
| | | function tableRowClassName({ row }) { |
| | | if (row.isThroughSlot == true) { |
| | | return 'row-red-background'; |
| | | } |
| | | return ''; |
| | | } |
| | | function nestedTableRowClassName(parentRow, row) { |
| | | if (parentRow.isThroughSlot == true) { |
| | | return 'row-red-background'; |
| | | } |
| | | return ''; |
| | | } |
| | | const fetchFlowCardsearch = async () => { |
| | | try { |
| | | const response = await request.post('/hollowGlass/hollowGlassRelationInfo/queryHollowAllFlowCard',{ |
| | |
| | | }); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | const newData = parseData(response.data); |
| | | tableDatab.value = newData; |
| | | tableDatab.value = response.data; |
| | | } else { |
| | | ElMessage.error('Failed to fetch data'); |
| | | } |
| | |
| | | margin-top: 20px; |
| | | margin-bottom: 10px; |
| | | } |
| | | ::v-deep(.row-red-background) { |
| | | background-color: rgb(224.6, 242.8, 215.6) !important; |
| | | } |
| | | </style> |
| | |
| | | ref="table" |
| | | style="margin-top: 20px; height: 700px;" |
| | | :data="tableDatab" |
| | | :row-class-name="tableRowClassName" |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }" |
| | | row-key="projectNumber" |
| | | > |
| | | <!-- <el-table-column type="expand"> --> |
| | | <el-table-column> |
| | | <template #default="props"> |
| | | <el-table :data="props.row.records" style="width: 100%"> |
| | | <el-table :data="props.row.flowCardGlassInfoDTOList" style="width: 100%" |
| | | :row-class-name="(row) => nestedTableRowClassName(props.row, row)" |
| | | > |
| | | <el-table-column prop="layer" fixed align="center" :label="$t('hellow.layernumber')" min-width="80"/> |
| | | <el-table-column prop="thickness" align="center" :label="$t('hellow.thickness')" min-width="80"/> |
| | | <el-table-column prop="filmsId" align="center" :label="$t('hellow.coatingtypes')" min-width="80"/> |
| | |
| | | </el-table> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="projectNumber" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> |
| | | <el-table-column prop="productname" fixed align="center" :label="$t('large.productname')" min-width="20"/> |
| | | <el-table-column prop="flowCardId" fixed align="center" :label="$t('hellow.cardnumber')" min-width="20"/> |
| | | <el-table-column prop="productName" fixed align="center" :label="$t('large.productname')" min-width="20"/> |
| | | <el-table-column fixed="right" :label="$t('hellow.operate')" align="center" width="270"> |
| | | <template #default="scope"> |
| | | <el-button type="text" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> |
| | | <el-button type="text" :disabled="scope.row.isThroughSlot" plain @click="handletake(scope.row)">{{ $t('hellow.claimquest') }}</el-button> |
| | | <el-button type="text" plain @click="handleBindRack(scope.row)">{{ |
| | | $t('hellow.missingfilms') |
| | | }} |
| | |
| | | const fetchFlowCardId = async () => { |
| | | try { |
| | | const response = await request.post('/hollowGlass/hollowGlassRelationInfo/queryHollowAllFlowCard',{ |
| | | deviceId: 0, |
| | | filmsId: '', |
| | | flowCardId: '', |
| | | thickness: '', |
| | | thickness: 0, |
| | | }); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | const newData = parseData(response.data); |
| | | tableDatab.value = newData; |
| | | tableDatab.value = response.data; |
| | | } else { |
| | | ElMessage.error('Failed to fetch data'); |
| | | } |
| | |
| | | ElMessage.error('Error fetching data'); |
| | | } |
| | | }; |
| | | function tableRowClassName({ row }) { |
| | | if (row.isThroughSlot == true) { |
| | | return 'row-red-background'; |
| | | } |
| | | return ''; |
| | | } |
| | | function nestedTableRowClassName(parentRow, row) { |
| | | if (parentRow.isThroughSlot == true) { |
| | | return 'row-red-background'; |
| | | } |
| | | return ''; |
| | | } |
| | | const fetchFlowCardsearch = async () => { |
| | | try { |
| | | const response = await request.post('/hollowGlass/hollowGlassRelationInfo/queryHollowAllFlowCard',{ |
| | |
| | | }); |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | const newData = parseData(response.data); |
| | | tableDatab.value = newData; |
| | | tableDatab.value = response.data; |
| | | } else { |
| | | ElMessage.error('Failed to fetch data'); |
| | | } |
| | |
| | | margin-top: 20px; |
| | | margin-bottom: 10px; |
| | | } |
| | | ::v-deep(.row-red-background) { |
| | | background-color: rgb(224.6, 242.8, 215.6) !important; |
| | | } |
| | | </style> |