调整table滚动兼顾使用滚动条
This commit is contained in:
@@ -36,9 +36,8 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
openNearbyStores({rowIndex}) {
|
||||
const {thirdGoodsCode} = this.tableData[rowIndex],
|
||||
{storeCode, longitude, latitude} = this.$storeBoard.store
|
||||
openNearbyStores({thirdGoodsCode}) {
|
||||
const {storeCode, longitude, latitude} = this.$storeBoard.store
|
||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/aroundStock", {
|
||||
type: "1", ...this.search, storeCode, longitude, latitude, thirdGoodsCode,
|
||||
}).then(res => {
|
||||
@@ -55,7 +54,8 @@ export default {
|
||||
<template>
|
||||
<section class="AppStoreKeyGoods">
|
||||
<div class="subTitle" v-text="'重点单品情况'"/>
|
||||
<dv-scroll-board :config="tableConfig" @click="openNearbyStores" @click.native.stop/>
|
||||
<scroll-table :table-data="tableData" :columns="columns" @click="openNearbyStores" @click.native.stop/>
|
||||
<!--<dv-scroll-board :config="tableConfig" @click="openNearbyStores" @click.native.stop/>-->
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user