|
@@ -1,9 +1,9 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <add-sale-class class="normal-margin" :data="data" @addSuccess="getClassList" v-if="tool.checkAuth($route.name,'salerClass') "/>
|
|
|
+ <add-sale-class class="normal-margin" :data="data" @addSuccess="getClassList" v-if="tool.checkAuth($route.name,'classAdd') "/>
|
|
|
<tableLayout :layout="tablecols" :data="saleClassList" :custom="false" height="calc(100vh - 405px)" fixedName="operation">
|
|
|
<template v-slot:opreation="scope">
|
|
|
- <Del v-if="tool.checkAuth($route.name,'salerClass')" :id="scope.data.sys_enterprise_saleclassid" @onSuccess="getClassList"/>
|
|
|
+ <Del v-if="tool.checkAuth($route.name,'classDel')" :id="scope.data.sys_enterprise_saleclassid" @onSuccess="getClassList"/>
|
|
|
</template>
|
|
|
</tableLayout>
|
|
|
</div>
|