function chkcost() { document.orderform.qty_code.options[0].value = "10"; document.orderform.qty_code.options[0].text = "10±Ç"; document.orderform.qty_code.options[1].value = "20"; document.orderform.qty_code.options[1].text = "20±Ç"; document.orderform.qty_code.options[2].value = "30"; document.orderform.qty_code.options[2].text = "30±Ç"; document.orderform.qty_code.options[3].value = "40"; document.orderform.qty_code.options[3].text = "40±Ç"; document.orderform.qty_code.options[4].value = "50"; document.orderform.qty_code.options[4].text = "50±Ç"; document.orderform.qty_code.options[5].value = "80"; document.orderform.qty_code.options[5].text = "80±Ç"; document.orderform.qty_code.options[6].value = "100"; document.orderform.qty_code.options[6].text = "100±Ç"; document.orderform.qty_code.options[7].value = "150"; document.orderform.qty_code.options[7].text = "150±Ç"; document.orderform.qty_code.options[8].value = "200"; document.orderform.qty_code.options[8].text = "200±Ç"; document.orderform.qty_code.options[9].value = "250"; document.orderform.qty_code.options[9].text = "250±Ç"; document.orderform.qty_code.options[10].value = "300"; document.orderform.qty_code.options[10].text = "300±Ç"; document.orderform.qty_code.options[11].value = "400"; document.orderform.qty_code.options[11].text = "400±Ç"; document.orderform.qty_code.options[12].value = "500"; document.orderform.qty_code.options[12].text = "500±Ç"; document.orderform.qty_code.options[13].value = "800"; document.orderform.qty_code.options[13].text = "800±Ç"; document.orderform.qty_code.options[14].value = "1000"; document.orderform.qty_code.options[14].text = "1000±Ç"; //Á¦º»¾øÀ½ => Á¦º»Ã¶ ¾øÀ½À¸·Î º¯°æ if (document.orderform.jebon_yesno.value == "N"){ document.orderform.jebon_code.options[0].value = ""; document.orderform.jebon_code.options[0].text = "¾øÀ½"; document.orderform.jebon_code.options[1].value = ""; document.orderform.jebon_code.options[1].text = "----"; document.orderform.jebon_code.options[2].value = ""; document.orderform.jebon_code.options[2].text = "----"; } else { document.orderform.jebon_code.options[0].value = "spkn5"; document.orderform.jebon_code.options[0].text = "»óö"; document.orderform.jebon_code.options[1].value = "spkn6"; document.orderform.jebon_code.options[1].text = "ÁÂö"; document.orderform.jebon_code.options[2].value = "spkn7"; document.orderform.jebon_code.options[2].text = "ÇÏö"; } memo1_change(); //°¡°Ý°è»ê½Ä ÇÔ¼ö //costchange_date.asp ÆÄÀÏ¿¡ ÀÖÀ½. qty_code_select(); 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 coating_code =document.orderform.coating_code; var subtitle = document.orderform.product_num.value; var after_price_mis = document.orderform.after_price_mis; var after_price_num = document.orderform.after_price_num; var after_price_tar = document.orderform.after_price_tar; var box_package = document.orderform.box_package; var box_package_price = document.orderform.box_package_price; //¹Ú½ºÆ÷Àå ½ÃÀÛ 2021-07-08 ¹Ú¹Î¼ö //¹Ú½ºÆ÷Àå °è»ê½Ä if (box_package.value == "Y"){ if (size_code.value == "pssi1" || size_code.value == "pssp8") { //16Àý A4 50±Ç´ç boxprice = Math.ceil(eval(qty_code.value)/50) * 1000 * subtitle; box_qty = Math.ceil(eval(qty_code.value)/50) * 1 * subtitle; } else if (size_code.value == "pssp6") { //A4 1/3 150±Ç´ç boxprice = Math.ceil(eval(qty_code.value)/150) * 1000 * subtitle; box_qty = Math.ceil(eval(qty_code.value)/150) * 1 * subtitle; } else if (size_code.value == "pssp5") { //A4 1/4 200±Ç´ç boxprice = Math.ceil(eval(qty_code.value)/200) * 1000 * subtitle; box_qty = Math.ceil(eval(qty_code.value)/200) * 1 * subtitle; } else { boxprice = Math.ceil(eval(qty_code.value)/100) * 1000 * subtitle; box_qty = Math.ceil(eval(qty_code.value)/100) * 1 * subtitle; } document.all.box_package_span.innerHTML = "¹Ú½ºÆ÷Àå : " + box_qty + "Box ("+comma(boxprice,0)+"¿ø)/ "; }else{ boxprice = 0; document.all.box_package_span.innerHTML = ""; } box_package.disabled = false; box_package_price.value = boxprice; //¹Ú½ºÆ÷Àå ³¡ 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 color_code_bak =document.orderform.color_code_bak; 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; var jebon_yesno = document.orderform.jebon_yesno; var jebon_code = document.orderform.jebon_code; document.all.memo1.innerHTML = paper_code.options[paper_code.selectedIndex].innerText + " / Á¦º»:" + jebon_code.options[jebon_code.selectedIndex].innerText + " / " + color_code.options[color_code.selectedIndex].innerText + " / µÞ¸é:" + color_code_bak.options[color_code_bak.selectedIndex].innerText + " / " + size_code.options[size_code.selectedIndex].innerText+" / "+ qty_code.options[qty_code.selectedIndex].innerText + " / " + subtitle.options[subtitle.selectedIndex].innerText; document.all.memo.innerHTML = paper_code.options[paper_code.selectedIndex].innerText + " / Á¦º»:" + jebon_code.options[jebon_code.selectedIndex].innerText + " / " + color_code.options[color_code.selectedIndex].innerText + " / µÞ¸é:" + color_code_bak.options[color_code_bak.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; //Èİ¡°ø_¹Ì½Ì if(frm.after_mis.value!=""){ after_mis_cost(); } //Èİ¡°ø_Ÿ°ø if(frm.after_tar.value!=""){ after_tar_cost(); } //Èİ¡°ø_³Ñ¹ö¸µ if(frm.after_num.value!=""){ after_num_cost(); } if(frm.box_package.value!=""){ total_after(); } var total_price_after = 0; total_price_after = eval(frm.after_price_mis.value) + eval(frm.after_price_num.value) + eval(frm.after_price_tar.value) + eval(frm.box_package_price.value); //Èİ¡°ø frm.after_total_price_plus.value = total_price_after; document.all.span_total_after_price_plus.innerHTML = comma(total_price_after); 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.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); }