From 632bc196fb12501e2f57dfd290c08661888a097d Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 16 四月 2025 13:19:43 +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