|
|
@@ -18,6 +18,7 @@
|
|
|
@addProduct="addTool" @uploadData="uploadData" @closeDrawer="listData();$emit('onSuccess')"
|
|
|
v-if="tool.checkAuth($route.name,'toolListManage') && data.status == '新建' && isLeader" class="inline-16"
|
|
|
></addTool>
|
|
|
+ <exportFile v-if="tool.checkAuth($route.name,'export')" :param="params" :columns="tablecols" fileName="产品明细折扣"></exportFile>
|
|
|
</div>
|
|
|
<tableLayout checkbox="true" :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 380px)" :custom="true" fixedName="operation countPrice" @selectionChange="selectionChange">
|
|
|
<template v-slot:customcol="scope">
|
|
|
@@ -86,8 +87,9 @@ import previewImage from '@/components/previewImage/index'
|
|
|
import addTool from '@/template/addTool/index'
|
|
|
import uploadAllData from '@/components/uploadAllData/index'
|
|
|
import tableLayout from '@/components/dynamic-table/index2'
|
|
|
+import exportFile from '@/components/export_file/index'
|
|
|
export default {
|
|
|
- components: {addProduct,previewImage,addTool,uploadAllData,tableLayout},
|
|
|
+ components: {addProduct,previewImage,addTool,uploadAllData,tableLayout,exportFile},
|
|
|
name: '',
|
|
|
props:["data","isLeader"],
|
|
|
data() {
|