综合查询在用可以点击查看编码设备

This commit is contained in:
liang.chao 2024-11-20 13:13:21 +08:00
parent f15c1f9ba1
commit 38a7bc7336
1 changed files with 12 additions and 4 deletions

View File

@ -166,10 +166,17 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<span <span
class="clickText" v-if="scope.row.manageType === '编码'"
@click="openRecords(scope.row)" class="clickText"
>{{ scope.row.num }}</span> @click="openRecords(scope.row)"
>
{{ scope.row.num }}
</span>
<!-- 否则直接显示数字 -->
<span v-else>
{{ scope.row.num }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -488,6 +495,7 @@ export default {
// //
openRecords(row) { openRecords(row) {
this.openRecord = true this.openRecord = true
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId this.dialogQuery.typeId= row.typeId
this.getUseMaCodeList() this.getUseMaCodeList()
}, },