username@email.com
2024-12-18 21a248a0cf76b6f05fcaac6f90975ef15ab607a1
CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
@@ -127,6 +127,14 @@
        case "37":
            $("#divInquiry").load("/Pages/front/WorkBook.aspx", { "PrintTypeId": printTypeId }, ExcuteCallBack);
            break;
        //试卷
        case "38":
            $("#divInquiry").load("/Pages/front/Shijuan.aspx", { "PrintTypeId": printTypeId }, ExcuteCallBack);
            break;
        //公文纸
        case "39":
            $("#divInquiry").load("/Pages/front/GongWenZhi.aspx", { "PrintTypeId": printTypeId }, ExcuteCallBack);
            break;
        //收据联单                    
        case "27":
            $("#divInquiry").load("/Pages/front/ReceiptDocument.aspx", { "PrintTypeId": printTypeId }, ExcuteCallBack);
@@ -1395,6 +1403,14 @@
    $("[name='sjType']").change();
    $("[name='RopeTypeId']").val(dataJson.RopeTypeId);
    var afterWorkArry = dataJson.AfterWorkList;
    if (printTypeId == 39) {
        $("[name='works']").each(
            function () {
                $(this).attr("checked", false);
            }
        );
    }
    if (afterWorkArry.length > 0) {
        for (var i = 0; i < afterWorkArry.length; i++) {
            $("[name='works']").each(
@@ -1452,6 +1468,11 @@
                }
            }
        }
    }
    if (printTypeId == 39) {
        $("#pageNumsbs").val(dataJson.pageNumsbs);
    }
    //台历
    if (printTypeId == 25) {
@@ -1774,7 +1795,7 @@
        return;
    }
    if (printTypeId == 32 || printTypeId == 31) {
    if (printTypeId == 32 || printTypeId == 31 || printTypeId == 38 ) {
        $("#printCount").attr("readonly", false);
        return;
    }
@@ -2028,6 +2049,11 @@
        $("#printCount").attr("readonly", false);
        return;
    }
    if (printTypeId == "39") {
        $("#printCount").attr("readonly", false);
        $("#paper0").attr("disabled", false);
        return;
    }
    $("[id*='paper'][id!=paperSize]").val(3);
    $("[id*='paper'][id!=paperSize]").attr("disabled", true);
    $("[id*='brand']").attr("disabled", true);