|
|
@ -115,7 +115,9 @@ export default { |
|
|
issuedQty: 0, |
|
|
issuedQty: 0, |
|
|
itemNo: '', |
|
|
itemNo: '', |
|
|
loading: false, |
|
|
loading: false, |
|
|
partNo:'' |
|
|
|
|
|
|
|
|
partNo:'', |
|
|
|
|
|
releaseNo:'', |
|
|
|
|
|
lineNo:'' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
@ -205,10 +207,12 @@ export default { |
|
|
|
|
|
|
|
|
const params = { |
|
|
const params = { |
|
|
site: localStorage.getItem('site'), |
|
|
site: localStorage.getItem('site'), |
|
|
outsourcingNo: this.outsourcingNo, |
|
|
|
|
|
|
|
|
orderNo: this.outsourcingNo, |
|
|
componentPartNo: this.componentPartNo, |
|
|
componentPartNo: this.componentPartNo, |
|
|
operatorName: localStorage.getItem('userName'), |
|
|
operatorName: localStorage.getItem('userName'), |
|
|
itemNo: this.itemNo, |
|
|
itemNo: this.itemNo, |
|
|
|
|
|
releaseNo: this.releaseNo, |
|
|
|
|
|
lineNo: this.lineNo, |
|
|
selectedMaterials: this.scannedLabels.map((l, i) => ({ |
|
|
selectedMaterials: this.scannedLabels.map((l, i) => ({ |
|
|
labelCode: l.labelCode, |
|
|
labelCode: l.labelCode, |
|
|
issueQty: l.quantity, |
|
|
issueQty: l.quantity, |
|
|
@ -245,14 +249,18 @@ export default { |
|
|
this.componentPartDesc = issueRecord.componentPartDescription || '' |
|
|
this.componentPartDesc = issueRecord.componentPartDescription || '' |
|
|
this.requiredQty = Number(issueRecord.requiredQty || this.$route.params.requiredQty || 0) |
|
|
this.requiredQty = Number(issueRecord.requiredQty || this.$route.params.requiredQty || 0) |
|
|
this.issuedQty = Number(issueRecord.issuedQty || 0) |
|
|
this.issuedQty = Number(issueRecord.issuedQty || 0) |
|
|
this.itemNo = issueRecord.itemNo || '' |
|
|
|
|
|
|
|
|
this.releaseNo = issueRecord.releaseNo |
|
|
|
|
|
this.lineNo = issueRecord.lineNo |
|
|
|
|
|
this.itemNo = issueRecord.lineItemNo |
|
|
} else { |
|
|
} else { |
|
|
// 兼容旧的参数结构 |
|
|
// 兼容旧的参数结构 |
|
|
this.componentPartNo = issueRecord.componentPartNo |
|
|
this.componentPartNo = issueRecord.componentPartNo |
|
|
this.componentPartDesc = this.$route.params.componentPartDescription || '' |
|
|
this.componentPartDesc = this.$route.params.componentPartDescription || '' |
|
|
this.requiredQty = Number(this.$route.params.requiredQty || 0) |
|
|
this.requiredQty = Number(this.$route.params.requiredQty || 0) |
|
|
this.issuedQty = Number(this.$route.params.issuedQty || 0) |
|
|
this.issuedQty = Number(this.$route.params.issuedQty || 0) |
|
|
this.itemNo = this.$route.params.itemNo || '' |
|
|
|
|
|
|
|
|
this.releaseNo = this.$route.params.releaseNo |
|
|
|
|
|
this.lineNo = this.$route.params.lineNo |
|
|
|
|
|
this.itemNo = this.$route.params.lineItemNo |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
@ -420,7 +428,7 @@ export default { |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
padding: 6px 8px; |
|
|
padding: 6px 8px; |
|
|
background: white; |
|
|
background: white; |
|
|
margin: 0 16px; |
|
|
|
|
|
|
|
|
margin: 0 10px; |
|
|
margin-top: 4px; |
|
|
margin-top: 4px; |
|
|
border-radius: 8px 8px 0 0; |
|
|
border-radius: 8px 8px 0 0; |
|
|
border-bottom: 2px solid #17B3A3; |
|
|
border-bottom: 2px solid #17B3A3; |
|
|
@ -462,7 +470,7 @@ export default { |
|
|
} |
|
|
} |
|
|
.label-list { |
|
|
.label-list { |
|
|
background: white; |
|
|
background: white; |
|
|
margin: 0 16px 12px; |
|
|
|
|
|
|
|
|
margin: 0 10px 12px; |
|
|
border-radius: 8px; |
|
|
border-radius: 8px; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
} |
|
|
} |
|
|
|