Commit 8d3ac721 authored by 黄奎's avatar 黄奎

页面修改

parent 08a25a33
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns" class="sticky-column-table sticky-right-column-table" separator="none" :data="dataList" :columns="columns"
row-key="name"> row-key="name" :visible-columns="visibleColumns">
<template v-slot:top="props"> <template v-slot:top="props">
<div class="col-2 q-table__title">留学信息</div> <div class="col-2 q-table__title">留学信息</div>
<q-space /> <q-space />
...@@ -274,7 +274,12 @@ ...@@ -274,7 +274,12 @@
field: 'Id' field: 'Id'
} }
], ],
//表格可见列
visibleColumns: [
'Name', 'SuggestPrice', 'SellPrice', "PreferentialList", "PreferentialListSellCommission",
"PreferentialListB2BCommission",
"EducationCommission", 'SaleStateName', 'Id','SupplierName',
], //可见列
PageCount: 0, PageCount: 0,
isShowStudy: false, //是否显示留学弹窗 isShowStudy: false, //是否显示留学弹窗
studyObj: {}, //留学对象 studyObj: {}, //留学对象
...@@ -313,6 +318,10 @@ ...@@ -313,6 +318,10 @@
}, },
created() { created() {
this.getSaleStateList(); this.getSaleStateList();
if(!this.isHaveViewSupplierAction)
{
this.visibleColumns.splice(this.visibleColumns.length-1,1);
}
}, },
methods: { methods: {
//获取销售状态列表 //获取销售状态列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment