|
|
@ -327,6 +327,7 @@ export default { |
|
|
releaseNo: '', |
|
|
releaseNo: '', |
|
|
sequenceNo: '', |
|
|
sequenceNo: '', |
|
|
wdrNo: '', |
|
|
wdrNo: '', |
|
|
|
|
|
site: '', |
|
|
engChgLevel: '', |
|
|
engChgLevel: '', |
|
|
enablePrint: true, // 是否打印标签,默认勾选 |
|
|
enablePrint: true, // 是否打印标签,默认勾选 |
|
|
umId: '', |
|
|
umId: '', |
|
|
@ -406,6 +407,7 @@ export default { |
|
|
componentPartDesc: this.componentPartDesc, |
|
|
componentPartDesc: this.componentPartDesc, |
|
|
releaseNo: this.releaseNo, |
|
|
releaseNo: this.releaseNo, |
|
|
sequenceNo: this.sequenceNo, |
|
|
sequenceNo: this.sequenceNo, |
|
|
|
|
|
site: this.site, |
|
|
} |
|
|
} |
|
|
sessionStorage.setItem( |
|
|
sessionStorage.setItem( |
|
|
'productionReturnPickingDetail_state_manual', |
|
|
'productionReturnPickingDetail_state_manual', |
|
|
@ -453,6 +455,7 @@ export default { |
|
|
state.componentPartDesc || this.componentPartDesc |
|
|
state.componentPartDesc || this.componentPartDesc |
|
|
this.releaseNo = state.releaseNo || this.releaseNo |
|
|
this.releaseNo = state.releaseNo || this.releaseNo |
|
|
this.sequenceNo = state.sequenceNo || this.sequenceNo |
|
|
this.sequenceNo = state.sequenceNo || this.sequenceNo |
|
|
|
|
|
this.site = state.site || this.site |
|
|
} |
|
|
} |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
console.warn('恢复生产退料手动页面状态失败', error) |
|
|
console.warn('恢复生产退料手动页面状态失败', error) |
|
|
@ -468,7 +471,7 @@ export default { |
|
|
scannedLabel: labelCode, |
|
|
scannedLabel: labelCode, |
|
|
orderNo: this.orderNo, |
|
|
orderNo: this.orderNo, |
|
|
orderType: this.orderType, |
|
|
orderType: this.orderType, |
|
|
site: localStorage.getItem('site'), |
|
|
|
|
|
|
|
|
site: this.site, |
|
|
batchNo: this.batchNo, |
|
|
batchNo: this.batchNo, |
|
|
componentPartNo: this.componentPartNo, |
|
|
componentPartNo: this.componentPartNo, |
|
|
} |
|
|
} |
|
|
@ -691,7 +694,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const returnParams = { |
|
|
const returnParams = { |
|
|
site: localStorage.getItem('site'), |
|
|
|
|
|
|
|
|
site: this.site, |
|
|
workOrderNo: this.orderNo, |
|
|
workOrderNo: this.orderNo, |
|
|
orderType: this.orderType, |
|
|
orderType: this.orderType, |
|
|
batchNo: this.batchNo, |
|
|
batchNo: this.batchNo, |
|
|
@ -758,7 +761,7 @@ export default { |
|
|
const printRequest = { |
|
|
const printRequest = { |
|
|
userId: localStorage.getItem('userName'), |
|
|
userId: localStorage.getItem('userName'), |
|
|
username: localStorage.getItem('userName'), |
|
|
username: localStorage.getItem('userName'), |
|
|
site: localStorage.getItem('site'), |
|
|
|
|
|
|
|
|
site: this.site, |
|
|
unitIds: unitIds, |
|
|
unitIds: unitIds, |
|
|
labelType: 'BIL标签', |
|
|
labelType: 'BIL标签', |
|
|
} |
|
|
} |
|
|
@ -847,7 +850,7 @@ export default { |
|
|
const paramdetail = { |
|
|
const paramdetail = { |
|
|
workOrderNo: this.orderNo, |
|
|
workOrderNo: this.orderNo, |
|
|
batchNo: this.batchNo, |
|
|
batchNo: this.batchNo, |
|
|
site: localStorage.getItem('site'), |
|
|
|
|
|
|
|
|
site: this.site, |
|
|
partNo: this.componentPartNo, |
|
|
partNo: this.componentPartNo, |
|
|
quantity: this.quantity, |
|
|
quantity: this.quantity, |
|
|
} |
|
|
} |
|
|
@ -867,7 +870,7 @@ export default { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
let newLabel = { |
|
|
let newLabel = { |
|
|
site: localStorage.getItem('site'), |
|
|
|
|
|
|
|
|
site: this.site, |
|
|
partNo: this.printData.materialCode1, |
|
|
partNo: this.printData.materialCode1, |
|
|
quantity: this.printData.materialCode2, |
|
|
quantity: this.printData.materialCode2, |
|
|
batchNo: this.batchNo, |
|
|
batchNo: this.batchNo, |
|
|
@ -922,6 +925,7 @@ export default { |
|
|
this.wdrNo = this.$route.query.wdrNo |
|
|
this.wdrNo = this.$route.query.wdrNo |
|
|
this.engChgLevel = this.$route.query.engChgLevel |
|
|
this.engChgLevel = this.$route.query.engChgLevel |
|
|
this.umId = this.$route.query.umId |
|
|
this.umId = this.$route.query.umId |
|
|
|
|
|
this.site = this.$route.query.site || '' |
|
|
console.log( |
|
|
console.log( |
|
|
'订单号:', |
|
|
'订单号:', |
|
|
this.orderNo, |
|
|
this.orderNo, |
|
|
|