|
|
@@ -15,11 +15,11 @@
|
|
|
<template v-slot:toolbar>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- attributeData.approvalStatus != 1 &&
|
|
|
- attributeData.approvalStatus != 2 &&
|
|
|
- !isWt &&
|
|
|
- attributeData.parentId == '0' &&
|
|
|
- attributeData.id != attributeData.resourceBomId
|
|
|
+ (attributeData.approvalStatus != 1 &&
|
|
|
+ attributeData.approvalStatus != 2 &&
|
|
|
+ !isWt &&
|
|
|
+ attributeData.parentId == '0') ||
|
|
|
+ !attributeData.resourceBomId
|
|
|
"
|
|
|
size="small"
|
|
|
type="primary"
|
|
|
@@ -51,10 +51,11 @@
|
|
|
type="danger"
|
|
|
@click="handleDel(row)"
|
|
|
v-if="
|
|
|
- attributeData.approvalStatus != 1 &&
|
|
|
- attributeData.approvalStatus != 2 &&
|
|
|
- attributeData.parentId == '0' &&
|
|
|
- attributeData.id != attributeData.resourceBomId
|
|
|
+ (attributeData.approvalStatus != 1 &&
|
|
|
+ attributeData.approvalStatus != 2 &&
|
|
|
+ !isWt &&
|
|
|
+ attributeData.parentId == '0') ||
|
|
|
+ !attributeData.resourceBomId
|
|
|
"
|
|
|
>删除</el-link
|
|
|
>
|