Explorar o código

基差可等于0

zhangyuewww %!s(int64=3) %!d(string=hai) anos
pai
achega
0f50a4a927

+ 1 - 1
src/views/purchasingManagement/purchaseOrderList.vue

@@ -1516,7 +1516,7 @@ export default {
             (String(this.aduitlist.basis).indexOf('.') + 1) >
             2) ||
         this.aduitlist.basis > 10000 ||
-        this.aduitlist.basis < 1
+        this.aduitlist.basis < 0
       ) {
         this.$message({
           message: '基差输入错误',

+ 1 - 1
src/views/salesManagement/salesPlanOrderList.vue

@@ -1599,7 +1599,7 @@ export default {
             2) ||
         (this.aduitlist.salePlanType == '期货' &&
           this.aduitlist.basis > 10000) ||
-        (this.aduitlist.salePlanType == '期货' && this.aduitlist.basis < 1)
+        (this.aduitlist.salePlanType == '期货' && this.aduitlist.basis < 0)
       ) {
         this.$message({
           message: '基差输入错误',