日期:2014-05-16 浏览次数:20947 次
Round( (rs("danjia")-rs1("danjia")) , 2)
数量 <input id="a" onchange="fn1()" >
单价 <input id="b" onchange="fn1()">
金额 <input id="c" onchange="fn1()">
function $(id){return document.getElementById(id)}
function fn1(){
$('c').value= $('a').value * $('b').value
}
Round( (rs("danjia")-rs1("danjia")-rs("danjia"))*100 , 2)
Round( -rs1("danjia")*100 , 2)