function costchange() { var kind_code =document.orderform.kind_code; var paper_code =document.orderform.paper_code; var color_code =document.orderform.color_code; var coating_code =document.orderform.coating_code; var size_code =document.orderform.size_code; var qty_code =document.orderform.qty_code; var price =document.orderform.pay; var partcoting_price =document.orderform.partcoting_price; var subtitle = document.orderform.product_num.value; if(color_code.value == "cld04") { if(qty_code.value == 200){price.value = 70000*subtitle} else if(qty_code.value == 500){price.value = 90000*subtitle} else if(qty_code.value == 1000){price.value = 150000*subtitle} } else if(color_code.value == "cld08") { if(qty_code.value == 200){price.value = 84500*subtitle} else if(qty_code.value == 500){price.value = 110000*subtitle} else if(qty_code.value == 1000){price.value = 170000*subtitle} } price.value = eval(price.value)-(10000); document.orderform.after_pay.value = "10000"; document.orderform.lotto_price.value = "10000"; price01_change(); memo1_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 price_01 = frm.price_01; price_01.value = Math.round(price.value); document.all.span_price.innerHTML = comma(Math.round(eval(price.value) + eval(document.orderform.after_pay.value))); document.all.break_pro_price_plus.innerHTML = comma(Math.round(eval(price.value) + eval(document.orderform.after_pay.value))); //力前 醚咀 document.all.span_total_estimate_prie.innerHTML = comma(Math.round(eval(price.value) + eval(document.orderform.after_pay.value))); //力前 //何啊技 tax_price = (eval(price.value) + eval(document.orderform.after_pay.value))/10 frm.tax_price.value = tax_price; document.all.span_tax_price.innerHTML = comma(tax_price); //斑利醚咀 estimate_price = (eval(price.value) + eval(document.orderform.after_pay.value))+eval(tax_price) frm.estimate_price_end.value = estimate_price; document.all.span_estimate_price_end.innerHTML = comma(estimate_price); }