username@email.com
2024-09-29 75939c71a404bb691c6074c93d76b0aa1afcbbe6
CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
@@ -253,6 +253,7 @@
                if (dataJson.PrintTypeId == "-1" || dataJson.PrintTypeId == -1) {
                    $("[name='printSizeName']").val(dataJson.PrintSizeName);
                    $("[name='printCount']").val(dataJson.PrintCount);
                    $("[name='ysUnit']").val(dataJson.Unit);
                    $("[name='txtPrintDemand']").val(dataJson.PrintDemand);
                } else {
                    BindControlByPrintType(dataJson);
@@ -290,6 +291,32 @@
//动态加载页面后执行的语句
function ExcuteCallBack() {
    var printTypeId = $("#hidPrintTypeId").val();
    setTimeout(function () {
        var element = document.getElementById('txtKeyid');
        if (element) {
            var OldOrderId = document.getElementById('txtKeyid').value;
            if (OldOrderId == "" || OldOrderId == "0") {
                if ($("[name='printMode']").length > 1) {
                    $("[name='printMode']").each(
                        function () {
                            if ($(this).val() == "0") {
                                $(this).click();
                            }
                        }
                    );
                }
            }
        }
    }, 1000);
    $("#selDigitalPrintType").live("change",
            function () {
@@ -1215,6 +1242,7 @@
    }
    $("[name='gramWeight0']").val(dataJson.GramWeight);
    $("#printCount").val(dataJson.PrintCount);
    $("[name='ysUnit']").val(dataJson.Unit);
    $("[name='RopeTypeName']").val(dataJson.RopeTypeName);
    $("[name='RopeColor']").val(dataJson.RopeColor);
    $("[name='printColor0']").val(dataJson.PrintColor);
@@ -1296,6 +1324,8 @@
                }
                if (afterWorkArry[i] == "13") {
                    $("#divJT0").show();
                } if (afterWorkArry[i] == "99") {
                    $("#divJTT0").show();
                }
            }
        }
@@ -2110,6 +2140,13 @@
        else {
            $("#divJT" + index + "").hide();
        }
    } else if ($(obj).val() == "99") {
        if ($("#divJTT" + index + "").is(":hidden")) {
            $("#divJTT" + index + "").show();
        }
        else {
            $("#divJTT" + index + "").hide();
        }
    } else if ($(obj).val() == "47") {
        if ($("#divLY" + index + "").is(":hidden")) {
            $("#divLY" + index + "").show();