|
@ -243,6 +243,10 @@ |
|
|
this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty); |
|
|
this.$refs.receiptEdit.openTaskEditPopup(item.qty, item.handleQty, item.labelQty); |
|
|
}, |
|
|
}, |
|
|
confirm(val) { |
|
|
confirm(val) { |
|
|
|
|
|
if(val ==0||!val){ |
|
|
|
|
|
this.$refs.message.showErrorMessage(`数量不能为0`); |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
this.editItem.handleQty = Number(val); |
|
|
this.editItem.handleQty = Number(val); |
|
|
this.$emit('updateData', this.editItem) |
|
|
this.$emit('updateData', this.editItem) |
|
|
} |
|
|
} |
|
|