|
@@ -555,6 +555,7 @@ define(['app/app'], function (app) {
|
|
|
|
|
|
|
|
$scope.showUseFlag = false;
|
|
$scope.showUseFlag = false;
|
|
|
$scope.setShowUseFlag = function (flag, offer) {
|
|
$scope.setShowUseFlag = function (flag, offer) {
|
|
|
|
|
+ $scope.purchaseQuantity = null;
|
|
|
if (flag) {
|
|
if (flag) {
|
|
|
$scope.currentOffer = offer;
|
|
$scope.currentOffer = offer;
|
|
|
}
|
|
}
|
|
@@ -606,7 +607,7 @@ define(['app/app'], function (app) {
|
|
|
file: file,
|
|
file: file,
|
|
|
method: 'POST'
|
|
method: 'POST'
|
|
|
}).success(function(data) {
|
|
}).success(function(data) {
|
|
|
- window.open("http://10.1.51.90:3000/applyPurchase/" + data.data);
|
|
|
|
|
|
|
+ window.open("applyPurchase/" + data.data);
|
|
|
}).error(function(response) {
|
|
}).error(function(response) {
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|