fix(storefabric): 修复坯布库存表格上滑误触发下拉刷新

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 16:12:52 +08:00
co-authored by Cursor
parent 162e10a6fc
commit 3f2481d1eb
3 changed files with 13 additions and 11 deletions
@@ -42,7 +42,7 @@
<WarehouseDataTable
:headers="tableHeaders"
:contents="tableContents"
:height="tableHeight"
height="auto"
@row-click="goStockList"
/>
</view>
@@ -56,7 +56,6 @@ import {
GROUP_TABLE_COLUMNS,
buildGroupListQuery,
buildStockListNavigateQuery,
calcTableHeight,
fetchAllWarehouseList,
mapGroupTableRow,
sumStockTotals,
@@ -85,9 +84,6 @@ export default {
totals() {
return sumStockTotals(this.list);
},
tableHeight() {
return calcTableHeight(this.tableContents.length);
},
},
onLoad() {
uni.setNavigationBarTitle({ title: '坯布库存' });
@@ -36,7 +36,7 @@
<WarehouseDataTable
:headers="tableHeaders"
:contents="tableContents"
:height="tableHeight"
height="auto"
@row-click="goDetail"
/>
</view>
@@ -50,7 +50,6 @@ import {
STOCK_TABLE_COLUMNS,
buildDetailNavigateQuery,
buildStockListQuery,
calcTableHeight,
fetchAllWarehouseList,
mapStockTableRow,
parsePageQuery,
@@ -84,9 +83,6 @@ export default {
totals() {
return sumStockTotals(this.list);
},
tableHeight() {
return calcTableHeight(this.tableContents.length, { maxPx: 9999 });
},
},
onLoad(options) {
const parsed = parsePageQuery(options || {});