Browse Source

合同导出

qymljy 1 year ago
parent
commit
13d916613d

+ 3 - 1
src/HDrpManagement/contractManage/components/productDetailList/productDetailList.vue

@@ -19,6 +19,7 @@
                     @addSuccess="addProducts" @addProduct="addProduct" @uploadData="uploadData" @closeDrawer="closeDrawer"
                      ref="addProduct"
         ></addProduct>
+        <exportFile v-if="tool.checkAuth($route.name,'export')" :param="params" :columns="tablecols" fileName="产品明细折扣"></exportFile>
       </div>
       <div class="produtMag-panel">
       </div>
@@ -106,8 +107,9 @@ import addProduct from '@/template/addProduct'
 import previewImage from '@/components/previewImage/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,uploadAllData,tableLayout},
+  components: {addProduct,previewImage,uploadAllData,tableLayout,exportFile},
   name: '',
   props:["data","isLeader"],
   data() {

+ 3 - 1
src/HDrpManagement/contractManage/components/productList/productBillno.vue

@@ -18,6 +18,7 @@
                             @addSuccess="queryProuctAdds" @addAll="addAll" ref="addProduct" @addProduct="queryProuctAdd" @uploadData="queryUploadData" v-if="tool.checkAuth($route.name,'productBillManage') && data.status === '新建' && isLeader"
         >
         </addProductContract>
+        <exportFile v-if="tool.checkAuth($route.name,'export')" :param="params" :columns="tablecols" fileName="产品明细折扣"></exportFile>
         <slot name="cooperate"></slot>
       </div>
       <tableLayout checkbox="true" :layout="tablecols" :data="list" :width="true" :opwidth="200" height="calc(100vh - 380px)" :custom="true" fixedName="operation countPrice" @selectionChange="selectionChange">
@@ -99,8 +100,9 @@ import addProduct from './addProduct'
 import previewImage from '@/components/previewImage/index'
 import addProductContract from '@/template/addProductContract/index'
 import uploadAllData from '@/components/uploadAllData/index'
+import exportFile from '@/components/export_file/index'
 export default {
-  components: {addProduct,previewImage,addProductContract,uploadAllData,tableLayout},
+  components: {addProduct,previewImage,addProductContract,uploadAllData,tableLayout,exportFile},
   name: '',
   props:["data","isLeader"],
   data() {

+ 3 - 1
src/HDrpManagement/contractManage/components/toolList/toolList.vue

@@ -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() {