|
|
@@ -40,7 +40,11 @@
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- <table class="table" v-if="activeTab == 1">
|
|
|
+ <div style="float: right;" v-if="activeTab == 0">
|
|
|
+ <page :total="list.totalElements" :page-size="pageParams.count"
|
|
|
+ :current="pageParams.page" @childEvent="handleCurrentChange"></page>
|
|
|
+ </div>
|
|
|
+ <table class="table supper-table" v-if="activeTab == 1">
|
|
|
<thead>
|
|
|
<tr class="bgf7">
|
|
|
<th width="100"></th>
|
|
|
@@ -84,7 +88,7 @@
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- <div style="float: right;">
|
|
|
+ <div style="float: right;" v-if="activeTab == 1">
|
|
|
<page :total="list.totalElements" :page-size="pageParams.count"
|
|
|
:current="pageParams.page" @childEvent="handleCurrentChange"></page>
|
|
|
</div>
|
|
|
@@ -117,6 +121,10 @@
|
|
|
},
|
|
|
brand () {
|
|
|
return this.$store.state.brandDetail.detail.data
|
|
|
+ },
|
|
|
+ supplier () {
|
|
|
+ console.log(this.$store.state.supplierInformation.information)
|
|
|
+ return this.$store.state.supplierInformation.information.data
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -258,4 +266,22 @@
|
|
|
font-size: 14px;
|
|
|
color: #5078cb;
|
|
|
}
|
|
|
+ .component-list .supper-table thead th.text-left{
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .component-list .supper-table tbody tr{
|
|
|
+ height: 74px;
|
|
|
+ vertical-align:middle ;
|
|
|
+ }
|
|
|
+ .component-list .supper-table tbody tr td{
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ max-width: 100px;
|
|
|
+ }
|
|
|
+ .component-list .supper-table tbody tr img{
|
|
|
+ width: 98px;
|
|
|
+ height: 49px;
|
|
|
+ border: 1px solid #dcdcdc;
|
|
|
+ }
|
|
|
</style>
|