Browse Source

添加备注

intex_online20241205
张立 8 months ago
parent
commit
d1913ab2a4
  1. 2
      src/mycomponents/qty/recommendQtyEdit.vue

2
src/mycomponents/qty/recommendQtyEdit.vue

@ -187,6 +187,7 @@ import { nextTick } from 'vue';
setValue() { setValue() {
// var recommendQty = Number(this.dataContent.qty); // var recommendQty = Number(this.dataContent.qty);
// var labelQty = Number(this.dataContent.record.label.qty); // var labelQty = Number(this.dataContent.record.label.qty);
// isNumPackTips
if (this.allQty > parseFloat(this.dataContent.packQty) && this.isNumPackTips) { if (this.allQty > parseFloat(this.dataContent.packQty) && this.isNumPackTips) {
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于包装数量[' + this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于包装数量[' +
this.dataContent.packQty + this.dataContent.packQty +
@ -196,6 +197,7 @@ import { nextTick } from 'vue';
}) })
return return
} }
//
if (this.allQty > this.labelQty && this.isNumTips && !this.isNumPackTips) { if (this.allQty > this.labelQty && this.isNumTips && !this.isNumPackTips) {
this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于标签数量[' + this.$refs.comMessage.showErrorMessage('数量[' + this.allQty + ']不允许大于标签数量[' +
this.labelQty + this.labelQty +

Loading…
Cancel
Save