Browse Source

暂时隐藏区分ERP的操作

yujia 8 years ago
parent
commit
47ebdb9cf5

+ 4 - 4
src/main/webapp/resources/js/vendor/controllers/forstore/vendor_materialCtrl.js

@@ -1721,9 +1721,9 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
 			material.addGoodsOper = true;
 			material.addGoodsOper = true;
 			material.exPandOper = true;
 			material.exPandOper = true;
 			$scope.expandGoods(material, material.addGoodsOper);
 			$scope.expandGoods(material, material.addGoodsOper);
-			if ('ERP' == material.sourceApp) {// 如果是erp上传物料获取物料交易信息
-				getProductDetail(material);
-			} else {
+			// if ('ERP' == material.sourceApp) {// 如果是erp上传物料获取物料交易信息
+			// 	getProductDetail(material);
+			// } else {
 				$scope.goods = { editBreakUp: false, editSelfSale: 2};
 				$scope.goods = { editBreakUp: false, editSelfSale: 2};
 				if($scope.store.enType === 'HK') {
 				if($scope.store.enType === 'HK') {
 					$scope.goods.currencyName = 'USD';
 					$scope.goods.currencyName = 'USD';
@@ -1737,7 +1737,7 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
 				$scope.goods.editPrices.push({start : $scope.minReserve, end : $scope.maxReserve});
 				$scope.goods.editPrices.push({start : $scope.minReserve, end : $scope.maxReserve});
 				// $scope.goods.isSelfSupport = $scope.store.status == 'OPENED' ? 1 : 0;
 				// $scope.goods.isSelfSupport = $scope.store.status == 'OPENED' ? 1 : 0;
 				material.selected = true;
 				material.selected = true;
-			}
+			// }
 		}
 		}
 
 
 		/**
 		/**