Commit ad6de0e8 authored by 张伯涛's avatar 张伯涛

限制首页packing类型的单子不可以点击SN编码查看SN编码关联

parent 43bef3fc
......@@ -107,7 +107,8 @@
<div>SN</div>
</template>
<template slot-scope="scope">
<span style="cursor: pointer; color: #D20A10;" @click="getRelationSnTable(scope.row)">{{ scope.row.materSn || '-' }}</span>
<span v-if="showType === true" style="cursor: pointer; color: #D20A10;" @click="getRelationSnTable(scope.row)">{{ scope.row.materSn || '-' }}</span>
<span v-else>{{ scope.row.materSn || '-' }}</span>
</template>
</el-table-column>
<el-table-column align="center" prop="createDate" min-width="45%" :show-overflow-tooltip="true">
......@@ -629,6 +630,7 @@ export default {
name: 'HomePageTable',
data() {
return {
showType: true,
intercal: undefined,
intercalType: false,
queryParams1: {
......@@ -902,6 +904,11 @@ export default {
})
},
openModel(row, item, data) {
if (row.modelType === '3') {
this.showType = false
} else {
this.showType = true
}
if (item.label === 'Scan0') {
this.queryParams.type = 'scan0'
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment