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

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

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