修复最近的BUG
This commit is contained in:
@@ -184,7 +184,7 @@ Vue.component("tableColumn", {
|
|||||||
return config.custom ? h('div', {
|
return config.custom ? h('div', {
|
||||||
style: {color: row.preSaleNum > row.stockNum ? 'red' : '#fff'}, class: 'pointer'
|
style: {color: row.preSaleNum > row.stockNum ? 'red' : '#fff'}, class: 'pointer'
|
||||||
}, '周边库存情况') :
|
}, '周边库存情况') :
|
||||||
h('span', row[config.prop] || '')
|
h('span', row[config.prop] ?? '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -137,9 +137,8 @@ export default {
|
|||||||
column.format ? column.format(e) : e[column.prop])) || [],
|
column.format ? column.format(e) : e[column.prop])) || [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openNearbyStores({rowIndex}, store) {
|
openNearbyStores({thirdGoodsCode}, store) {
|
||||||
const {thirdGoodsCode} = this.storeKeyGoods[rowIndex],
|
const {storeCode, longitude, latitude} = store
|
||||||
{storeCode, longitude, latitude} = store
|
|
||||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/aroundStock", {
|
return $http.post("/data-boot/la/screen/multipleStoreBoard/aroundStock", {
|
||||||
type: "1", ...this.search, storeCode, longitude, latitude, thirdGoodsCode,
|
type: "1", ...this.search, storeCode, longitude, latitude, thirdGoodsCode,
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -151,14 +150,14 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.height = `${this.$el.clientHeight}px`
|
this.height = `${this.$el.clientHeight - 30}px`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<section class="AppStoresTable" @click="dialog=false">
|
<section class="AppStoresTable" @click="dialog=false">
|
||||||
<el-carousel indicator-position="none" :height="height" :autoplay="search.changeWay==1" @change="v=>curI=(v||0)" :interval="15000">
|
<el-carousel indicator-position="outside" :height="height" :autoplay="search.changeWay==1" @change="v=>curI=(v||0)" :interval="60000">
|
||||||
<el-carousel-item v-for="(group,i) in storeList" :key="i">
|
<el-carousel-item v-for="(group,i) in storeList" :key="i">
|
||||||
<div class="layout">
|
<div class="layout">
|
||||||
<div class="store" v-for="store in group" :key="store.storeCode">
|
<div class="store" v-for="store in group" :key="store.storeCode">
|
||||||
|
|||||||
Reference in New Issue
Block a user