|
@@ -30,8 +30,13 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
- <div class="btn-group">
|
|
|
- <el-button type="primary" size="mini" v-if="$checkBtnRole('add', $route.meta.roles)" @click="(dialogVisible = true), (type = 1)">新增</el-button>
|
|
|
+ <div class="btn-group clearfix">
|
|
|
+ <div class="fl">
|
|
|
+ <el-button type="primary" size="mini" v-if="$checkBtnRole('add', $route.meta.roles)" @click="(dialogVisible = true), (type = 1)">新增</el-button>
|
|
|
+ </div>
|
|
|
+ <div class="fr">
|
|
|
+ <ExportButton :exUrl="'sale/type/export'" :exParams="exParams" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="mymain-container">
|
|
|
<div class="table">
|
|
@@ -199,6 +204,17 @@ export default {
|
|
|
productList: [],
|
|
|
};
|
|
|
},
|
|
|
+
|
|
|
+ computed: {
|
|
|
+ exParams() {
|
|
|
+ return {
|
|
|
+ saleCode: this.screenForm.saleCode,
|
|
|
+ saleName: this.screenForm.saleName,
|
|
|
+ status: this.screenForm.status,
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
+
|
|
|
methods: {
|
|
|
getList() {
|
|
|
this.listLoading = true;
|