Browse Source

修改单个物料导入input blur和click问题

shenjj 7 years ago
parent
commit
04c44cd426

+ 3 - 3
src/main/webapp/resources/js/vendor/controllers/forstore/single_entry.js

@@ -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;
       }