This commit is contained in:
17630416519 2026-01-30 17:16:10 +08:00
parent ed06c09837
commit 811c063f79

View File

@ -9,9 +9,9 @@
<!-- 工具区域 -->
<el-row :gutter="15" class="mb10">
<el-col :span="1.5">
<el-button type="primary" v-hasPermi="['plcproductiondata:add']" plain icon="plus" @click="handleAdd">
<!-- <el-button type="primary" v-hasPermi="['plcproductiondata:add']" plain icon="plus" @click="handleAdd">
{{ $t('btn.add') }}
</el-button>
</el-button> -->
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
</el-row>
@ -25,7 +25,7 @@
highlight-current-row
@sort-change="sortChange"
>
<el-table-column label="序号" type="index" width="70" align="center" />
<el-table-column label="序号" type="index" width="70" align="center" />
<el-table-column prop="lineCode" label="产线编号" min-width="100" align="center" :show-overflow-tooltip="true" />
<el-table-column prop="plcIp" label="PLC IP地址" min-width="130" align="center" :show-overflow-tooltip="true" />
<el-table-column prop="productCode" label="产品编码" min-width="100" align="center" :show-overflow-tooltip="true" />
@ -119,9 +119,9 @@
<el-table-column prop="actualOutQty" label="实际产量"min-width="140" align="center" :show-overflow-tooltip="true" />
<el-table-column prop="qualifiedQty" label="合格数量"min-width="140" align="center" :show-overflow-tooltip="true" />
<el-table-column prop="failedQty" label="失败数量"min-width="140" align="center" :show-overflow-tooltip="true" />
<el-table-column label="操作" width="160">
<el-table-column label="操作" width="100" fixed="right" align="center">
<template #default="scope">
<el-button type="success" size="small" icon="edit" title="编辑" v-hasPermi="['plcproductiondata:edit']" @click="handleUpdate(scope.row)"></el-button>
<!-- <el-button type="success" size="small" icon="edit" title="编辑" v-hasPermi="['plcproductiondata:edit']" @click="handleUpdate(scope.row)"></el-button> -->
<el-button type="danger" size="small" icon="delete" title="删除" v-hasPermi="['plcproductiondata:delete']" @click="handleDelete(scope.row)"></el-button>
</template>
</el-table-column>