|
@@ -2,7 +2,7 @@
|
|
|
<div>
|
|
<div>
|
|
|
<el-button type="text" size="small" @click="detailBtn">明细</el-button>
|
|
<el-button type="text" size="small" @click="detailBtn">明细</el-button>
|
|
|
<el-dialog title="产品组商品明细" append-to-body :visible.sync="dialogTableVisible" width="70%">
|
|
<el-dialog title="产品组商品明细" append-to-body :visible.sync="dialogTableVisible" width="70%">
|
|
|
- <add-btn v-if="tool.checkAuth($route.name,'insert')" @onSuccess="getDetail" style="margin-bottom:16px" :id="rowData.sa_itemgroupid" />
|
|
|
|
|
|
|
+ <add-btn ref="add" v-if="tool.checkAuth($route.name,'insert')" @onSuccess="getDetail" style="margin-bottom:16px" :id="rowData.sa_itemgroupid" />
|
|
|
<tableLayout v-if="dialogTableVisible" :layout="tablecols" :data="list" :opwidth="200" :custom="true" height="40vh" fixedName="operation">
|
|
<tableLayout v-if="dialogTableVisible" :layout="tablecols" :data="list" :opwidth="200" :custom="true" height="40vh" fixedName="operation">
|
|
|
<template v-slot:customcol="scope">
|
|
<template v-slot:customcol="scope">
|
|
|
<span v-if="scope.column.data[scope.column.columnname]">{{scope.column.data[scope.column.columnname]}}</span>
|
|
<span v-if="scope.column.data[scope.column.columnname]">{{scope.column.data[scope.column.columnname]}}</span>
|
|
@@ -11,7 +11,7 @@
|
|
|
<template v-slot:opreation="scope">
|
|
<template v-slot:opreation="scope">
|
|
|
<div style="display:flex;justify-content:space-around">
|
|
<div style="display:flex;justify-content:space-around">
|
|
|
<Del type="detail" v-if="tool.checkAuth($route.name,'delete')" :id="rowData.sa_itemgroupid" @deleteSuccess="getDetail" :detailId="scope.data.sa_itemgroupmxid"/>
|
|
<Del type="detail" v-if="tool.checkAuth($route.name,'delete')" :id="rowData.sa_itemgroupid" @deleteSuccess="getDetail" :detailId="scope.data.sa_itemgroupmxid"/>
|
|
|
- <editBtn v-if="tool.checkAuth($route.name,'update')" :id="rowData.sa_itemgroupid" @onSuccess="getDetail" :rowData="scope.data"/>
|
|
|
|
|
|
|
+ <!-- <editBtn v-if="tool.checkAuth($route.name,'update')" :id="rowData.sa_itemgroupid" @onSuccess="getDetail" :rowData="scope.data"/> -->
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</tableLayout>
|
|
</tableLayout>
|