|
@@ -673,7 +673,7 @@ export default {
|
|
|
'selection-change': this.selectionChange
|
|
|
},
|
|
|
limitQty: 0,
|
|
|
- maxBuyNum: 0,
|
|
|
+ maxBuyNum: null,
|
|
|
limitQtyKeyWord: '',
|
|
|
maxBuyNumKeyWord: '',
|
|
|
selectedData: [],
|
|
@@ -694,7 +694,7 @@ export default {
|
|
|
limitPageSizes: 10,
|
|
|
limitTableData: [],
|
|
|
buyNumvisible: false,
|
|
|
- minBuyNum: 0
|
|
|
+ minBuyNum: null
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -1101,7 +1101,7 @@ export default {
|
|
|
this.batchCurrentPages = 1
|
|
|
this.batchPageSizes = 10
|
|
|
this.limitQty = 0
|
|
|
- this.maxBuyNum = 0
|
|
|
+ this.maxBuyNum = null
|
|
|
this.minBuyNum = 0
|
|
|
this.limitQtyKeyWord = ''
|
|
|
this.maxBuyNumKeyWord = ''
|
|
@@ -1135,14 +1135,10 @@ export default {
|
|
|
limitQty: this.limitQty
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.minBuyNum <= 0) {
|
|
|
+ if (this.minBuyNum <= 0 || !this.minBuyNum) {
|
|
|
this.$errorMsg('最小提货数量不能小于0')
|
|
|
return
|
|
|
}
|
|
|
- if (this.maxBuyNum <= 0) {
|
|
|
- this.$errorMsg('最大提货组数不能小于0')
|
|
|
- return
|
|
|
- }
|
|
|
params = {
|
|
|
customerIds,
|
|
|
ids,
|