| | |
| | | const dialogFormVisibleb = ref(false) |
| | | const dialogFormVisiblec = ref(false) |
| | | const dialogFormVisibled = ref(false) |
| | | const dialogFormVisiblee = ref(false) |
| | | const dialogFormVisiblef = ref(false) |
| | | const dialogFormVisibles = ref(false) |
| | | const inkageEntity = ref('#911005'); |
| | | const requestEntity = ref('#911005'); |
| | |
| | | const tableDatax = ref([]) |
| | | const tableDatas = ref([]) |
| | | const tableDatalack = ref([]) |
| | | const tableDataspecify = ref([]) |
| | | const tableDatacagedetails = ref([]) |
| | | const carPosition = ref([]) |
| | | const ganghua = ref('') |
| | | const diaodu = ref('') |
| | |
| | | fetchlack(engineerId, temperingLayoutId); |
| | | dialogFormVisibled.value = true; |
| | | }; |
| | | // 指定工程 |
| | | const handlespecifyengineerid = (row) => { |
| | | const { engineerId } = row; |
| | | fetchspecify(engineerId); |
| | | dialogFormVisiblee.value = true; |
| | | }; |
| | | // 笼内详情 |
| | | const handlecagedetails = (row) => { |
| | | const { engineerId, temperingLayoutId } = row; |
| | | fetchcagedetails(engineerId, temperingLayoutId); |
| | | dialogFormVisiblef.value = true; |
| | | }; |
| | | // 钢化查询 |
| | | onMounted(async () => { |
| | | try { |
| | |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | tableDatalack.value = response.data |
| | | } else { |
| | | ElMessage.error(response.message); |
| | | } |
| | | } |
| | | catch (error) { |
| | | // 处理错误 |
| | | console.error(error); |
| | | } |
| | | } |
| | | // 指定工程 |
| | | const fetchspecify = async (engineerId) => { |
| | | try { |
| | | const response = await request.post('/cacheVerticalGlass/bigStorageCageDetails/appointTemperingEngineerId',{ |
| | | engineerId: engineerId, |
| | | }) |
| | | if (response.code == 200) { |
| | | ElMessage.success(response.message); |
| | | tableDataspecify.value = response.data |
| | | } else { |
| | | ElMessage.error(response.message); |
| | | } |
| | | } |
| | | catch (error) { |
| | | // 处理错误 |
| | | console.error(error); |
| | | } |
| | | } |
| | | // 笼内详情 |
| | | const fetchcagedetails = async (engineerId, temperingLayoutId) => { |
| | | try { |
| | | const response = await request.post('/cacheVerticalGlass/bigStorageCageDetails/queryRealGlassInfo',{ |
| | | engineerId: engineerId, |
| | | temperingLayoutId: temperingLayoutId, |
| | | }) |
| | | if (response.code == 200) { |
| | | console.log(response.data); |
| | | |
| | | ElMessage.success(response.message); |
| | | tableDatacagedetails.value = response.data |
| | | } else { |
| | | ElMessage.error(response.message); |
| | | } |
| | |
| | | } |
| | | if(data.bigStorageCageDetailsOutTask!=null){ |
| | | tableDatac.value = data.bigStorageCageDetailsOutTask[0] |
| | | console.log(data.bigStorageCageDetailsOutTask[0]) |
| | | adjusta.value = data.bigStorageCageDetailsOutTask[0].filter(rect => rect.slot !== null && rect.slot !== undefined); |
| | | // console.log(data.bigStorageCageDetailsOutTask[0]); |
| | | } else { |
| | | tableDatac.value = '', |
| | | adjusta.value = '' |
| | |
| | | } |
| | | if(data.temperingGlassInfoList!=null){ |
| | | tableDatab.value = data.temperingGlassInfoList[0] |
| | | console.log(tableDatab.value) |
| | | }else{ |
| | | tableDatab.value = '' |
| | | } |
| | |
| | | <el-table-column prop="realCount" align="center" :label="$t('searchOrder.numbercages')" min-width="150" /> |
| | | <el-table-column prop="lackCount" align="center" :label="$t('searchOrder.missingquantity')" min-width="150" /> |
| | | <el-table-column prop="damageCount" align="center" :label="$t('searchOrder.breakquantity')" min-width="150" /> |
| | | <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" width="400"> |
| | | <el-table-column fixed="right" :label="$t('searchOrder.operate')" align="center" width="500"> |
| | | <template #default="scope"> |
| | | <el-button size="mini" type="text" plain @click="brokee(scope.row,1)">{{ $t('searchOrder.specifytempering') }}</el-button> |
| | | <el-button size="mini" type="text" plain @click="brokee(scope.row,0)">{{ $t('searchOrder.specifyout') }}</el-button> |
| | | <el-button size="mini" type="text" plain @click="brokek(scope.row)">{{ $t('searchOrder.specifyengineerid') }}</el-button> |
| | | <el-button size="mini" type="text" plain @click="handlelack(scope.row)">{{ $t('hellow.missingnumber') }}</el-button> |
| | | <el-button size="mini" type="text" plain @click="handlelack(scope.row)">{{ $t('searchOrder.lacknumber') }}</el-button> |
| | | <el-button size="mini" type="text" plain @click="handlespecifyengineerid(scope.row)">{{ $t('searchOrder.specifyengineerid') }}</el-button> |
| | | <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('searchOrder.cagedetails') }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-table-column prop="ycoordinate" align="center" :label="$t('searchOrder.ycoordinates')" min-width="80" /> |
| | | </el-table> |
| | | </el-dialog> |
| | | <el-dialog v-model="dialogFormVisiblee" top="5vh" width="85%" :title="$t('searchOrder.specifyengineerid')"> |
| | | <el-table ref="table" style="margin-top: 20px;height: 600px;" |
| | | :data="tableDataspecify" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> |
| | | <el-table-column prop="engineerId" fixed align="center" :label="$t('searchOrder.projectnumber')" min-width="150"/> |
| | | <el-table-column prop="flowCardId" fixed align="center" :label="$t('searchOrder.cardnumber')" min-width="150" /> |
| | | <el-table-column prop="glassId" fixed align="center" :label="$t('searchOrder.glassID')" min-width="150" /> |
| | | <el-table-column prop="temperingLayoutId" fixed align="center" :label="$t('searchOrder.layoutID')" min-width="100" /> |
| | | <el-table-column prop="temperingFeedSequence" fixed align="center" :label="$t('searchOrder.picturesequence')" min-width="120" /> |
| | | <el-table-column prop="width" align="center" :label="$t('searchOrder.width')" min-width="80" /> |
| | | <el-table-column prop="height" align="center" :label="$t('searchOrder.height')" min-width="80" /> |
| | | <el-table-column prop="thickness" align="center" :label="$t('searchOrder.thickness')" min-width="80" /> |
| | | <el-table-column prop="filmsid" align="center" :label="$t('searchOrder.coatingtypes')" min-width="80" /> |
| | | <el-table-column |
| | | align="center" |
| | | :label="$t('searchOrder.state')" |
| | | min-width="80" |
| | | prop="isDamage" |
| | | > |
| | | <template #default="scope"> |
| | | <div |
| | | @click="scope.row.isDamage === 1 ? null : broken(scope.row)" |
| | | style="position: relative; display: inline-block;" |
| | | > |
| | | <el-tag |
| | | :type="scope.row.isDamage === 1 ? 'danger' : 'success'" |
| | | style="pointer-events: {{ scope.row.isDamage === 1 ? 'none' : 'auto' }};" |
| | | > |
| | | {{ scope.row.isDamage === 1 ? $t('searchOrder.breakage') : $t('searchOrder.breakagn') }} |
| | | </el-tag> |
| | | <div |
| | | v-if="scope.row.isDamage === 1" |
| | | style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: transparent; z-index: 1;" |
| | | ></div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="layer" align="center" :label="$t('processCard.layer')" min-width="80" /> |
| | | <el-table-column prop="xcoordinate" align="center" :label="$t('searchOrder.xcoordinates')" min-width="80" /> |
| | | <el-table-column prop="ycoordinate" align="center" :label="$t('searchOrder.ycoordinates')" min-width="80" /> |
| | | </el-table> |
| | | </el-dialog> |
| | | <el-dialog v-model="dialogFormVisiblef" top="5vh" width="85%" :title="$t('searchOrder.cagedetails')"> |
| | | <el-table ref="table" style="margin-top: 20px;height: 600px;" |
| | | :data="tableDatacagedetails" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> |
| | | <el-table-column prop="engineerId" fixed align="center" :label="$t('searchOrder.projectnumber')" min-width="150"/> |
| | | <el-table-column prop="flowCardId" fixed align="center" :label="$t('searchOrder.cardnumber')" min-width="150" /> |
| | | <el-table-column prop="glassId" fixed align="center" :label="$t('searchOrder.glassID')" min-width="150" /> |
| | | <el-table-column prop="temperingLayoutId" fixed align="center" :label="$t('searchOrder.layoutID')" min-width="100" /> |
| | | <el-table-column prop="temperingFeedSequence" fixed align="center" :label="$t('searchOrder.picturesequence')" min-width="120" /> |
| | | <el-table-column prop="width" align="center" :label="$t('searchOrder.width')" min-width="80" /> |
| | | <el-table-column prop="height" align="center" :label="$t('searchOrder.height')" min-width="80" /> |
| | | <el-table-column prop="thickness" align="center" :label="$t('searchOrder.thickness')" min-width="80" /> |
| | | <el-table-column prop="filmsid" align="center" :label="$t('searchOrder.coatingtypes')" min-width="80" /> |
| | | <el-table-column |
| | | align="center" |
| | | :label="$t('searchOrder.state')" |
| | | min-width="80" |
| | | prop="isDamage" |
| | | > |
| | | <template #default="scope"> |
| | | <div |
| | | @click="scope.row.isDamage === 1 ? null : broken(scope.row)" |
| | | style="position: relative; display: inline-block;" |
| | | > |
| | | <el-tag |
| | | :type="scope.row.isDamage === 1 ? 'danger' : 'success'" |
| | | style="pointer-events: {{ scope.row.isDamage === 1 ? 'none' : 'auto' }};" |
| | | > |
| | | {{ scope.row.isDamage === 1 ? $t('searchOrder.breakage') : $t('searchOrder.breakagn') }} |
| | | </el-tag> |
| | | <div |
| | | v-if="scope.row.isDamage === 1" |
| | | style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: transparent; z-index: 1;" |
| | | ></div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="layer" align="center" :label="$t('processCard.layer')" min-width="80" /> |
| | | <el-table-column prop="xcoordinate" align="center" :label="$t('searchOrder.xcoordinates')" min-width="80" /> |
| | | <el-table-column prop="ycoordinate" align="center" :label="$t('searchOrder.ycoordinates')" min-width="80" /> |
| | | </el-table> |
| | | </el-dialog> |
| | | <el-dialog v-model="dialoglea" top="15vh" width="70%" :title="$t('searchOrder.dutyinformation')"> |
| | | <el-table ref="table" style="margin-top: 20px;height: 300px;" |
| | | :data="tableDatax" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> |