|
|
|
@ -411,7 +411,7 @@ export default class WhiteInstorage extends BasePage {
|
|
|
|
|
console.log('sum', sum);
|
|
|
|
|
//console.log('this.planQuantity', this.planQuantity);
|
|
|
|
|
console.log('this.form5.batchQuantity', this.form5.batchQuantity);
|
|
|
|
|
if (sum >= this.actplanQuantity || sum + parseFloat(this.form5.batchQuantity) > this.actplanQuantity) {
|
|
|
|
|
if (this.actplanQuantity - parseFloat(this.form5.batchQuantity) < 0) {
|
|
|
|
|
(this.$refs.uToast as any).show({
|
|
|
|
|
title: '实际入库数量不能超过该批次数量',
|
|
|
|
|
});
|
|
|
|
|