修复最近的BUG
This commit is contained in:
@@ -184,7 +184,7 @@ Vue.component("tableColumn", {
|
||||
return config.custom ? h('div', {
|
||||
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])) || [],
|
||||
}
|
||||
},
|
||||
openNearbyStores({rowIndex}, store) {
|
||||
const {thirdGoodsCode} = this.storeKeyGoods[rowIndex],
|
||||
{storeCode, longitude, latitude} = store
|
||||
openNearbyStores({thirdGoodsCode}, store) {
|
||||
const {storeCode, longitude, latitude} = store
|
||||
return $http.post("/data-boot/la/screen/multipleStoreBoard/aroundStock", {
|
||||
type: "1", ...this.search, storeCode, longitude, latitude, thirdGoodsCode,
|
||||
}).then(res => {
|
||||
@@ -151,14 +150,14 @@ export default {
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.height = `${this.$el.clientHeight}px`
|
||||
this.height = `${this.$el.clientHeight - 30}px`
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<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">
|
||||
<div class="layout">
|
||||
<div class="store" v-for="store in group" :key="store.storeCode">
|
||||
|
||||
Reference in New Issue
Block a user