From a6e5d667123496f0129c8e7c3d930c46e7a46ba1 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期六, 14 十二月 2024 10:13:48 +0800 Subject: [PATCH] 1.待发区界面 --- js/CangKuManage_js/GS_JCLLD.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/js/CangKuManage_js/GS_JCLLD.js b/js/CangKuManage_js/GS_JCLLD.js index 411b5be..8402404 100644 --- a/js/CangKuManage_js/GS_JCLLD.js +++ b/js/CangKuManage_js/GS_JCLLD.js @@ -373,12 +373,20 @@ mui.alert("璇疯緭鍏ユ纭殑鏁板瓧锛�") return; } + var txtSL = parseFloat($("#txtSL").val()); + var SFSL = parseFloat($("#SFSL").val()); + console.log("txtSL:", txtSL); + console.log("SFSL:", SFSL); // 姣旇緝鏁板�煎ぇ灏� - if ($("#txtSL").val() < $("#SFSL").val()) { + if (txtSL < SFSL) { + console.log($("#txtSL").val()); + console.log( $("#SFSL").val()); + console.log("1"); mui.alert("瀹炲彂鏁颁笉鑳藉ぇ浜庢潯鐮佹暟"); return; }; - if ($("#txtSL").val() > $("#SFSL").val()) { + if (txtSL > SFSL) { + // console.log("2"); PrintSplit(); }; -- Gitblit v1.9.3