|
@@ -68,7 +68,7 @@
|
|
|
<!-- 刀具数量 -->
|
|
|
<el-table-column align="center" prop="toolNum" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolNum")' :show-overflow-tooltip="true">
|
|
|
<template slot-scope="{ row }">
|
|
|
- <el-tag :type="success" @click="queryMachineCuttingTools(row)">
|
|
|
+ <el-tag type="success" @click="queryMachineCuttingTools(row)">
|
|
|
{{row.toolNum}}
|
|
|
</el-tag>
|
|
|
</template>
|
|
@@ -128,8 +128,8 @@
|
|
|
</el-table-column>
|
|
|
<!-- 刀具名称 -->
|
|
|
<el-table-column align="center" prop="cuttingToolName" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolName")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
- <!-- 刀具规格 -->
|
|
|
- <el-table-column align="center" prop="specifications" :label='$t("cuttingTool.table.machineCuttingtool.specifications")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
+ <!-- 刀具规格
|
|
|
+ <el-table-column align="center" prop="specifications" :label='$t("cuttingTool.table.machineCuttingtool.specifications")' :show-overflow-tooltip="true"></el-table-column> -->
|
|
|
<!-- 刀具图片 -->
|
|
|
<el-table-column align="center" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolPicture")' :show-overflow-tooltip="true">
|
|
|
<template slot-scope="{ row }">
|
|
@@ -160,15 +160,33 @@
|
|
|
<!-- 预警极限 -->
|
|
|
<el-table-column align="center" prop="earlyWarnning" :label='$t("cuttingTool.table.machineCuttingtool.earlyWarnning")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
<!-- 刀具id -->
|
|
|
- <el-table-column align="center" prop="cuttingToolId" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolId")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
- <!-- 姊妹刀号 -->
|
|
|
- <el-table-column align="center" prop="sisterCuttingToolId" :label='$t("cuttingTool.table.machineCuttingtool.sisterCuttingToolId")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
- <!-- 刀沿号 -->
|
|
|
- <el-table-column align="center" prop="knifeEdgeNumber" :label='$t("cuttingTool.table.machineCuttingtool.knifeEdgeNumber")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
+ <el-table-column align="center" prop="cuttingToolId" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolId")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
+ <!-- 姊妹刀号
|
|
|
+ <el-table-column align="center" prop="sisterCuttingToolId" :label='$t("cuttingTool.table.machineCuttingtool.sisterCuttingToolId")' :show-overflow-tooltip="true"></el-table-column> -->
|
|
|
+ <!-- 刀沿号
|
|
|
+ <el-table-column align="center" prop="knifeEdgeNumber" :label='$t("cuttingTool.table.machineCuttingtool.knifeEdgeNumber")' :show-overflow-tooltip="true"></el-table-column> -->
|
|
|
<!-- 刀具位置 -->
|
|
|
<el-table-column align="center" prop="cuttingToolPosition" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolPosition")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
<!-- 刀具半径 -->
|
|
|
<el-table-column align="center" prop="cuttingToolRadius" :label='$t("cuttingTool.table.machineCuttingtool.cuttingToolRadius")' :show-overflow-tooltip="true"></el-table-column>
|
|
|
+ <!-- 锁定状态 -->
|
|
|
+ <el-table-column align="center" prop="tl" :label='$t("cuttingTool.table.machineCuttingtool.tl")' :show-overflow-tooltip="true">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <el-tag :type="row.tl=='L'? 'success':'info' ">
|
|
|
+ {{row.tl=='L'?"已锁定":"未锁定"}}
|
|
|
+ </el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <!-- 锁定运行状态 -->
|
|
|
+ <el-table-column align="center" prop="status" :label='$t("cuttingTool.table.machineCuttingtool.status")' :show-overflow-tooltip="true">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <el-tag :type="row.status=='0'? 'info':'success' ">
|
|
|
+ {{row.status=='0'?"未锁定":"已锁定"}}
|
|
|
+ </el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+
|
|
|
</el-table>
|
|
|
<pagination
|
|
|
v-show="machineCuttingToolstableData.total > 0"
|
|
@@ -280,15 +298,6 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- // console.log(this.selection.length)
|
|
|
- // if (this.selection.length > 1) {
|
|
|
- // this.$message({
|
|
|
- // message: this.$t("tips.mustOne"),
|
|
|
- // type: "warning"
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
-
|
|
|
const ids = []
|
|
|
this.selection.forEach(item => {
|
|
|
ids.push(item.id)
|