From cac13d369f5e1869460ed27a888856dc9dcdd602 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期三, 30 十月 2024 08:54:33 +0800 Subject: [PATCH] 1.寄存领料单 2.巡检优化 3.新合并寄存领料 --- 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