|
@@ -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;
|
|
|
- }
|
|
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|