function chkcost() { var paper_code = document.orderform.paper_code; var coating_code = document.orderform.coating_code; // memo1_change(); //ÄÚÆÃÀº ¾ÆÆ®Áö¿¡¼­¸¸ ¼±ÅÃÇÒ ¼ö ÀÖÀ½ if(paper_code.value == "ppk28"){ //coating_code.disabled = false; } else{ if(coating_code.value != "cot02") { alert("¾ÆÆ®Áö¸¸ ÄÚÆÃÀ» ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù. ´Ù¸¥ Á¾ÀÌ´Â ÄÚÆÃÀÌ ºÒ°¡ÇÕ´Ï´Ù."); coating_code.value = "cot02" } } costchange(); } function chkexsize() { var metal_size01 = $("#metal_size01").val(); //°¡·Î var metal_size02 = $("#metal_size02").val(); //¼¼·Î if(metal_size01 > 131 ){ alert("¡Ø ÃÖ´ë »çÀÌÁî´Â 131mm x 201mm ÀÌ»óÀÔ´Ï´Ù."); document.orderform.size01.value = ""; document.orderform.pay.value = 0; document.all.span_price.innerHTML = 0; document.all.break_pro_price_plus.innerHTML = 0; document.all.view_price.innerHTML = 0; document.all.span_total_estimate_prie.innerHTML = 0; document.orderform.size01.focus(); }else if(metal_size02 > 201){ alert("¡Ø ÃÖ´ë »çÀÌÁî´Â 131mm x 201mm ÀÌ»óÀÔ´Ï´Ù."); document.orderform.size02.value = ""; document.orderform.pay.value = 0; document.all.span_price.innerHTML = 0; document.all.break_pro_price_plus.innerHTML = 0; document.all.view_price.innerHTML = 0; document.all.span_total_estimate_prie.innerHTML = 0; document.orderform.size02.focus(); } else{ costchange(); } } 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; var after_etc_cut = document.orderform.after_etc_cut; var stickers_digitalcut_size = document.orderform.stickers_digitalcut_size; var digit_type = $("#stickers_digitalcut_type").val(); var metal_size01 = $("#metal_size01").val(); //°¡·Î var metal_size02 = $("#metal_size02").val(); //¼¼·Î var inputqty = $("#qty_code_digitalcut").val(); //ÇÑÀå¾ÈÀÇ °¹¼ö var maxqty = Number($(".pre_no").text()); //ÃÖ´ëÀÇ °¹¼ö ±¸ÇѼö // var pan_num = Math.ceil(eval(inputqty) / maxqty); //ÇÑÀåÀÇ ¼ö var pan_num = Number($("#admin_chk_msg1-1").text()); pan_num = Number(pan_num); //ÇÑÀåÀÇ ¼ö pan_num = getNum(pan_num); //³­À̸é 0 var kal_level_code = document.orderform.kal_level_code; var piece_cnt_view = $("#piece_cnt_view").val(); //³¹°³¼ö·® if (digit_type == 0){ //°í°´ÆíÁý ÀÚÀ¯Çü document.all.digital_memo.innerHTML ="" document.all.digital_memo.innerHTML= paper_code.options[paper_code.selectedIndex].innerText + " / " + stickers_digitalcut_size.options[stickers_digitalcut_size.selectedIndex].innerText + " / " + color_code.options[color_code.selectedIndex].innerText + " / °í°´ÀԷ»çÀÌÁî : " + metal_size01 + " * " + metal_size02 + "/ Àμâ¼ö·® : " + inputqty + "°³" + " / ÇÊ¿ä Àμ⠿ëÁö¼ö : " + pan_num + "Àå" + "/ " + after_etc_cut.options[after_etc_cut.selectedIndex].innerText ; document.all.memo1.innerHTML ="" document.all.memo1.innerHTML= paper_code.options[paper_code.selectedIndex].innerText + " / " + stickers_digitalcut_size.options[stickers_digitalcut_size.selectedIndex].innerText + " / " + color_code.options[color_code.selectedIndex].innerText + " / ÀԷ»çÀÌÁî : " + metal_size01 + " * " + metal_size02 + "/ ¼ö·® : " + inputqty + "°³" + " / ¿ëÁö¼ö : " + pan_num + "Àå" + "/ " + after_etc_cut.options[after_etc_cut.selectedIndex].innerText ; }else{ //¸Þ¸ð¿¡ ÁÖ¹®¿É¼Ç ³Ö¾îÁÖ±â document.all.digital_memo.innerHTML ="" document.all.digital_memo.innerHTML = "(³­À̵µ:" + kal_level_code.options[kal_level_code.selectedIndex].innerText + " / °í°´ÀԷ»çÀÌÁî : " + metal_size01 + " * " + metal_size02 + " / " + paper_code.options[paper_code.selectedIndex].innerText + " / " + "Á¦ÀÛ¼ö·®:" + qty_code.options[qty_code.selectedIndex].innerText+ " / ³¹°³¼ö·®:" + piece_cnt_view+ "°³)"; document.all.memo1.innerHTML ="" document.all.memo1.innerHTML = "(³­À̵µ:" + kal_level_code.options[kal_level_code.selectedIndex].innerText + " / °í°´ÀԷ»çÀÌÁî : " + metal_size01 + " * " + metal_size02 + " / " + paper_code.options[paper_code.selectedIndex].innerText + " / " + "Á¦ÀÛ¼ö·®:" + qty_code.options[qty_code.selectedIndex].innerText+ " / ³¹°³¼ö·®:" + piece_cnt_view+ "°³)"; } } function getNum(val) { if (isNaN(val)) { return 0; } return val; } function costchange() { var paper_code = document.orderform.paper_code.value; //Á¾ÀÌ Á¾·ù var size_width = document.orderform.metal_size01.value; //°í°´ °¡·Î»çÀÌÁî var size_height = document.orderform.metal_size02.value; //°í°´ ¼¼·Î»çÀÌÁî var kal_level_code = document.orderform.kal_level_code.value; //³­À̵µ lv_basic, lv_middel, lv_high var coating_code = document.orderform.coating_code.value; //ÄÚÆÃÄÚµå cot05 À¯±¤ÄÚÆà cot07 Ȧ·Î±×·¥ÄÚÆà var qty_code = document.orderform.qty_code.value; var price =document.orderform.pay; var pan_kind = 50; //ÀÛÀºÆÇ Å¬¸¯ºñ var pan_max_width = 137; //ÆÇ °¡·Î var pan_max_height = 207; //ÆÇ ¼¼·Î //»çÀÌÁ ³Ö¾îÁØ´Ù. document.orderform.size01.value = size_width; document.orderform.size02.value = size_height; //¿ø´Üºñ var paper_code_price = 0; if (paper_code == 'ppk28'){paper_code_price = 32;} //¾ÆÆ®Áö90g (ºñÄÚÆÃ) else if (paper_code == 'ppk19'){paper_code_price = 29;} //¸ðÁ¶Áö 80g else if (paper_code == 'ppkda'){paper_code_price = 45;} //Å©¶óÇÁÆ® 57g else if (paper_code == 'ppkmt'){paper_code_price = 246;} //±×¹®µå_È­ÀÌÆ®¿¡¹ö else if (paper_code == 'ppkmu'){paper_code_price = 246;} //±×¹®µå_È­ÀÌÆ®¿ìµå else if (paper_code == 'ppkmv'){paper_code_price = 260;} //±×¹®µå_ij½Ã¹Ì¾î document.all.paper_code_price.innerHTML = comma(paper_code_price); document.all.paper_code_price_02.innerHTML = comma(paper_code_price); //document.all..innerHTML = comma(); var click_price = pan_kind; //Ŭ¸¯ºñ(º¯¼ö¸¦ ¾Ë¾Æº¼¼ö ÀÖ°Ô ´Ù½Ã ³Ö¾îÁÜ) document.all.click_price.innerHTML = comma(click_price); document.all.click_price_02.innerHTML = comma(click_price); var cut_mgn = 2; //Àç´Ü¿©¹é(»ç¹æ) var kal_mgn = 1; //Ä®¼±°£°Ý(»ç¹æ) var min_width = 50; //ÃÖ¼ÒÀç´Ü(°¡·Î) var min_height = 40; //ÃÖ¼ÒÀç´Ü(¼¼·Î) var min_cut_mgn = 3; var width_work_size = eval(size_width) + 4; //°¡·ÎÆíÁý document.all.width_work_size.innerHTML = comma(width_work_size); var height_work_size = eval(size_height) + 4; //¼¼·ÎÆíÁý document.all.height_work_size.innerHTML = comma(height_work_size); var width_t_size = width_work_size + 2; //°¡·Î(Ä®¼±Æ÷ÇÔ) document.all.width_t_size.innerHTML = comma(width_t_size); var height_t_size = height_work_size + 2; //¼¼·Î(Ä®¼±Æ÷ÇÔ) document.all.height_t_size.innerHTML = comma(height_t_size); //isNaN(width_t_size)´Â width_t_size°¡ ¼ýÀÚ°¡ ¾Æ´Ï¸é true°ªÀ» °¡Áü if(isNaN(width_t_size)){width_t_size=0;} if(isNaN(height_t_size)){height_t_size=0;} //ÀÛ¾÷»çÀÌÁî º¸ÀÌ°Ô ÇØÁÜ document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : " + width_t_size + "mm x " + height_t_size + "mm"; var count_width01 = Math.floor(pan_max_width / width_t_size); //Á¤¹æÇâ(°¡·Î) document.all.count_width01.innerHTML = comma(count_width01); var count_height01 = Math.floor(pan_max_height / height_t_size); //Á¤¹æÇâ(¼¼·Î) document.all.count_height01.innerHTML = comma(count_height01); var impose_count01 = count_width01 * count_height01; //Á¶ÆÇ°¹¼ö document.all.impose_count01.innerHTML = comma(impose_count01); var count_width02 = Math.floor(pan_max_width / height_t_size); //Á¤¹æÇâ(¼¼·Î) document.all.count_width02.innerHTML = comma(count_width02); var count_height02 = Math.floor(pan_max_height / width_t_size); //Á¤¹æÇâ(°¡·Î) document.all.count_height02.innerHTML = comma(count_height02); var impose_count02 = count_width02 * count_height02; //Á¶ÆÇ°¹¼ö document.all.impose_count02.innerHTML = comma(impose_count02); //³ëÃâÁ¦ÀÛ¼ö·® 01 (±âº» ÆÇÅ©±â¿¡ ´ëÇÑ °è»êÀ¸·Î Á¦ÀÛ°¹¼ö) //À§ µÎ°³ÀÇ Á¶ÆÇ°¹¼ö(impose_count01, impose_count02)Áß Å«°ÍÀ» ±âº»Á¦ÀÛ¼ö(³ëÃâÁ¦ÀÛ¼ö·®)À¸·Î ÇÑ´Ù. var basic_count = 0; if (impose_count01 >= impose_count02){basic_count = impose_count01;} else {basic_count = impose_count02;} document.all.basic_count.innerHTML = comma(basic_count); //³ëÃâÁ¦ÀÛ¼ö·® 02 //ÃÖ¼ÒÀç´Ü»çÀÌÁî¿¡ µû¸¥ Á¦ÀÛ°¹¼ö (°¡·Î(Ä®¼±Æ÷ÇÔ)*¼¼·Î(Ä®¼±Æ÷ÇÔ) ÀÌ 50*40º¸´Ù ÀÛÀ» ¶§ ³¹°³ ¼ö·®À» ¾Ë±â À§ÇÑ °è»ê½Ä) //50*40º¸´Ù ÀÛÀ¸¸é 50*40À¸·Î Àç´ÜÀ» ÇÑ´Ù. ±× ¾È¿¡ ¸î°³ µé¾î°¡´ÂÁö ±¸ÇÏ´Â °ø½Ä var basic_count_5040 = 0; var count_width03 = Math.floor(min_width / width_t_size); //Á¤¹æÇâ(¼¼·Î) document.all.count_width03.innerHTML = comma(count_width03); var count_height03 = Math.floor(min_height / height_t_size); //Á¤¹æÇâ(°¡·Î) document.all.count_height03.innerHTML = comma(count_height03); var impose_count5040_01 = count_width03 * count_height03; //Á¶ÆÇ°¹¼ö document.all.impose_count5040_01.innerHTML = comma(impose_count5040_01); var count_width04 = Math.floor(min_width / height_t_size); //Á¤¹æÇâ(¼¼·Î) document.all.count_width04.innerHTML = comma(count_width04); var count_height04 = Math.floor(min_height / width_t_size); //Á¤¹æÇâ(°¡·Î) document.all.count_height04.innerHTML = comma(count_height04); var impose_count5040_02 = count_width04 * count_height04; //Á¶ÆÇ°¹¼ö document.all.impose_count5040_02.innerHTML = comma(impose_count5040_02); if (impose_count5040_01 >= impose_count5040_02){basic_count_5040 = impose_count5040_01;} else {basic_count_5040 = impose_count5040_02;} document.all.basic_count_5040.innerHTML = comma(basic_count_5040); //¿©±âºÎÅÍ ³ëÃâ ÀçÀÛ°¹¼ö var imsi_width_cnt = Math.floor(pan_max_width / min_width); //Á¦ÀÛ°¹¼ö(°¡·Î) document.all.imsi_width_cnt.innerHTML = comma(imsi_width_cnt); var imsi_height_cnt = Math.floor(pan_max_height / min_height); //Á¦ÀÛ°¹¼ö(¼¼·Î) document.all.imsi_height_cnt.innerHTML = comma(imsi_height_cnt); var imsi_t_cnt = imsi_width_cnt * imsi_height_cnt; //Àû¿ëÀå¼ö(50*40) document.all.imsi_t_cnt.innerHTML = comma(imsi_t_cnt); var basic_t_cnt = 0; //±âº»³ëÃâÁ¦ÀÛ¼ö·® if((width_t_size <= min_width) && (height_t_size <= min_height)){basic_t_cnt = imsi_t_cnt;} else {basic_t_cnt = basic_count;} document.all.basic_t_cnt.innerHTML = comma(basic_t_cnt); //Á¦ÀÛÀå¼ö var paper_make_cnt = eval(qty_code); document.all.paper_make_cnt.innerHTML = comma(paper_make_cnt); document.all.paper_make_cnt_02.innerHTML = comma(paper_make_cnt); //ÃÖÁ¾³ëÃâÁ¦ÀÛ¼ö·® var total_goods_make_cnt = 0; total_goods_make_cnt = basic_t_cnt * paper_make_cnt; if (isFinite(total_goods_make_cnt) == false){total_goods_make_cnt = 0} //¼ýÀÚ°¡ ¾Æ´Ï¶ó¸é 0 document.all.total_goods_make_cnt.innerHTML = comma(total_goods_make_cnt); //Á¦ÀÛ¼ö·®À» º¸ÀÌ°Ô ÇØ ÁØ´Ù. ³»ºÎÀûÀ¸·Î´Â 1Àå 2ÀåÀ¸·Î ÁÖ¹®µÇ¾î Áö°Ô ÇÑ´Ù. for(var i = 0; i <= 19; i++) { // if(basic_t_cnt == 1){ // document.orderform.qty_code.options[i].value = i+1; document.orderform.qty_code.options[i].text = (i+1) + "¸Å"; // } // else{ //document.orderform.qty_code.options[i].value = i+1; document.orderform.qty_code.options[i].text = "ÆÇ"+ (i+1) + "Àå (" + comma((i+1) * basic_t_cnt)+"¸Å)"; document.orderform.qty_code.options[i].value = i+1; document.orderform.qty_code.options[i].text = "" + comma((i+1) * basic_t_cnt)+"¸Å"; // } //document.orderform.qty_code.options[i].value = i; document.orderform.qty_code.options[i].text = comma(i)+"¸Å"; } //³¹°³¼ö·® var piece_cnt = 0; piece_cnt = total_goods_make_cnt * basic_count_5040; document.orderform.piece_cnt_view.value = piece_cnt; document.all.piece_cnt.innerHTML = comma(piece_cnt); //ÄÆÆúñ //±âº»ÄÆÆúñ //³ëÃâÁ¦ÀÛ¼ö·® 01 ¿¡ µû¶ó °¡°Ý var basic_cut_price = 0; if (basic_count >= 1 && basic_count <= 10){basic_cut_price = 60;} else if (basic_count >= 11 && basic_count <= 20){basic_cut_price = 160;} else if (basic_count >= 21 && basic_count <= 30){basic_cut_price = 260;} else if (basic_count >= 31 && basic_count <= 40){basic_cut_price = 360;} else if (basic_count >= 41 && basic_count <= 50){basic_cut_price = 460;} else if (basic_count >= 51 && basic_count <= 60){basic_cut_price = 560;} else if (basic_count >= 61 && basic_count <= 70){basic_cut_price = 660;} else if (basic_count >= 71 && basic_count <= 80){basic_cut_price = 760;} else if (basic_count >= 81 && basic_count <= 90){basic_cut_price = 860;} else if (basic_count >= 91 && basic_count <= 100){basic_cut_price = 960;} document.all.basic_cut_price.innerHTML = comma(basic_cut_price); //Àμ⿵¿ª°è»êÁ¤¼ö var print_area_int = 4; //ÀÛÀºÆÇ Á¤¼ö ¹ÚÀ½ document.all.print_area_int.innerHTML = comma(print_area_int); //ÃÖÁ¾ÄÆÆúñ var tot_cut_price = 0; tot_cut_price = basic_cut_price / print_area_int; document.all.tot_cut_price.innerHTML = comma(tot_cut_price); document.all.tot_cut_price_02.innerHTML = comma(tot_cut_price); //Ä®¼±³­À̵µ var kal_level_code = document.orderform.kal_level_code.value; //³­À̵µ lv_basic, lv_middel, lv_high document.all.kal_level_code_02.innerHTML = kal_level_code; //³­À̵µÃß°¡ºñ var kal_level_price = 0; if(kal_level_code == 'lv_basic'){kal_level_price = 0;} else if(kal_level_code == 'lv_middle'){kal_level_price = 1000;} else if(kal_level_code == 'lv_high'){kal_level_price = 2000;} document.all.kal_level_price.innerHTML = comma(kal_level_price); document.all.kal_level_price_02.innerHTML = comma(kal_level_price); //ÄÚÆúñ //ÄÚÆü±Åà //±âº»ÄÚÆúñ var coating_code = document.orderform.coating.value; //ÄÚÆÃÄÚµå cot05 À¯±¤ÄÚÆà cot06 ¹«±¤ÄÚÆà cot07 Ȧ·Î±×·¥ÄÚÆà document.all.coating_code_02.innerHTML = coating_code; var basic_coating_price = 0; if(coating_code == 'cot05'){basic_coating_price = 100;} else if(coating_code == 'cot06'){basic_coating_price = 150;} else if(coating_code == 'cot07' || coating_code == 'cot09' || coating_code == 'cot10' || coating_code == 'cot11'){basic_coating_price = 250;} else{basic_coating_price = 0;} document.all.basic_coating_price.innerHTML = comma(basic_coating_price); //Àû¿ëÄÚÆúñ var tot_coating_price = 0; tot_coating_price = basic_coating_price * paper_make_cnt; document.all.tot_coating_price.innerHTML = comma(tot_coating_price); document.all.tot_coating_price_02.innerHTML = comma(tot_coating_price); //Æ÷Àåºñ var packing_price = 300; document.all.packing_price.innerHTML = comma(packing_price); //¿øÁ¦ÀÛºñ //1ÀåÁ¦ÀÛ¿ø°¡ = ¿ø´Üºñ + ÄÆÆúñ + Ŭ¸¯ºñ + Ä®¼±³­À̵µ + ÄÚÆúñ + Æ÷Àåºñ var cost_1piece = 0; cost_1piece = paper_code_price + tot_cut_price + click_price + kal_level_price + tot_coating_price + packing_price; document.all.cost_1piece.innerHTML = comma(cost_1piece); //¿øÁ¦ÀÛºñ var goods_price = 0; if(paper_make_cnt > 1){goods_price = ((paper_code_price + tot_cut_price + click_price) * paper_make_cnt) + kal_level_price + tot_coating_price + packing_price;} else {goods_price = cost_1piece * paper_make_cnt;} document.all.goods_price.innerHTML = comma(goods_price); //±âº» ÀΰǺñ Á¤º¸ var salary_pay = 2100000; //±Þ¿© var emp_cnt = 2; //Á¦ÀÛÀοø¼ö var work_day = 21; //¾÷¹«ÀÏ var work_time = 8; //¾÷¹«½Ã°£(½Ã) var waiting_time = 10; //Áغñ½Ã°£(ºÐ) var print_time = 5; //Àμâ½Ã°£(ºÐ) var endjob_time = 250; //ÈÄ°¡°ø(ºÐ) var minute_print_cnt = 50; //ºÐ´ÜÀμâ¸Å¼ö(Àå) //1ÀÏÀΰǺñ var day_p_costs = 0; day_p_costs = salary_pay / work_day; document.all.day_p_costs.innerHTML = comma(day_p_costs); //1½Ã°£´çÀΰǺñ var hour_costs = 0 hour_costs = day_p_costs / work_time; document.all.hour_costs.innerHTML = comma(hour_costs); //1ºÐ´çÀΰǺñ minute_costs = 0; minute_costs = hour_costs / 60; document.all.minute_costs.innerHTML = comma(minute_costs); //ÃÑÀÛ¾÷½Ã°£ var tot_work_time = 0; tot_work_time = waiting_time + print_time + endjob_time; document.all.tot_work_time.innerHTML = comma(tot_work_time); //Àû¿ëÀΰǺñ //ÃÖ´ë¼ö·®ÀΰǺñ var maxqty_costs = 0; maxqty_costs = tot_work_time * minute_costs * emp_cnt; document.all.maxqty_costs.innerHTML = comma(maxqty_costs); //1ÀåÀΰǺñ = Á¦ÀÛÀΰǺñ var piece1_emp_costs = 0; piece1_emp_costs = maxqty_costs / minute_print_cnt; document.all.piece1_emp_costs.innerHTML = comma(piece1_emp_costs); //±âº»ÆǸŰ¡ //¸¶ÁøÀ² var magin_per = 2; document.all.magin_per.innerHTML = comma(magin_per); //ÃÖÁ¾ÆǸŰ¡ = (¿øÁ¦ÀÛºñ + Á¦ÀÛÀΰǺñ) * ¸¶ÁøÀ² var end_price = 0; end_price = (goods_price + piece1_emp_costs) * magin_per; document.all.end_price.innerHTML = comma(end_price); //Àå¼öÇÒÀÎÀ²Àû¿ë°ª //Á¦ÀÛÀå¼ö¿¡ ´ëÇÑ ÇÒÀΰª var piece_per = 0; if(paper_make_cnt == 1){piece_per = 0;} else if(paper_make_cnt == 2){piece_per = 0.01;} else if(paper_make_cnt == 3){piece_per = 0.02;} else if(paper_make_cnt == 4){piece_per = 0.03;} else if(paper_make_cnt == 5){piece_per = 0.04;} else if(paper_make_cnt == 6){piece_per = 0.05;} else if(paper_make_cnt == 7){piece_per = 0.06;} else if(paper_make_cnt == 8){piece_per = 0.07;} else if(paper_make_cnt == 9){piece_per = 0.08;} else if(paper_make_cnt == 10){piece_per = 0.09;} else if(paper_make_cnt == 11){piece_per = 0.1;} else if(paper_make_cnt == 12){piece_per = 0.11;} else if(paper_make_cnt == 13){piece_per = 0.12;} else if(paper_make_cnt == 14){piece_per = 0.13;} else if(paper_make_cnt == 15){piece_per = 0.14;} else if(paper_make_cnt == 16){piece_per = 0.15;} else if(paper_make_cnt == 17){piece_per = 0.16;} else if(paper_make_cnt == 18){piece_per = 0.17;} else if(paper_make_cnt == 19){piece_per = 0.18;} else if(paper_make_cnt == 20){piece_per = 0.19;} document.all.piece_per.innerHTML = comma(piece_per); //Àå¼öÇÒÀÎÆǸŰ¡ var last_price = 0; last_price = end_price - (end_price * piece_per); //Á¦ÁÖµµ 7% Àλó last_price = last_price * 1.07; //¹é¿ø´ÜÀ§ ¸¸µé±â last_price = Math.round(last_price / 100) * 100; document.all.last_price.innerHTML = comma(last_price); //alert(last_price); price.value = last_price ; price01_change(); } function price01_change() { memo1_change(); var frm = document.orderform; var price = frm.pay; 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))); //Á¦Ç° + ÈÄ°¡°ø ÃÑ¾× //ºÎ°¡¼¼ tax_price =eval(price.value)/10 frm.tax_price.value = tax_price; document.all.span_tax_price.innerHTML = comma(tax_price); //°ßÀûÃÑ¾× estimate_price = eval(price.value)+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); } }