瀏覽代碼

出货未开票分析明细新增导出

qymljy 1 年之前
父節點
當前提交
7da5accf27

+ 3 - 1
src/views/salesData/components/shippingUninvoiceDetail.vue

@@ -15,6 +15,7 @@
             <span class="search__label">搜索:</span>
             <el-input style="width:300px;" placeholder="订单号、部门、业务员、客户、产品、品号" :suffix-icon="param.content.where.condition?param.content.where.condition.length > 0?'':'':'el-icon-search'" v-model="param.content.where.condition" @keyup.native.enter="listData(param.content.pageNumber = 1)" @clear="listData(param.content.pageNumber = 1)" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
             </el-input>
+            <exportFile class="inline-16" :columns="tablecols" :param="param" :fileName="data.erpagentnum+ ' ' + data.enterprisename + '_'  + '出货未开票明细'"></exportFile>
           </div>
           <div style="float: right">
             <span class="search__label">分析日期:</span>
@@ -84,10 +85,11 @@
 
 <script>
 import tableTemplate from '@/views/salesData/components/table';
+import exportFile from '@/components/export_file/index'
 export default {
   name: "shippingUninvoiceDetail",
   props:["type","dataid","sys_enterpriseid","data","isFull"],
-  components:{tableTemplate},
+  components:{tableTemplate,exportFile},
   data(){
     return {
       visible:false,

+ 1 - 1
src/views/salesData/modules/orderType.vue

@@ -89,7 +89,7 @@ import exportFile from '@/components/export_file/index'
 const G = G2.getEngine('canvas');
 export default {
   name: "orderType",
-  props:['dataid','scrollHeight','windowWidth','pagerCount'],
+  props:['dataid','scrollHeight','windowWidth'],
   components:{tableTemplate,fullScreen,exportFile},
   data(){
     return {