|
@ -73,6 +73,9 @@ |
|
|
import winScanLocation from "@/mycomponents/scan/winScanLocation.vue" |
|
|
import winScanLocation from "@/mycomponents/scan/winScanLocation.vue" |
|
|
import winScanPackAndLocation from "@/mycomponents/scan/winScanPackAndLocation.vue" |
|
|
import winScanPackAndLocation from "@/mycomponents/scan/winScanPackAndLocation.vue" |
|
|
import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue' |
|
|
import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue' |
|
|
|
|
|
import { |
|
|
|
|
|
updateTitle |
|
|
|
|
|
} from '@/common/basic.js'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
@ -100,10 +103,18 @@ |
|
|
inInventoryStatus: "", //目标入库库存状态 |
|
|
inInventoryStatus: "", //目标入库库存状态 |
|
|
outInventoryStatus: "", //来源出库库存状态 |
|
|
outInventoryStatus: "", //来源出库库存状态 |
|
|
businessType: {}, |
|
|
businessType: {}, |
|
|
managementList: [] |
|
|
managementList: [], |
|
|
|
|
|
type:'' |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
|
|
|
this.type = option.type |
|
|
|
|
|
if(this.type=='predict'){ |
|
|
|
|
|
updateTitle('制品上架记录') |
|
|
|
|
|
}else if(this.type=='assemble'){ |
|
|
|
|
|
updateTitle('装配上架记录') |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var typeCode = "ProductPutaway" |
|
|
var typeCode = "ProductPutaway" |
|
|
getBusinessType(typeCode, res => { |
|
|
getBusinessType(typeCode, res => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
@ -336,6 +347,9 @@ |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
this.dataContent.subList = subList; |
|
|
this.dataContent.subList = subList; |
|
|
|
|
|
if(this.type){ |
|
|
|
|
|
this.dataContent.type = this.type; |
|
|
|
|
|
} |
|
|
this.dataContent.creator = creator; |
|
|
this.dataContent.creator = creator; |
|
|
return this.dataContent; |
|
|
return this.dataContent; |
|
|
}, |
|
|
}, |
|
|