|
|
@@ -674,6 +674,7 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
$scope.goods.minDelivery = data.minDelivery;
|
|
|
$scope.goods.maxDelivery = data.maxDelivery;
|
|
|
$scope.goods.prices = [];
|
|
|
+ product.selected = true;
|
|
|
if ('MAINLAND' == $scope.store.enType)
|
|
|
$scope.goods.prices.push({start : $scope.minReserve, end : $scope.maxReserve, rMBPrice: data.price});
|
|
|
if ('HK' == $scope.store.enType)
|
|
|
@@ -699,9 +700,10 @@ define([ 'app/app', 'jquery-uploadify' ], function(app) {
|
|
|
$scope.goods.prices.push({start : $scope.minReserve, end : $scope.maxReserve});
|
|
|
$scope.goods.isSelfSupport = $scope.store.status == 'OPENED' ? 1 : 0;
|
|
|
product.img = component.img || null;
|
|
|
- product.selected = true;
|
|
|
if ('ERP' == product.sourceApp) {// 如果是erp上传物料获取物料交易信息
|
|
|
getProductDetail(product);
|
|
|
+ } else {
|
|
|
+ product.selected = true;
|
|
|
}
|
|
|
} else {
|
|
|
toaster.pop('error', '当前产品对应的器件[' + product.cmpUuId + ']已失效');
|