修改折扣返回数据
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
function currentPriceInput(newval){
|
function currentPriceInput(newval){
|
||||||
form.discount=(newval*100/form.price).toFixed()
|
form.discount=(newval*100/form.price)
|
||||||
}
|
}
|
||||||
function discountInput(newval){
|
function discountInput(newval){
|
||||||
form.currentPrice=(form.price*newval/100).toFixed(2)
|
form.currentPrice=(form.price*newval/100).toFixed(2)
|
||||||
|
|||||||
Reference in New Issue
Block a user