|
|
@ -187,6 +187,7 @@ import { nextTick } from 'vue'; |
|
|
|
setValue() { |
|
|
|
// var recommendQty = Number(this.dataContent.qty); |
|
|
|
// var labelQty = Number(this.dataContent.record.label.qty); |
|
|
|
// 采购收货判断是否大于包装数量isNumPackTips这个字段做判断 |
|
|
|
if (this.allQty > parseFloat(this.dataContent.packQty) && this.isNumPackTips) { |
|
|
|
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于包装数量[' + |
|
|
|
this.dataContent.packQty + |
|
|
@ -196,6 +197,7 @@ import { nextTick } from 'vue'; |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
// 其他功能判断是否大于标签数量 |
|
|
|
if (this.allQty > this.labelQty && this.isNumTips && !this.isNumPackTips) { |
|
|
|
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于标签数量[' + |
|
|
|
this.labelQty + |
|
|
|