傅行帆 5 年 前
コミット
84c50f0b6d
共有1 個のファイルを変更した7 個の追加1 個の削除を含む
  1. 7
    1
      src/pages/building/list/add/components/buildingProjectType.jsx

+ 7
- 1
src/pages/building/list/add/components/buildingProjectType.jsx ファイルの表示

@@ -47,7 +47,13 @@ class TypeForm extends React.Component {
47 47
           values["endPrice"] = null
48 48
         }
49 49
 
50
-        console.log(values["startPrice"] != null && values["endPrice"] != null ,"222")
50
+        if(values["endPrice"] != null && values["startPrice"] == null){
51
+          notification['warn']({
52
+            message: "请填写最低价!",
53
+            description: '',
54
+          })
55
+          return
56
+        }
51 57
         if(values["startPrice"] != null && values["endPrice"] != null && values["startPrice"] > values["endPrice"]){
52 58
           notification['warn']({
53 59
             message: "最低价不得高于最高价!",