|
@ -78,6 +78,7 @@ |
|
|
getBalanceByParams |
|
|
getBalanceByParams |
|
|
} from '@/api/request2.js'; |
|
|
} from '@/api/request2.js'; |
|
|
import { |
|
|
import { |
|
|
|
|
|
deepCopyData, |
|
|
goHome |
|
|
goHome |
|
|
} from '@/common/basic.js'; |
|
|
} from '@/common/basic.js'; |
|
|
|
|
|
|
|
@ -262,6 +263,8 @@ |
|
|
if(balance.lableQty){ |
|
|
if(balance.lableQty){ |
|
|
newDetail.handleQty =balance.lableQty |
|
|
newDetail.handleQty =balance.lableQty |
|
|
} |
|
|
} |
|
|
|
|
|
newDetail.parentNumber =pack.parentNumber; |
|
|
|
|
|
newDetail.packingNumber =pack.number |
|
|
itemp.subList.push(newDetail); |
|
|
itemp.subList.push(newDetail); |
|
|
this.detailSource.push(itemp) |
|
|
this.detailSource.push(itemp) |
|
|
this.itemCode = balance.itemCode; |
|
|
this.itemCode = balance.itemCode; |
|
@ -281,6 +284,8 @@ |
|
|
if(balance.lableQty){ |
|
|
if(balance.lableQty){ |
|
|
newDetail.handleQty =balance.lableQty |
|
|
newDetail.handleQty =balance.lableQty |
|
|
} |
|
|
} |
|
|
|
|
|
newDetail.parentNumber =pack.parentNumber; |
|
|
|
|
|
newDetail.packingNumber =pack.number |
|
|
item.subList.push(newDetail); |
|
|
item.subList.push(newDetail); |
|
|
this.scanPopupGetFocus() |
|
|
this.scanPopupGetFocus() |
|
|
} else { |
|
|
} else { |
|
@ -415,15 +420,15 @@ |
|
|
this.detailSource.forEach(item => { |
|
|
this.detailSource.forEach(item => { |
|
|
item.subList.forEach(detail => { |
|
|
item.subList.forEach(detail => { |
|
|
if (detail.scaned) { |
|
|
if (detail.scaned) { |
|
|
var subItem = {}; |
|
|
var subItem = deepCopyData(detail); |
|
|
Object.assign(subItem, detail) |
|
|
|
|
|
subItem.itemCode = detail.itemCode; |
|
|
subItem.itemCode = detail.itemCode; |
|
|
subItem.itemName = detail.package.itemName; |
|
|
subItem.itemName = detail.package.itemName; |
|
|
subItem.itemDesc1 = detail.package.itemDesc1; |
|
|
subItem.itemDesc1 = detail.package.itemDesc1; |
|
|
subItem.itemDesc2 = detail.package.itemDesc2; |
|
|
subItem.itemDesc2 = detail.package.itemDesc2; |
|
|
|
|
|
|
|
|
subItem.fromInventoryStatus = detail.inventoryStatus; |
|
|
subItem.fromInventoryStatus = detail.inventoryStatus; |
|
|
subItem.fromQty = detail.handleQty |
|
|
subItem.fromQty = detail.handleQty |
|
|
|
|
|
subItem.fromParentPackingNumber =detail.parentNumber; |
|
|
subItem.fromPackingNumber = detail.packingNumber; |
|
|
subItem.fromPackingNumber = detail.packingNumber; |
|
|
subItem.fromBatch = detail.batch; |
|
|
subItem.fromBatch = detail.batch; |
|
|
subItem.fromLocationCode = detail.locationCode; |
|
|
subItem.fromLocationCode = detail.locationCode; |
|
@ -469,6 +474,8 @@ |
|
|
this.fromLocationCode = ''; |
|
|
this.fromLocationCode = ''; |
|
|
this.dataContent = {} |
|
|
this.dataContent = {} |
|
|
this.itemCode="" |
|
|
this.itemCode="" |
|
|
|
|
|
this.toPackUnitShow ="请选择" |
|
|
|
|
|
this.toPackQty = "" |
|
|
if (pointData.length > 0) { |
|
|
if (pointData.length > 0) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: `/pages/point/index?points=${JSON.stringify(pointData)}` |
|
|
url: `/pages/point/index?points=${JSON.stringify(pointData)}` |
|
|