Browse Source

装配直接上架

hella_online_20240829
yufei0306 5 months ago
parent
commit
b2d7ed436e
  1. 11
      src/pages/productPutaway/record/productPutawayRecord.vue

11
src/pages/productPutaway/record/productPutawayRecord.vue

@ -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 {
@ -104,6 +107,13 @@
}; };
}, },
onLoad(option) { onLoad(option) {
this.type = option.type
if(this.type=='predict'){
updateTitle('制品上架记录')
}else{
updateTitle('装配上架记录')
}
var typeCode = "ProductPutaway" var typeCode = "ProductPutaway"
getBusinessType(typeCode, res => { getBusinessType(typeCode, res => {
if (res.success) { if (res.success) {
@ -336,6 +346,7 @@
}) })
}) })
this.dataContent.subList = subList; this.dataContent.subList = subList;
this.dataContent.type = this.type;
this.dataContent.creator = creator; this.dataContent.creator = creator;
return this.dataContent; return this.dataContent;
}, },

Loading…
Cancel
Save