|
@@ -77,7 +77,7 @@ export default {
|
|
|
}
|
|
|
if (flagStorage && flagProduct && flagMaterial) {
|
|
|
if (this.form.details && this.form.details.length > 0) {
|
|
|
- if (this.form.purchaseContractId) {
|
|
|
+ if (this.form.purchaseContractId && this.form.type === '1') {
|
|
|
for (let i = 0; i < this.form.details.length; i++) {
|
|
|
if (this.form.details[i].quantity > this.form.details[i].approveQuantity) {
|
|
|
return this.msgInfo('入库数量不能大于可入库数量')
|