|
@@ -21,8 +21,8 @@
|
|
|
>
|
|
>
|
|
|
<template slot="menuLeft">
|
|
<template slot="menuLeft">
|
|
|
<el-button type="success" size="small" plain @click="exportfun">导出</el-button>
|
|
<el-button type="success" size="small" plain @click="exportfun">导出</el-button>
|
|
|
- <el-button size="small" @click="$refs.print.openDialog()">预 览 </el-button>
|
|
|
|
|
- <el-button size="small" @click="$refs.report.openDialog()">报表设计 </el-button>
|
|
|
|
|
|
|
+ <el-button size="small" @click="$refs.print.openDialog(query)">预 览 </el-button>
|
|
|
|
|
+ <el-button size="small" @click="$refs.report.openDialog(query)">报表设计 </el-button>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="header">
|
|
<template slot="header">
|
|
|
<el-table v-loading="itemLoading" :data="commodityData" border size="small" @header-click="cellClick" style="width: 100%">
|
|
<el-table v-loading="itemLoading" :data="commodityData" border size="small" @header-click="cellClick" style="width: 100%">
|