From 0ab6cdbb96d1efc00cbca105917aa021ad2491ef Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 06 五月 2025 09:55:36 +0800 Subject: [PATCH] 1.新增扫描成功和失败音效。 --- H5/Js/Cpbdsj.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/H5/Js/Cpbdsj.js b/H5/Js/Cpbdsj.js index 56f1231..2d92457 100644 --- a/H5/Js/Cpbdsj.js +++ b/H5/Js/Cpbdsj.js @@ -242,8 +242,8 @@ } // 璁$畻鍙鏁板拰宸茶鏁� - const oldqty = +(that.KbBarInfo.oldqty ?? 0); - const ySum = +(that.KbBarInfo.ySum ?? 0); + const oldqty = +(that.KbBarInfo.oldqty || 0); + const ySum = +(that.KbBarInfo.ySum || 0); if (oldqty !== ySum) { that.$toast.fail(`瑁呮澘鏈畬鎴愶紝寰呰鏁帮細${oldqty - ySum}`); -- Gitblit v1.9.3