Ver código fonte

基差可等于0

zhangyuewww 3 anos atrás
pai
commit
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: '基差输入错误',