瀏覽代碼

Merge branch 'feature/3398-stageGoodAdjust' into develop

kevin_zhangl 2 年之前
父節點
當前提交
c313aeaadc
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      common/models/forms/DeclarationForm.php

+ 4 - 4
common/models/forms/DeclarationForm.php

@@ -724,12 +724,12 @@ class DeclarationForm extends Model
                 if ($this->decLv != $toDecLevel) {
 //                    if ($hasInstalment && $decLevel['LEVEL_NAME'] == 'Elite'){
 //                    }else{
-                        throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV'));
+                        throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV') . '-1');
 //                    }
                 }
-                if ($hasInstalment && $decLevel['LEVEL_NAME'] == 'BA'){
-                    throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV'));
-                }
+//                if ($hasInstalment && $decLevel['LEVEL_NAME'] == 'BA'){
+//                    throw new Exception(Yii::t('app', 'totalBVCanNotLessThanNextSelectedLevelBV'));
+//                }
                 $this->_decAmount = $totalAmount;
                 $this->_decPv = $totalPv;
                 $this->_decAmountStandard = $totalAmountStandard;