| | |
| | | alertMsg("内页新增不能超过5个!"); |
| | | return; |
| | | } |
| | | $("#InsidePage" + newValue + "").show(); |
| | | $("#InsidePage" + newValue + "").show(); |
| | | $("#neiyesheji" + newValue + "1").show(); |
| | | $("#neiyesheji" + newValue + "2").show(); |
| | | $("#hidInsidePageNum").val(newValue); |
| | | if (newValue != maxValue) { |
| | | var value = newValue + 1; |
| | |
| | | alertMsg("内页不能少于1!"); |
| | | return; |
| | | } |
| | | $("#InsidePage" + hidValue + "").hide(); |
| | | $("#InsidePage" + hidValue + "").hide(); |
| | | $("#neiyesheji" + hidValue + "1").hide(); |
| | | $("#neiyesheji" + hidValue + "2").hide(); |
| | | $("[name='pageNum" + hidValue + "']").val(""); |
| | | $("#hidInsidePageNum").val(newValue); |
| | | if (parseInt(hidValue) != minValue) { |
| | |
| | | var index = insideArry[j].InsideIndex; |
| | | if (parseInt(index) > 1 ) { |
| | | $("#InsidePage" + index + "").show(); |
| | | $("#neiyesheji" + index + "1").show(); |
| | | $("#neiyesheji" + index + "2").show(); |
| | | $("#hidInsidePageNum").val(index); |
| | | var indexValue = parseInt(index); |
| | | if (indexValue != 5) { |
| | |
| | | $("#viewneiyea" + (i + 1)).attr("href", insideArry[i].neiye); |
| | | $("#hideneiyea" + (i + 1)).val(insideArry[i].neiye); |
| | | } |
| | | |
| | | $("#bindingMode" + (i + 1)).val(insideArry[i].bindingMode); |
| | | |
| | | |
| | | |
| | |
| | | } |
| | | var paperId = $("[id='paper" + index + "'][id!=paperSize]").val(); |
| | | if (paperId != 18) { |
| | | if (bingVal != 14) { |
| | | if (!checkBookPageNum()) { |
| | | msg = "无线,锁线胶装和精装内页页码不能小于36(除硫酸纸)"; |
| | | isSuccess = false; |
| | | return false; |
| | | } |
| | | } |
| | | //if (bingVal != 14) { |
| | | // if (!checkBookPageNum()) { |
| | | // msg = "无线,锁线胶装和精装内页页码不能小于36(除硫酸纸)"; |
| | | // isSuccess = false; |
| | | // return false; |
| | | // } |
| | | //} |
| | | if (isSuccess) { |
| | | if (parseInt(pageNum) % i != 0) { |
| | | msg = "内页的页码必须为" + i + "的倍数的正整数(除硫酸纸)"; |