duhe
2025-08-21 fd9a820a9de3a72362b8c2df636b83a60684decf
WebTM/views/ÖÊÁ¿¹ÜÀí/PNL¼ìÑéÐÅÏ¢/QC_CheckNote_PNL_TempEdit.html
@@ -215,6 +215,7 @@
            var HBarCode_PNL = params[params[3]]; //PNL条码编号
            var HSetNo = params[params[4]]; //set号
            var HPCSNo = params[params[5]]; //PCS号
            var HBadReason_Params = decodeURIComponent(params[params[6]]) ; //不良原因
        }
        layui.config({
@@ -287,6 +288,19 @@
                document.getElementById("HCheckProc").setAttribute("disabled", "disabled");
                form.render('select');
            }
            else if (OperationType == 7) {//直方图-avi å³å‡»æ–°å¢ž
                set_AddFNew();
                $("#HBarCode").val(HBarCode_PNL);
                $("#HSetNo").val(HSetNo);
                $("#HPCSNo").val(HPCSNo);
                $("#HCheckProc").val("AVI");
                $("#HBadReason").val(HBadReason_Params);
                document.getElementById("HBarCode").setAttribute("disabled", "disabled");
                document.getElementById("HSetNo").setAttribute("disabled", "disabled");
                document.getElementById("HPCSNo").setAttribute("disabled", "disabled");
                document.getElementById("HCheckProc").setAttribute("disabled", "disabled");
                form.render('select');
            }
            else {
                layer.alert("未知操作类型!", { icon: 5 });
            }
@@ -306,7 +320,7 @@
                let url = GetWEBURL()
                if (OperationType == 3 || OperationType == 5) {
                    url += "/QC_CheckNote_PNL_TempController/EditBill"
                } else if (OperationType == 1 || OperationType == 2 || OperationType == 4 || OperationType == 6) {
                } else if (OperationType == 1 || OperationType == 2 || OperationType == 4 || OperationType == 6 || OperationType == 7) {
                    url += "/QC_CheckNote_PNL_TempController/AddBill"
                }
                $.ajax(
@@ -337,6 +351,17 @@
                            console.log("Reason" + sMainStr);
                        }
                    });
                if (OperationType == 7) {
                    if (linterid == undefined) {
                        //关闭页签
                        Pub_Close(2);
                    }
                    else {
                        //关闭页签
                        Pub_Close(1);
                    }
                }
            });
            //退出
            form.on('submit(Exit)', function (data) {//