| | |
| | | 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); |
| | |
| | | $("[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( |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | if (printTypeId == 39) { |
| | | |
| | | $("#pageNumsbs").val(dataJson.pageNumsbs); |
| | | |
| | | } |
| | | //台历 |
| | | if (printTypeId == 25) { |
| | |
| | | return; |
| | | } |
| | | |
| | | if (printTypeId == 32 || printTypeId == 31) { |
| | | if (printTypeId == 32 || printTypeId == 31 || printTypeId == 38 ) { |
| | | $("#printCount").attr("readonly", false); |
| | | return; |
| | | } |
| | |
| | | $("#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); |