fix(wms): 修复母卷关联信息显示条件判断
增加dataType为1的条件判断,确保只有特定类型的卷材才显示母卷关联信息
This commit is contained in:
@@ -117,7 +117,7 @@
|
|||||||
<el-table-column label="净重" align="center" prop="netWeight" />
|
<el-table-column label="净重" align="center" prop="netWeight" />
|
||||||
<el-table-column label="关联信息" align="center" prop="parentCoilNos" :show-overflow-tooltip="true">
|
<el-table-column label="关联信息" align="center" prop="parentCoilNos" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.parentCoilNos && scope.row.hasMergeSplit === 1">
|
<span v-if="scope.row.parentCoilNos && scope.row.hasMergeSplit === 1 && scope.row.dataType === 1">
|
||||||
<el-tag type="warning" size="mini">来自母卷:{{ scope.row.parentCoilNos }}</el-tag>
|
<el-tag type="warning" size="mini">来自母卷:{{ scope.row.parentCoilNos }}</el-tag>
|
||||||
</span>
|
</span>
|
||||||
<span v-else-if="scope.row.parentCoilNos && scope.row.dataType === 0">
|
<span v-else-if="scope.row.parentCoilNos && scope.row.dataType === 0">
|
||||||
|
|||||||
Reference in New Issue
Block a user