综合查询在用可以点击查看编码设备
This commit is contained in:
parent
f15c1f9ba1
commit
38a7bc7336
|
|
@ -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()
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue