绑定名字错误
parent
0b6e897300
commit
08c0b2d862
|
@ -51,7 +51,7 @@ function appendTrCostProjectManage() {
|
|||
|
||||
function bindChangeableInputProjectManage() {
|
||||
//数量改变
|
||||
$(".input-changeable-amount0").change(function () {
|
||||
$(".input-changeable-amount-project-manage").change(function () {
|
||||
var amount = parseFloat($(this).val());
|
||||
//找到对应的单价
|
||||
var price = parseFloat($(this).parent().parent().find(".input-changeable-price-project-manage").val());
|
||||
|
@ -60,7 +60,7 @@ function bindChangeableInputProjectManage() {
|
|||
$(this).parent().parent().find(".input-changeable-total-project-manage").val(amount*price);
|
||||
});
|
||||
//单价改变
|
||||
$(".input-changeable-price0").change(function () {
|
||||
$(".input-changeable-price-project-manage").change(function () {
|
||||
var price = parseFloat($(this).val());
|
||||
//找到对应的数量
|
||||
var amount = parseFloat($(this).parent().parent().find(".input-changeable-amount-project-manage").val());
|
||||
|
|
Loading…
Reference in New Issue