|
|
@ -49,6 +49,10 @@ |
|
|
|
import comBlankView from '@/mycomponents/common/comBlankView.vue' |
|
|
|
import winScanLocation from "@/mycomponents/scan/winScanLocation.vue" |
|
|
|
import winScanPackAndLocation from "@/mycomponents/scan/winScanPackAndLocation.vue" |
|
|
|
|
|
|
|
import { |
|
|
|
getInventoryStatusName |
|
|
|
} from '@/common/directory.js'; |
|
|
|
import { |
|
|
|
inventoryMoveRecordSubmit, |
|
|
|
getBasicLocationByCode, |
|
|
@ -278,11 +282,18 @@ |
|
|
|
} else { |
|
|
|
newDetail.toInventoryStatus = this.toInventoryStatus; |
|
|
|
} |
|
|
|
|
|
|
|
if (newDetail.packingNumber == '') { |
|
|
|
newDetail.packingNumber = pack.number; |
|
|
|
} |
|
|
|
newDetail.toLocationCode = this.toLocationCode; |
|
|
|
newDetail.fromLocationCode = result.fromLocationCode |
|
|
|
item.subList.push(newDetail); |
|
|
|
} else { |
|
|
|
this.showErrorMessage(detail.packingNumber + "重复扫描") |
|
|
|
this.showErrorMessage("包装["+detail.packingNumber+"]\n"+ |
|
|
|
"批次["+detail.batch+"]\n"+"库位["+detail.fromLocationCode+"]\n"+ |
|
|
|
"库存状态["+getInventoryStatusName(detail.toInventoryStatus)+"]\n" |
|
|
|
+ "重复扫描") |
|
|
|
} |
|
|
|
} |
|
|
|
calcHandleQty(this.detailSource); |
|
|
|