|
@@ -29,17 +29,13 @@
|
|
<a style="color: #409EFF; cursor: pointer" @click="toMould(scope.row.id)">{{scope.row.modelName}} {{scope.row.rfid}}</a>
|
|
<a style="color: #409EFF; cursor: pointer" @click="toMould(scope.row.id)">{{scope.row.modelName}} {{scope.row.rfid}}</a>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <!-- <el-table-column prop="equipmentNo" :label="$t('basic.equipmentNo')" width="180" sortable></el-table-column> -->
|
|
|
|
- <el-table-column prop="equipmentNo" label="CCID" width="180" sortable></el-table-column>
|
|
|
|
- <el-table-column prop="equipmentName" :label="$t('basic.proNum')" width="180" sortable></el-table-column>
|
|
|
|
<el-table-column prop="projectName" :label="$t('mold.projectName')" width="200" sortable></el-table-column>
|
|
<el-table-column prop="projectName" :label="$t('mold.projectName')" width="200" sortable></el-table-column>
|
|
- <el-table-column prop="produceCompany" :label="$t('mold.factoryName')" width="300" sortable></el-table-column>
|
|
|
|
- <el-table-column prop="area" :label="$t('mold.area')" width="300" sortable></el-table-column>
|
|
|
|
<el-table-column prop="runTimes" :label="$t('mold.runTimes')" align="center" width="100" sortable>
|
|
<el-table-column prop="runTimes" :label="$t('mold.runTimes')" align="center" width="100" sortable>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{scope.row.runTimes.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')}}
|
|
{{scope.row.runTimes.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')}}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+
|
|
<el-table-column prop="ocCycle" :label="$t('mold.ocCycle')" align="center" width="140" sortable></el-table-column>
|
|
<el-table-column prop="ocCycle" :label="$t('mold.ocCycle')" align="center" width="140" sortable></el-table-column>
|
|
<el-table-column prop="hillNumber" :label="$t('mold.hillNumber')" align="center" width="80" sortable>
|
|
<el-table-column prop="hillNumber" :label="$t('mold.hillNumber')" align="center" width="80" sortable>
|
|
<template slot-scope="scope">{{scope.row.hillNumber}}<span v-if="scope.row.hillNumber">%</span></template>
|
|
<template slot-scope="scope">{{scope.row.hillNumber}}<span v-if="scope.row.hillNumber">%</span></template>
|
|
@@ -47,21 +43,20 @@
|
|
<el-table-column prop="temperature" :label="$t('runTest.temperature')" align="center" width="80" sortable>
|
|
<el-table-column prop="temperature" :label="$t('runTest.temperature')" align="center" width="80" sortable>
|
|
<template slot-scope="scope">{{scope.row.temperature}}<span v-if="scope.row.temperature">℃</span></template>
|
|
<template slot-scope="scope">{{scope.row.temperature}}<span v-if="scope.row.temperature">℃</span></template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+
|
|
<el-table-column prop="lastOpenTime" :label="$t('runTest.lastOpenTime')" align="center" width="180" sortable></el-table-column>
|
|
<el-table-column prop="lastOpenTime" :label="$t('runTest.lastOpenTime')" align="center" width="180" sortable></el-table-column>
|
|
|
|
+
|
|
<el-table-column prop="initialModulus" :label="$t('runTest.initialModulus')" align="center" width="180" sortable>
|
|
<el-table-column prop="initialModulus" :label="$t('runTest.initialModulus')" align="center" width="180" sortable>
|
|
<template slot-scope="scope">{{(parseInt(scope.row.initialModulus) + parseInt(scope.row.runTimes)).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')}}次</template>
|
|
<template slot-scope="scope">{{(parseInt(scope.row.initialModulus) + parseInt(scope.row.runTimes)).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')}}次</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column fixed="right" :label="$t('runTest.moldState')" align="center" width="100" sortable>
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <span style="color:#909399" v-if="scope.row.state == 0">{{$t('base.static')}}</span>
|
|
|
|
- <span style="color:#00CD66" v-else-if="scope.row.state == 1">{{$t('base.run')}}</span>
|
|
|
|
- <span style="color:#F56C6C" v-else-if="scope.row.state == 2">{{$t('base.warning')}}</span>
|
|
|
|
- <span style="color:#909399" v-else-if="scope.row.state == 3">{{$t('mold.beScrapped')}}</span>
|
|
|
|
- <span style="color:#909399" v-else-if="scope.row.state == 4">{{$t('mold.scraped')}}</span>
|
|
|
|
- <span style="color:#F56C6C" v-else-if="scope.row.state == 5">{{$t('mold.abnormal')}}</span>
|
|
|
|
- <span style="color:#F56C6C" v-else-if="scope.row.state == 6">{{$t('mold.dropped')}}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+
|
|
|
|
+ <el-table-column prop="produceCompany" :label="$t('mold.factoryName')" width="300" sortable></el-table-column>
|
|
|
|
+
|
|
|
|
+ <el-table-column prop="area" :label="$t('mold.area')" width="300" sortable></el-table-column>
|
|
|
|
+ <el-table-column prop="equipmentNo" label="CCID" width="180" sortable></el-table-column>
|
|
|
|
+ <el-table-column prop="equipmentName" :label="$t('basic.proNum')" width="180" sortable></el-table-column>
|
|
|
|
+
|
|
|
|
+ <!-- <el-table-column prop="equipmentNo" :label="$t('basic.equipmentNo')" width="180" sortable></el-table-column> -->
|
|
<el-table-column :label="$t('runTest.stage')" align="center" width="160">
|
|
<el-table-column :label="$t('runTest.stage')" align="center" width="160">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span v-if="scope.row.stage == 0">{{$t('runTest.stage0')}}</span>
|
|
<span v-if="scope.row.stage == 0">{{$t('runTest.stage0')}}</span>
|
|
@@ -71,12 +66,25 @@
|
|
<span v-else>{{$t('runTest.stage4')}}</span>
|
|
<span v-else>{{$t('runTest.stage4')}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column :label="$t('runTest.isMaintain')" align="center" width="100">
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <el-table-column fixed="right" :label="$t('runTest.isMaintain')" align="center" width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span v-if="scope.row.isMaintain == 1">{{$t('runTest.isMaintain0')}}</span>
|
|
|
|
|
|
+ <span v-if="scope.row.isMaintain == 1" style="color:red">{{$t('runTest.isMaintain0')}}</span>
|
|
<span v-else>{{$t('runTest.isMaintain1')}}</span>
|
|
<span v-else>{{$t('runTest.isMaintain1')}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column fixed="right" :label="$t('runTest.moldState')" align="center" width="100" sortable>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <span style="color:#909399" v-if="scope.row.state == 0">{{$t('base.static')}}</span>
|
|
|
|
+ <span style="color:#00CD66" v-else-if="scope.row.state == 1">{{$t('base.run')}}</span>
|
|
|
|
+ <span style="color:#F56C6C" v-else-if="scope.row.state == 2">{{$t('base.warning')}}</span>
|
|
|
|
+ <span style="color:#909399" v-else-if="scope.row.state == 3">{{$t('mold.beScrapped')}}</span>
|
|
|
|
+ <span style="color:#909399" v-else-if="scope.row.state == 4">{{$t('mold.scraped')}}</span>
|
|
|
|
+ <span style="color:#F56C6C" v-else-if="scope.row.state == 5">{{$t('mold.abnormal')}}</span>
|
|
|
|
+ <span style="color:#F56C6C" v-else-if="scope.row.state == 6">{{$t('mold.dropped')}}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column fixed="right" :label="$t('runTest.process')" align="center" width="80">
|
|
<el-table-column fixed="right" :label="$t('runTest.process')" align="center" width="80">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button size="small" type="primary" @click="toMaintenance(scope.row.id)">{{$t('base.detail')}}</el-button>
|
|
<el-button size="small" type="primary" @click="toMaintenance(scope.row.id)">{{$t('base.detail')}}</el-button>
|