From 3876860f19d3f5693fd35b956e2a375ba1a0ada1 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期四, 14 八月 2025 16:23:34 +0800 Subject: [PATCH] 1.巡检成功提示优化 2.巡检检验状态bug优化 3.产品绑定“不合格数”bug优化 4.到货单送货条码标记 --- H5/Js/BarCf.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/H5/Js/BarCf.js b/H5/Js/BarCf.js index 9f2065a..449abc5 100644 --- a/H5/Js/BarCf.js +++ b/H5/Js/BarCf.js @@ -115,6 +115,10 @@ that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘涓虹┖锛�"); return; } + if (that.formData.cfNum > that.formData.sumQuantity) { + that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘澶т簬鏉$爜鏁伴噺锛�"); + return; + } if (that.formData.barcode.length * 1 <= 0) { that.$toast.fail("鐗╂枡鏉$爜涓嶈兘涓虹┖锛�"); return; -- Gitblit v1.9.3