滚动问题

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

@@ -60,7 +60,7 @@
<button class="confirm-button" :class="{'confirm-button_disabled': !e.subOneChecked}" :disabled="disabled1" @tap="_allocationBillConfirm(e)">直接调拨</button>
</view>
</view>
<view class="table-wrap">
<view class="table-wrap" :style="{height: e.subData.length >= 5 ? '230px' : (30 + 40 * e.subData.length) + 'px'}" @touchmove="handleInnerScroll">
<table class="grid-table">
<thead>
<tr>
@@ -255,6 +255,9 @@
}, 3000)
},
methods: {
handleInnerScroll(event) {
event.stopPropagation()
},
// 仓库下拉框
async _getWarehouseInfo () {
let res = await getWarehouseInfo()