|
@@ -20,7 +20,11 @@
|
|
rowKey="goodsId"
|
|
rowKey="goodsId"
|
|
>
|
|
>
|
|
<template slot="customize">
|
|
<template slot="customize">
|
|
- <el-button size="medium" @click="handelCopy" type="success"
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ size="medium"
|
|
|
|
+ v-if="isShowCopy"
|
|
|
|
+ @click="handelCopy"
|
|
|
|
+ type="success"
|
|
>商品复制</el-button
|
|
>商品复制</el-button
|
|
>
|
|
>
|
|
<el-button size="medium" @click="handelBatch(1)" type="success"
|
|
<el-button size="medium" @click="handelBatch(1)" type="success"
|
|
@@ -708,6 +712,11 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ computed: {
|
|
|
|
+ isShowCopy() {
|
|
|
|
+ return sessionStorage.TenantId == "867735392558919680";
|
|
|
|
+ },
|
|
|
|
+ },
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|