|
|
@ -282,6 +282,7 @@ |
|
|
|
itemDetail.scaned = true; |
|
|
|
itemDetail.handleQty = Number(result.label.qty) > Number(result.balance |
|
|
|
.qty) ? Number(result.balance.qty) : Number(result.label.qty); |
|
|
|
itemDetail.balance = result.balance; |
|
|
|
this.calcHandleQty(); |
|
|
|
} else { |
|
|
|
this.scanPopupGetFocus(); |
|
|
@ -289,6 +290,7 @@ |
|
|
|
}); |
|
|
|
} else { |
|
|
|
itemDetail.scaned = true; |
|
|
|
itemDetail.balance = result.balance; |
|
|
|
itemDetail.handleQty = Number(result.label.qty) > Number(result.balance.qty) ? Number( |
|
|
|
result.balance.qty) : Number(result.label.qty); |
|
|
|
this.calcHandleQty(); |
|
|
@ -430,6 +432,13 @@ |
|
|
|
detail.toInventoryStatus = "NOK" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
detail.singlePrice = detail.balance.singlePrice; |
|
|
|
detail.amount = detail.balance.singlePrice * detail.handleQty; |
|
|
|
|
|
|
|
detail.arriveDate = detail.balance.arriveDate; |
|
|
|
detail.produceDate = detail.balance.produceDate; |
|
|
|
detail.expireDate = detail.balance.expireDate; |
|
|
|
list.push(detail) |
|
|
|
} |
|
|
|
}) |
|
|
|