|
|
@@ -520,9 +520,9 @@ define(['app/app', 'jquery-uploadify'], function(app) {
|
|
|
$scope.objError.pcmpcode = true
|
|
|
return;
|
|
|
}
|
|
|
- if ($scope.Regul.spec === '' || !$scope.Regul.spec) {
|
|
|
- toaster.pop('warning','提示', '规格为必填项')
|
|
|
- $scope.objError.spec = true
|
|
|
+ if ($scope.Regul.reserve === '' || !$scope.Regul.reserve) {
|
|
|
+ toaster.pop('warning','提示', '库存数量不能为空')
|
|
|
+ $scope.objError.reserve = true
|
|
|
return;
|
|
|
}
|
|
|
|