|
|
@ -108,6 +108,10 @@ import { nextTick } from 'vue'; |
|
|
|
type: Object, |
|
|
|
default: null |
|
|
|
}, |
|
|
|
isNumTips: { |
|
|
|
type: Boolean, |
|
|
|
default: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getPackUnitName(packUnit) { |
|
|
@ -170,7 +174,7 @@ import { nextTick } from 'vue'; |
|
|
|
setValue() { |
|
|
|
// var recommendQty = Number(this.dataContent.qty); |
|
|
|
// var labelQty = Number(this.dataContent.record.label.qty); |
|
|
|
if (this.allQty > this.labelQty) { |
|
|
|
if (this.allQty > this.labelQty && this.isNumTips) { |
|
|
|
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于标签数量[' + |
|
|
|
this.labelQty + |
|
|
|
']', |
|
|
|