|
|
@@ -7041,6 +7041,17 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
toaster.pop('info', '暂未匹配到物料信息,请手动选择');
|
|
|
} else {
|
|
|
$scope.item.product = item.product;
|
|
|
+ if (item.replies.length > 0) {
|
|
|
+ $scope.item.prices = item.replies;
|
|
|
+ angular.forEach($scope.item.prices, function(price) {
|
|
|
+ price.id = null;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ $scope.item.quotation.taxrate = item.taxrate;
|
|
|
+ $scope.item.minPackQty = item.minPackQty;
|
|
|
+ $scope.item.minOrderQty = item.minOrderQty;
|
|
|
+ $scope.item.leadtime = item.leadtime;
|
|
|
+ $scope.item.quotation.currency = item.currency;
|
|
|
}
|
|
|
}
|
|
|
|