From 8135a222f0c2c8275f829ad97338066eeb2fdaed Mon Sep 17 00:00:00 2001 From: DXC Date: Thu, 26 Mar 2026 17:49:55 +0800 Subject: [PATCH] fix(stocktake): restore missing showConfirmDialog ref causing ReferenceError --- inventory-web/src/views/stock/stocktake/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inventory-web/src/views/stock/stocktake/index.vue b/inventory-web/src/views/stock/stocktake/index.vue index 0451b6a..b380a97 100644 --- a/inventory-web/src/views/stock/stocktake/index.vue +++ b/inventory-web/src/views/stock/stocktake/index.vue @@ -461,6 +461,13 @@ const showList = ref(false) const showFinishDialog = ref(false) const showQtyDialog = ref(false) +// ★ 新增: 防呆确认弹窗 +const showConfirmDialog = ref(false) + +// ★ 新增: 盘点开始防呆倒计时 +const countdown = ref(0) +let countdownTimer: any = null + // ★ 新增: 差异审核对话框 const showVarianceDialog = ref(false)