|
@@ -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);
|