From a40798a6290b41c4aacab2e142a23b944743bda9 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 19 八月 2025 10:48:32 +0800 Subject: [PATCH] 1.核对送检新增AGV送检和AGV呼叫 2.样式优化 --- H5/Js/BarCfBefore.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/H5/Js/BarCfBefore.js b/H5/Js/BarCfBefore.js index 9d8451e..5709a88 100644 --- a/H5/Js/BarCfBefore.js +++ b/H5/Js/BarCfBefore.js @@ -115,10 +115,12 @@ that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘涓虹┖锛�"); return; } - if (that.formData.cfNum > that.formData.sumQuantity) { + // ... existing code ... + if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) { that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘澶т簬鏉$爜鏁伴噺锛�"); return; } + // ... existing code ... if (that.formData.barcode.length * 1 <= 0) { that.$toast.fail("鐗╂枡鏉$爜涓嶈兘涓虹┖锛�"); return; -- Gitblit v1.9.3