1
wangyi
2026-04-02 96785ebcfe1bc9210f3d9d4056f4ec29fb60d810
WebTM/views/Baseset/»ù´¡×ÊÁÏ/saomazutuo_xiaowei.html
@@ -482,6 +482,9 @@
                        success: function (res) {
                            if (res.count == 1) {
                                sBarCode = res.data[0].HCaseCode;
                                hform.HBarCode_middle.push(res.data[0].HCaseCode);
                            } else {
                                layer.msg("非中箱码,且未匹配到中箱码信息!扫描条码:" + sBarCode)
                            }
                        },
                        error: function (res) {
@@ -490,12 +493,14 @@
                            return;
                        }
                    });
                } else {
                    hform.HBarCode_middle.push(sBarCode);
                }
                if (!sBarCode) {
                    layer.msg('条码不能为空,请扫描条码!', { icon: 2 });
                    return;
                }
                hform.HBarCode_middle.push(sBarCode);
                console.log(hform.HBarCode_middle)
                console.log(sBarCode.toString().charAt(sBarCode.length - 1))
                if (sBarCode.toString().charAt(sBarCode.length - 1) != "W") {