|
|
@@ -62,7 +62,6 @@ define(['app/app'], function (app) {
|
|
|
replaceCmpCode: false,
|
|
|
replaceSpec: true
|
|
|
};
|
|
|
- $scope.inquiryItem = {};
|
|
|
}
|
|
|
init();
|
|
|
initInquiryItem();
|
|
|
@@ -446,6 +445,7 @@ define(['app/app'], function (app) {
|
|
|
$scope.inquiryItem.leadtime = '';
|
|
|
} else {
|
|
|
$scope.validSayPrice.leadtime = true;
|
|
|
+ $scope.inquiryItem.leadtime = Number($scope.inquiryItem.leadtime)
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -462,6 +462,7 @@ define(['app/app'], function (app) {
|
|
|
$scope.inquiryItem.taxrate = '';
|
|
|
} else {
|
|
|
$scope.validSayPrice.taxrate = true;
|
|
|
+ $scope.inquiryItem.taxrate = Number($scope.inquiryItem.taxrate)
|
|
|
}
|
|
|
};
|
|
|
|
|
|
@@ -506,6 +507,7 @@ define(['app/app'], function (app) {
|
|
|
$scope.validSayPrice.repliesLapQty = false;
|
|
|
} else {
|
|
|
$scope.validSayPrice.repliesLapQty = true;
|
|
|
+ $scope.inquiryItem.replies[index].lapQty = Number($scope.inquiryItem.replies[index].lapQty)
|
|
|
}
|
|
|
}
|
|
|
$scope.onReplyLapQtyInput = function (index) {
|
|
|
@@ -554,6 +556,7 @@ define(['app/app'], function (app) {
|
|
|
$scope.validSayPrice.repliesPrice = false;
|
|
|
} else {
|
|
|
$scope.validSayPrice.repliesPrice = true;
|
|
|
+ $scope.inquiryItem.replies[index].price = Number(price)
|
|
|
}
|
|
|
}
|
|
|
/*
|