소스 검색

fix 处理报价失败问题

wangcz 7 년 전
부모
커밋
2e4f87262e
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/main/webapp/resources/js/vendor/controllers/forstore/seek_purchase_ctrl.js

+ 4 - 0
src/main/webapp/resources/js/vendor/controllers/forstore/seek_purchase_ctrl.js

@@ -446,6 +446,7 @@ define(['app/app'], function (app) {
                 $scope.inquiryItem.leadtime = '';
             } else {
               $scope.validSayPrice.leadtime = true;
+                $scope.inquiryItem.leadtime = Number($scope.inquiryItem.leadtime)
             }
           };
 
@@ -462,6 +463,7 @@ define(['app/app'], function (app) {
                   $scope.inquiryItem.taxrate = '';
               } else {
                   $scope.validSayPrice.taxrate = true;
+                  $scope.inquiryItem.taxrate = Number($scope.inquiryItem.taxrate)
               }
           };
 
@@ -506,6 +508,7 @@ define(['app/app'], function (app) {
               $scope.validSayPrice.repliesLapQty = false;
             } else {
               $scope.validSayPrice.repliesLapQty = true;
+              $scope.inquiryItem.replies[index].lapQty = Number($scope.inquiryItem.replies[index].lapQty)
             }
           }
           $scope.onReplyLapQtyInput = function (index) {
@@ -554,6 +557,7 @@ define(['app/app'], function (app) {
               $scope.validSayPrice.repliesPrice = false;
             } else {
               $scope.validSayPrice.repliesPrice = true;
+                $scope.inquiryItem.replies[index].price = Number(price)
             }
           }
 /*