|
|
@@ -212,9 +212,9 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
UASBatchPutOnPropertyServices.get(null, function (data) {
|
|
|
if (data) {
|
|
|
$scope.uasBatchPutOnProperty = data;
|
|
|
- $scope.uasBatchPutOnProperty.editFluctuateRate = $scope.uasBatchPutOnProperty.fluctuateRate * 100;
|
|
|
- $scope.uasBatchPutOnProperty.editMaxDelivery = $scope.uasBatchPutOnProperty.maxDelivery;
|
|
|
- $scope.uasBatchPutOnProperty.editMinDelivery = $scope.uasBatchPutOnProperty.minDelivery;
|
|
|
+ $scope.uasBatchPutOnProperty.editFluctuateRate = NumberService.mul($scope.uasBatchPutOnProperty.fluctuateRate, 100) || 100;
|
|
|
+ $scope.uasBatchPutOnProperty.editMaxDelivery = $scope.uasBatchPutOnProperty.maxDelivery || 1;
|
|
|
+ $scope.uasBatchPutOnProperty.editMinDelivery = $scope.uasBatchPutOnProperty.minDelivery || 1;
|
|
|
} else {
|
|
|
$scope.uasBatchPutOnProperty = {};
|
|
|
$scope.uasBatchPutOnProperty.editFluctuateRate = 100;
|