|
@@ -153,7 +153,7 @@
|
|
|
:span="3"
|
|
|
class="fr"
|
|
|
style="width: 66px; padding: 0 0 0 10px"
|
|
|
- v-if="powers.some((i) => i == '003')"
|
|
|
+ v-if="powers.some((i) => i == '003') && !isSupertube"
|
|
|
>
|
|
|
<el-button
|
|
|
:size="searchSize"
|
|
@@ -168,7 +168,7 @@
|
|
|
:span="3"
|
|
|
class="fr"
|
|
|
style="width: 110px; padding: 0 0 0 10px"
|
|
|
- v-if="powers.some((i) => i == '055')"
|
|
|
+ v-if="powers.some((i) => i == '055') && !isSupertube"
|
|
|
>
|
|
|
<el-button
|
|
|
:size="searchSize"
|
|
@@ -302,7 +302,7 @@
|
|
|
></i>
|
|
|
</el-tooltip>
|
|
|
<el-tooltip
|
|
|
- v-if="powers.some((i) => i == '079') && scope.row.status !== '8'"
|
|
|
+ v-if="(powers.some((i) => i == '079') && scope.row.status !== '8') && !isSupertube"
|
|
|
effect="dark"
|
|
|
content="下线商品"
|
|
|
placement="top"
|
|
@@ -316,10 +316,10 @@
|
|
|
<!-- scope.row.has_account + '' == '0' && -->
|
|
|
<el-tooltip
|
|
|
v-if="
|
|
|
- ((ppowers.some((i) => i == '7') && scope.row.status + '' === '7') ||
|
|
|
+ (((ppowers.some((i) => i == '7') && scope.row.status + '' === '7') ||
|
|
|
(ppowers.some((i) => i == '6') && scope.row.status + '' === '6') ||
|
|
|
(ppowers.some((i) => i == '8') && scope.row.status + '' === '8')) &&
|
|
|
- (scope.row.is_stock + '' === '0' || scope.row.is_stock + '' === '1')
|
|
|
+ (scope.row.is_stock + '' === '0' || scope.row.is_stock + '' === '1')) && !isSupertube
|
|
|
"
|
|
|
effect="dark"
|
|
|
content="修改"
|
|
@@ -338,9 +338,9 @@
|
|
|
<!-- scope.row.has_account + '' == '0' && -->
|
|
|
<el-tooltip
|
|
|
v-if="
|
|
|
- ppowers.some((i) => i == '4') &&
|
|
|
+ (ppowers.some((i) => i == '4') &&
|
|
|
(scope.row.status + '' === '4' || scope.row.status + '' === '1') &&
|
|
|
- (scope.row.is_stock + '' === '0' || scope.row.is_stock + '' === '1')
|
|
|
+ (scope.row.is_stock + '' === '0' || scope.row.is_stock + '' === '1')) && !isSupertube
|
|
|
"
|
|
|
effect="dark"
|
|
|
content="修改基础信息"
|
|
@@ -354,9 +354,9 @@
|
|
|
<!-- scope.row.has_account + '' == '0' && -->
|
|
|
<el-tooltip
|
|
|
v-if="
|
|
|
- ppowers.some((i) => i == '5') &&
|
|
|
+ (ppowers.some((i) => i == '5') &&
|
|
|
(scope.row.status + '' === '5' || scope.row.status + '' === '1') &&
|
|
|
- (scope.row.is_stock + '' === '0' || scope.row.is_stock + '' === '1')
|
|
|
+ (scope.row.is_stock + '' === '0' || scope.row.is_stock + '' === '1')) && !isSupertube
|
|
|
"
|
|
|
effect="dark"
|
|
|
content="修改成本信息"
|
|
@@ -369,8 +369,8 @@
|
|
|
</el-tooltip>
|
|
|
<el-tooltip
|
|
|
v-if="
|
|
|
- powers.some((i) => i == '010') &&
|
|
|
- !(scope.row.status + '' === '7' || scope.row.status + '' === '8')
|
|
|
+ (powers.some((i) => i == '010') &&
|
|
|
+ !(scope.row.status + '' === '7' || scope.row.status + '' === '8')) && !isSupertube
|
|
|
"
|
|
|
effect="dark"
|
|
|
content="复制商品"
|
|
@@ -456,7 +456,7 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
//组件SIZE设置
|
|
|
- ...mapGetters(["tablebtnSize", "searchSize", "size"]),
|
|
|
+ ...mapGetters(["tablebtnSize", "searchSize", "size", "isSupertube"]),
|
|
|
powers() {
|
|
|
const tran =
|
|
|
this.$store.getters.btnList.find((i) => i.menu_route == "goodsCost") || {};
|