南骏 池
2024-12-14 a6e5d667123496f0129c8e7c3d930c46e7a46ba1
js/CangKuManage_js/GS_JCLLD.js
@@ -281,13 +281,20 @@
function GetBarInfoLL() {
   if (event.keyCode == 13) {
      //如果未输入条码,跳出方法
      if ($("#DAB001").val() == "") {
      if ($("#DAB001").val() == "" ) {
         $("#DAB001").focus();
         playerAudio("NG");
         mui.toast("请先扫描物料条码!");
         return;
      }
          if ($("#DEPOTSE").val() == "" ) {
             playerAudio("NG");
             mui.toast("该工单线别寄存库位未维护!");
             return;
          }
      //用户ID
      var currentSession = app.loadconfig(app.CONFIG_CURRENT_SESSION);
      var user_id = currentSession.user_id; //currentSession.user_id;
@@ -366,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();
   };