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