| | |
| | | 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); |
| | |
| | | //动态加载页面后执行的语句 |
| | | 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 () { |
| | |
| | | } |
| | | $("[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); |