|
|
@@ -19,17 +19,17 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
|
|
|
$scope.$$nonProduct.enterBatchPutOnPropertySaveButton = false;
|
|
|
|
|
|
- $scope.salePrice = 0;
|
|
|
+ // $scope.salePrice = 0;
|
|
|
|
|
|
$scope.setSalePrice = function (price) {
|
|
|
- $scope.salePrice = price;
|
|
|
+ $scope.uasBatchPutOnProperty.editFluctuateRate = price;
|
|
|
}
|
|
|
|
|
|
$scope.onSalePriceChange = function (salePrice) {
|
|
|
- if (salePrice < 0) {
|
|
|
- $scope.salePrice = 0;
|
|
|
- } else if (salePrice > 200) {
|
|
|
- $scope.salePrice = 200;
|
|
|
+ if ($scope.uasBatchPutOnProperty.editFluctuateRate < 0) {
|
|
|
+ $scope.uasBatchPutOnProperty.editFluctuateRate = 0;
|
|
|
+ } else if ($scope.uasBatchPutOnProperty.editFluctuateRate > 200) {
|
|
|
+ $scope.uasBatchPutOnProperty.editFluctuateRate = 200;
|
|
|
}
|
|
|
}
|
|
|
|