|
@@ -142,7 +142,6 @@
|
|
:checkbox-option="checkboxOption"
|
|
:checkbox-option="checkboxOption"
|
|
:cell-style-option="cellStyleOption"
|
|
:cell-style-option="cellStyleOption"
|
|
/>
|
|
/>
|
|
- <div v-show="dataSource.length==0" class="empty-data"><a-empty description="暂无数据" :image="simpleImage"/></div>
|
|
|
|
</a-spin>
|
|
</a-spin>
|
|
<!-- 仓库设置 -->
|
|
<!-- 仓库设置 -->
|
|
<setWarehouse :title="warehouseTit" :show="openWarehouseModal" @ok="chooseWarehouseOk" @cancel="openWarehouseModal=false"></setWarehouse>
|
|
<setWarehouse :title="warehouseTit" :show="openWarehouseModal" @ok="chooseWarehouseOk" @cancel="openWarehouseModal=false"></setWarehouse>
|
|
@@ -267,7 +266,7 @@ export default {
|
|
tableHeight () {
|
|
tableHeight () {
|
|
const len = this.dataSource.length
|
|
const len = this.dataSource.length
|
|
if (len == 0) return 300
|
|
if (len == 0) return 300
|
|
- return len <= 10 ? ((len + 1) * 35) + 'px' : '350px'
|
|
|
|
|
|
+ return len <= 10 ? ((len + 1) * 36) + 'px' : '360px'
|
|
},
|
|
},
|
|
// 表格复选框设置
|
|
// 表格复选框设置
|
|
checkboxOption () {
|
|
checkboxOption () {
|
|
@@ -950,14 +949,6 @@ export default {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="less">
|
|
<style lang="less">
|
|
- .empty-data{
|
|
|
|
- color: #999;
|
|
|
|
- text-align: center;
|
|
|
|
- padding: 20px;
|
|
|
|
- position: absolute;
|
|
|
|
- bottom: 50px;
|
|
|
|
- width: 100%;
|
|
|
|
- }
|
|
|
|
.table-header-cell-center{
|
|
.table-header-cell-center{
|
|
text-align: center!important;
|
|
text-align: center!important;
|
|
}
|
|
}
|