codeMan 2 years ago
parent
commit
756b9e4f05
1 changed files with 8 additions and 6 deletions
  1. 8 6
      src/HDrpManagement/orderManage/details/tabs/productlist.vue

+ 8 - 6
src/HDrpManagement/orderManage/details/tabs/productlist.vue

@@ -631,12 +631,14 @@ export default {
       })
     },
     rowChange (val,index) {
-      if (val.qty > val.orderminqty){
-         if ((val.qty-val.orderminqty)/val.orderaddqty > 0){
-           let k = ((val.qty-val.orderminqty)/val.orderaddqty).toFixed(0)
-           val.qty = k * val.orderaddqty + val.orderminqty
-         }
-      }
+      if (this.data.status != '特殊订单') {
+        if (val.qty > val.orderminqty){
+          if ((val.qty-val.orderminqty)/val.orderaddqty > 0){
+            let k = ((val.qty-val.orderminqty)/val.orderaddqty).toFixed(0)
+            val.qty = k * val.orderaddqty + val.orderminqty
+          }
+        }
+      } 
       let that = this
       if(this.time !== null){
         clearTimeout(this.time);