|
|
@ -117,13 +117,14 @@ |
|
|
|
this.allQty = val * Number(this.dataContent.packQty); |
|
|
|
}, |
|
|
|
setValue() { |
|
|
|
console.log(344,this.allowBiggerQty) |
|
|
|
var balanceQty = Number(this.dataContent.qty); |
|
|
|
if (this.allQty == 0) { |
|
|
|
this.$refs.comMessage.showConfirmWarningModal('数量必须大于0', |
|
|
|
res => { |
|
|
|
this.allQty = balanceQty; |
|
|
|
}) |
|
|
|
} else if (this.allQty > balanceQty && this.allowBiggerQty == 'TRUE') { |
|
|
|
} else if (this.allQty > balanceQty && this.allowBiggerQty == 'FALSE') { |
|
|
|
this.$refs.comMessage.showConfirmWarningModal('数量[' + this.allQty + ']不允许大于任务数量[' + balanceQty + ']', |
|
|
|
res => { |
|
|
|
this.allQty = balanceQty; |
|
|
|