|
|
|
@ -144,6 +144,7 @@ |
|
|
|
:expand-row-keys="expandedRowKeys" |
|
|
|
:expand-row-keys="expandedRowKeys" |
|
|
|
@expand-change="handleExpandChange" |
|
|
|
@expand-change="handleExpandChange" |
|
|
|
:default-expand-all="false" |
|
|
|
:default-expand-all="false" |
|
|
|
|
|
|
|
:cell-class-name="tableClassName" |
|
|
|
> |
|
|
|
> |
|
|
|
<!-- && vxeTableData.find(item => item.item.name == '尺寸检测').wpItemDetailList && |
|
|
|
<!-- && vxeTableData.find(item => item.item.name == '尺寸检测').wpItemDetailList && |
|
|
|
vxeTableData.find(item => item.item.name == '尺寸检测').wpItemDetailList.length > 0 --> |
|
|
|
vxeTableData.find(item => item.item.name == '尺寸检测').wpItemDetailList.length > 0 --> |
|
|
|
@ -442,7 +443,7 @@ |
|
|
|
align="center" |
|
|
|
align="center" |
|
|
|
> |
|
|
|
> |
|
|
|
<template #default="scope"> |
|
|
|
<template #default="scope"> |
|
|
|
<el-input v-model="scope.row.testQty" :disabled=" scope.row.checkUserRealName != null && scope.row.checkUserRealName != '' "></el-input> |
|
|
|
<el-input v-model="scope.row.testQty" :disabled=" scope.row.checkUserRealName != null && scope.row.checkUserRealName != '' "></el-input> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
<el-table-column |
|
|
|
@ -1113,12 +1114,15 @@ export default { |
|
|
|
row.ruleSize = val && item && item.norms |
|
|
|
row.ruleSize = val && item && item.norms |
|
|
|
row.dueDate = val && item && item.dueDate |
|
|
|
row.dueDate = val && item && item.dueDate |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
tableClassName({ row, column, rowIndex, columnIndex }){ |
|
|
|
|
|
|
|
if(column.property === 'testQty'){ |
|
|
|
|
|
|
|
console.log('row.testQty=============',row.testQty) |
|
|
|
|
|
|
|
if(row.testQty > this.dialogData.poQty * 0.01){ |
|
|
|
|
|
|
|
return 'high_td'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
cellClassName({ row, column, rowIndex, columnIndex }) { |
|
|
|
cellClassName({ row, column, rowIndex, columnIndex }) { |
|
|
|
console.log('row=============',row) |
|
|
|
|
|
|
|
console.log('column=============',column) |
|
|
|
|
|
|
|
console.log('rowIndex=============',rowIndex) |
|
|
|
|
|
|
|
console.log('columnIndex=============',columnIndex) |
|
|
|
|
|
|
|
if(column.property == 'gaugeValue7'){ |
|
|
|
if(column.property == 'gaugeValue7'){ |
|
|
|
if(row.codeStatus == true){ |
|
|
|
if(row.codeStatus == true){ |
|
|
|
return 'high_td'; |
|
|
|
return 'high_td'; |
|
|
|
|