滚动问题

This commit is contained in:
蔡玲
2024-12-13 14:46:20 +08:00
parent 90376a9f47
commit 752f915caa
9 changed files with 94 additions and 20 deletions

View File

@@ -50,7 +50,7 @@
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked || !e.subStatus2}" :disabled="disabled1" @tap="_stIvtCheckdtlBasedOnFinance(e)">财务为准</button>
</view>
</view>
<view class="table-wrap table-wrap_1">
<view class="table-wrap table-wrap_1" :style="{height: e.subData.length >= 5 ? '230px' : (30 + 40 * e.subData.length) + 'px'}" @touchmove="handleInnerScroll">
<table class="grid-table">
<thead>
<tr>
@@ -145,6 +145,9 @@
}, 3000)
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 仓库下拉框
async _getWarehouseInfo () {
let res = await getWarehouseInfo()