|
@ -632,6 +632,8 @@ |
|
|
totalQty =calc.add(totalQty,item.handleQty) |
|
|
totalQty =calc.add(totalQty,item.handleQty) |
|
|
if(parseFloat(item.handleQty)<parseFloat(item.qty)){ |
|
|
if(parseFloat(item.handleQty)<parseFloat(item.qty)){ |
|
|
str += `批次【${item.batch}】提交数量【${parseFloat(item.handleQty)}】不允许小于任务数量【${item.qty}】` |
|
|
str += `批次【${item.batch}】提交数量【${parseFloat(item.handleQty)}】不允许小于任务数量【${item.qty}】` |
|
|
|
|
|
} |
|
|
|
|
|
if(parseFloat(item.handleQty)!=parseFloat(item.qty)){ |
|
|
str3 += `批次【${item.batch}】扫描数量【${parseFloat(item.handleQty)}】和任务数量【${item.qty}】不一致` |
|
|
str3 += `批次【${item.batch}】扫描数量【${parseFloat(item.handleQty)}】和任务数量【${item.qty}】不一致` |
|
|
} |
|
|
} |
|
|
if (parseFloat( item.handleQty )> parseFloat(item.qty)){ |
|
|
if (parseFloat( item.handleQty )> parseFloat(item.qty)){ |
|
@ -671,6 +673,7 @@ |
|
|
str3 = str3+",是否提交" |
|
|
str3 = str3+",是否提交" |
|
|
this.$refs.comMessage.showQuestionMessage1(str3, 'red', res => { |
|
|
this.$refs.comMessage.showQuestionMessage1(str3, 'red', res => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
|
|
|
return |
|
|
//防止重复点击 |
|
|
//防止重复点击 |
|
|
this.$throttle(this.submit, 2000, this)() |
|
|
this.$throttle(this.submit, 2000, this)() |
|
|
} else { |
|
|
} else { |
|
@ -678,6 +681,7 @@ |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}else { |
|
|
}else { |
|
|
|
|
|
return |
|
|
//防止重复点击 |
|
|
//防止重复点击 |
|
|
this.$throttle(this.submit, 2000, this)() |
|
|
this.$throttle(this.submit, 2000, this)() |
|
|
} |
|
|
} |
|
|