|
@@ -23,18 +23,23 @@
|
|
|
<!--列表-->
|
|
|
<el-table :data="moulds" :height="tableHeight" highlight-current-row v-loading="listLoading" style="width: 100%;">
|
|
|
<el-table-column type="index" width="60"></el-table-column>
|
|
|
- <el-table-column prop="modelNo" :label="$t('mold.moldNo')" width="100" sortable></el-table-column>
|
|
|
- <el-table-column :label="$t('mold.modelName')" width="200" sortable>
|
|
|
+ <el-table-column prop="modelNo" :label="$t('mold.moldNo')" width="150" sortable></el-table-column>
|
|
|
+ <el-table-column :label="$t('mold.modelName')" width="230" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
- <a style="color: #409EFF; cursor: pointer" @click="toMould(scope.row.id)">{{scope.row.modelName}}</a>
|
|
|
+ <a style="color: #409EFF; cursor: pointer" @click="toMould(scope.row.id)">{{scope.row.modelName}} {{scope.row.rfid}}</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="equipmentNo" :label="$t('basic.equipmentNo')" width="180" sortable></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="produceCompany" :label="$t('mold.factoryName')" width="200" sortable></el-table-column>
|
|
|
- <el-table-column prop="area" :label="$t('mold.area')" width="200" sortable></el-table-column>
|
|
|
- <el-table-column prop="runTimes" :label="$t('mold.runTimes')" align="center" width="100" 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>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{scope.row.runTimes.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')}}
|
|
|
+ </template>
|
|
|
+ </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>
|
|
|
<template slot-scope="scope">{{scope.row.hillNumber}}<span v-if="scope.row.hillNumber">%</span></template>
|
|
@@ -42,7 +47,10 @@
|
|
|
<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>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="lastOpenTime" :label="$t('runTest.lastOpenTime')" align="center" width="150" 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>
|
|
|
+ <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 :label="$t('runTest.moldState')" align="center" width="100" sortable>
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.state == 0">{{$t('base.static')}}</span>
|