|
@@ -210,7 +210,7 @@
|
|
|
// 加
|
|
|
if(flag){
|
|
|
// 如果入库数量与发货数量不相等
|
|
|
- if(curProduct.realPutQty != curProduct.putQty){
|
|
|
+ if(curProduct.realPutQty < curProduct.putQty){
|
|
|
this.changePutQty(curProduct,(curProduct.realPutQty||0) + 1)
|
|
|
}else{
|
|
|
// 当前入库数量与发货数量相等时
|
|
@@ -256,7 +256,7 @@
|
|
|
this.$refs.popup.close()
|
|
|
},
|
|
|
okPop(){
|
|
|
- const curProduct = this.getCurRow()
|
|
|
+ const curProduct = this.tempProduct
|
|
|
if(curProduct.packQty){
|
|
|
this.changePutQty(curProduct,Number(curProduct.realPutQty||0) + Number(curProduct.packQty))
|
|
|
this.closePop()
|