zgq
2021-02-26 34f70b69d93447969c0094937a9693f80dde15a3
WebTM/views/ÑéÊÕÈë¿â/²úÆ·Èë¿â/Kf_ProductInBill_Fast.html
@@ -253,6 +253,7 @@
            $("#HMakerID").hide();
            $("#HBillerID").val(sessionStorage["HBillerID"]);
            $("#HBillerID").hide();
            var HSourceFlag = sessionStorage["SourceFlag"];
            //默认带入的仓库,如果启用仓位则仓位有效,如果没有启用则仓位灰度 new
            $("#HBarCode").focus();
@@ -473,7 +474,7 @@
        });
        form.on('submit(Cancel)', function () {
            sessionStorage["SourceFlag"] = false;
            //sessionStorage["SourceFlag"] = false;
            parent.location.href = "../../../views/index.html"
            //window.close();//关闭当前页
        })
@@ -629,7 +630,7 @@
                    //url: "http://61.130.49.162:9090/WMSAPI///ProductIn/get_CheckTypeByBarCode_Json",
                    url: GetWEBURL() + "/ProductIn/get_CheckTypeByBarCode_Json",
                    type: "GET",
                    data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": 0 },
                    data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": 0 },
                    success: function (result) {
                        debugger;
                        if (result.count == 1) {
@@ -660,7 +661,7 @@
                                $("#HDeptName").val(result.data.HDeptName);
                                $("#HDeptID").val(result.data.HDeptID);
                                $("#HSourceBillNo").val(result.data.HSourceBillNo);
                                sessionStorage["SourceFlag"] = true;
                                HSourceFlag = true;
                                //获取源单类型、源单单号
                                //if (result.data.HSourceBillType == "3711") {
                                //    $("#HBillType").val("3711");
@@ -672,7 +673,7 @@
                                element.tabChange('tab-ProductlnBill', '3');
                            }
                            else {
                                if (sessionStorage["SourceFlag"] == "true") {
                                if (HSourceFlag == "true") {
                                    element.tabChange('tab-ProductlnBill', '3');
                                }
                                else {
@@ -681,7 +682,7 @@
                                    //$("#HDeptName").val(result.data.HDept);
                                    //$("#HDeptID").val(result.data.HDeptID);
                                    $("#HSourceBillNo").val(result.data.HSourceBillNo);
                                    sessionStorage["SourceFlag"] = true;
                                    HSourceFlag = true;
                                    //获取源单类型、源单单号
                                    //if (result.data.HSourceBillType == "3711") {
                                    //    $("#HBillType").val("3711");
@@ -763,7 +764,7 @@
                    data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo },
                    success: function (result) {
                        if (result.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                            sessionStorage["SourceFlag"] = true;
                            HSourceFlag = true;
                            layer.load(3)
                            element.tabChange('tab-ProductlnBill', '2');
                            table.render({