From b50ca3ca2cb9f0add65268b324cddd502744f6b2 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 九月 2025 13:05:51 +0800
Subject: [PATCH] Merge branch 'master' of http://git.gs-mes.com:8080/r/~tjx/QXPDA

---
 H5/Js/BarCf.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/H5/Js/BarCf.js b/H5/Js/BarCf.js
index 449abc5..bdc9891 100644
--- a/H5/Js/BarCf.js
+++ b/H5/Js/BarCf.js
@@ -115,10 +115,16 @@
                 that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘涓虹┖锛�");
                 return;
             }
-            if (that.formData.cfNum > that.formData.sumQuantity) {
+            //if (that.formData.cfNum > that.formData.sumQuantity) {
+            //    that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘澶т簬鏉$爜鏁伴噺锛�");
+            //    return;
+            //}
+
+            if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) {
                 that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘澶т簬鏉$爜鏁伴噺锛�");
                 return;
             }
+
             if (that.formData.barcode.length * 1 <= 0) {
                 that.$toast.fail("鐗╂枡鏉$爜涓嶈兘涓虹┖锛�");
                 return;

--
Gitblit v1.9.3