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