function chkcount() { var paper_code = document.orderform.paper_code; var qty_code = document.orderform.qty_code; qty_code.options[0].value = "200"; qty_code.options[0].text = "200¸Å"; qty_code.options[1].value = "400"; qty_code.options[1].text = "400¸Å"; qty_code.options[2].value = "600"; qty_code.options[2].text = "600¸Å"; qty_code.options[3].value = "800"; qty_code.options[3].text = "800¸Å"; qty_code.options[4].value = "1000"; qty_code.options[4].text = "1000¸Å"; } function chkcost() { memo1_change(); costchange(); } function costchange(){ var kind_code =document.orderform.kind_code; var paper_code =document.orderform.paper_code; var color_code =document.orderform.color_code; var size_code =document.orderform.size_code; var qty_code =document.orderform.qty_code; var price =document.orderform.pay; var subtitle = document.orderform.product_num.value; if(paper_code.value == "ppkjr" ){ if(qty_code.value == 200){price.value = 11800*subtitle} else if(qty_code.value == 400){price.value = 23500*subtitle} else if(qty_code.value == 600){price.value = 35300*subtitle} else if(qty_code.value == 800){price.value = 47100*subtitle} else if(qty_code.value == 1000){price.value = 58900*subtitle} }else if(paper_code.value == "ppkjs") { if(qty_code.value == 200){price.value = 16100*subtitle} else if(qty_code.value == 400){price.value = 32100*subtitle} else if(qty_code.value == 600){price.value = 48200*subtitle} else if(qty_code.value == 800){price.value = 64200*subtitle} else if(qty_code.value == 1000){price.value = 80300*subtitle} } price01_change(); } function memo1_change() { var kind_code =document.orderform.kind_code; var paper_code =document.orderform.paper_code; var color_code =document.orderform.color_code; var size_code =document.orderform.size_code; var qty_code =document.orderform.qty_code; var price =document.orderform.pay; var subtitle = document.orderform.product_num; document.all.memo1.innerHTML = paper_code.options[paper_code.selectedIndex].innerText + " / " + color_code.options[color_code.selectedIndex].innerText + " / " + size_code.options[size_code.selectedIndex].innerText+" / "+ qty_code.options[qty_code.selectedIndex].innerText + " / " + subtitle.options[subtitle.selectedIndex].innerText; } function price01_change() { var frm = document.orderform; var price = frm.pay; var after_price = frm.after_total_price_plus.value; var price_01 = frm.price_01; price_01.value = Math.round(price.value); document.all.span_price.innerHTML = comma(Math.round(price.value)); document.all.break_pro_price_plus.innerHTML = comma(Math.round(price.value)); //Á¦Ç° ÃÑ¾× // document.all.view_price.innerHTML = comma(Math.round(price.value)); //Á¦Ç° ÃѾ×(»ó´Ü)20111226 Ãß°¡ document.all.span_total_estimate_prie.innerHTML = comma(Math.round(eval(price.value)+eval(after_price))); //Á¦Ç° //ºÎ°¡¼¼ tax_price = (eval(price.value)+eval(after_price))/10 frm.tax_price.value = tax_price; document.all.span_tax_price.innerHTML = comma(tax_price); //°ßÀûÃÑ¾× estimate_price = eval(price.value)+eval(after_price)+eval(tax_price) frm.estimate_price_end.value = estimate_price; document.all.span_estimate_price_end.innerHTML = comma(estimate_price); //ÁÖ¹® ¹Ù·Î¹Ø¿¡ Á¦Ç°±Ý¾×, ºÎ°¡¼¼, °ßÀûÃÑ¾× # ±Ý¾× view_price display:none 2017-12-15 if ($("#span_total_estimate_prie_sub").length > 0){ var span_total_estimate_prie_val = $("#span_total_estimate_prie").text(); $("#span_total_estimate_prie_sub").text(span_total_estimate_prie_val); } if ($("#span_tax_price_sub").length > 0){ var span_tax_price_val = $("#span_tax_price").text(); $("#span_tax_price_sub").text(span_tax_price_val); } if ($("#span_estimate_price_end_sub").length > 0){ var span_estimate_price_end_val = $("#span_estimate_price_end").text(); $("#span_estimate_price_end_sub").text(span_estimate_price_end_val); } }