综合查询在用可以点击查看编码设备
This commit is contained in:
parent
f15c1f9ba1
commit
38a7bc7336
|
|
@ -166,10 +166,17 @@
|
|||
:show-overflow-tooltip="true"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<span
|
||||
class="clickText"
|
||||
@click="openRecords(scope.row)"
|
||||
>{{ scope.row.num }}</span>
|
||||
<span
|
||||
v-if="scope.row.manageType === '编码'"
|
||||
class="clickText"
|
||||
@click="openRecords(scope.row)"
|
||||
>
|
||||
{{ 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()
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue