傅行帆 5 yıl önce
ebeveyn
işleme
84c50f0b6d

+ 7
- 1
src/pages/building/list/add/components/buildingProjectType.jsx Dosyayı Görüntüle

@@ -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: "最低价不得高于最高价!",