|
@@ -465,11 +465,11 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else if (this.deptList.procurementPlanType == '期货') {
|
|
} else if (this.deptList.procurementPlanType == '期货') {
|
|
- if (!this.deptList.basisPrice) {
|
|
|
|
|
|
+ if (!String(this.deptList.basisPrice)) {
|
|
this.$api.msg('基差(元/吨)不能为空')
|
|
this.$api.msg('基差(元/吨)不能为空')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (this.deptList.basisPrice > 10000 || this.deptList.basisPrice < 1) {
|
|
|
|
|
|
+ if (this.deptList.basisPrice > 10000 || this.deptList.basisPrice < 0) {
|
|
this.$api.msg('基差输入错误')
|
|
this.$api.msg('基差输入错误')
|
|
return
|
|
return
|
|
}
|
|
}
|