Browse Source

修改直接库存转移

hella_online_20240829
niexiting 5 months ago
parent
commit
9d6f0981ec
  1. 9
      src/pages/inventoryMove/coms/comMoveRecord.vue

9
src/pages/inventoryMove/coms/comMoveRecord.vue

@ -239,8 +239,12 @@
if (item == undefined) {
var itemp = createItemInfo(balance, pack);
let newDetail = createDetailInfo(balance, pack);
// newDetail.inventoryStatus = balance.inventoryStatus;
//
if (this.businessTypeCode == "Move") {
newDetail.toInventoryStatus = balance.inventoryStatus;
} else {
newDetail.toInventoryStatus = this.toInventoryStatus;
}
newDetail.toLocationCode = this.toLocationCode;
newDetail.fromLocationCode = result.fromLocationCode
itemp.subList.push(newDetail);
@ -367,8 +371,7 @@
this.detailSource.forEach(item => {
item.subList.forEach(detail => {
if (detail.scaned) {
if (detail.toLocationCode == '')
{
if (detail.toLocationCode == '') {
detail.toLocationCode = this.toLocationCode;
}
var filterResult = itemList.filter(res => {

Loading…
Cancel
Save