Просмотр исходного кода

针对询价报价后进行保存异常问题的处理

hejq 8 лет назад
Родитель
Сommit
052b0807f4
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      src/main/webapp/resources/js/index/app.js

+ 3 - 4
src/main/webapp/resources/js/index/app.js

@@ -5642,11 +5642,10 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                 if (validLapQty) {
                     toaster.pop('error', '提示', '分段' + validLapQty + '小于等于了上一分段数,不能保存!');
                 } else {
-                    toaster.pop('error', '提示', '分段数量不合法,不能保存!');
+                    toaster.pop('error', '提示', '分段数量不合法,不能报价!');
                 }
             } else {
-                alert('success');
-                /*var file = $scope.myFiles, file = file && file.length > 0 ? file[0] : null;// 可以不传附件
+                var file = $scope.myFiles, file = file && file.length > 0 ? file[0] : null;// 可以不传附件
                 $upload.upload({
                     url: 'pubInquiry/turnToQuotation',
                     file: file,
@@ -5665,7 +5664,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
                 }).error(function (data) {
                     $scope.loading = false;
                     toaster.pop('error', '附件上传失败');
-                });*/
+                });
             }
         }