Browse Source

2026-04-21

BOM和Routing的【复制】【粘贴】不区分site
master
fengyuan_yang 2 months ago
parent
commit
302ffd8184
  1. 11
      src/views/modules/part/bomManagement.vue
  2. 11
      src/views/modules/part/routingManagement.vue

11
src/views/modules/part/bomManagement.vue

@ -4549,7 +4549,6 @@ export default {
//
pasteComponentModal () {
let tempData = {
site: this.$store.state.user.site,
userName: this.$store.state.user.name
}
this.cleanPasteBarFlag = ''
@ -4580,12 +4579,18 @@ export default {
type: "warning"
}).then(() => {
let tempData = {
site: this.detailData.site,
site: this.$store.state.user.site, // 使site
partNo: this.detailData.partNo,
engChgLevel: this.detailData.engChgLevel,
bomType: this.detailData.bomType,
alternativeNo: this.detailData.alternativeNo,
informationList: this.checkedPasteBar,
// sitesiteBOMsite
informationList: this.checkedPasteBar.map(item => {
return {
...item,
site: this.$store.state.user.site
}
}),
productFlag: 'component',
updateBy: this.$store.state.user.name,
cleanPasteBarFlag: this.cleanPasteBarFlag

11
src/views/modules/part/routingManagement.vue

@ -4391,7 +4391,6 @@ export default {
//
pasteComponentModal () {
let tempData = {
site: this.$store.state.user.site,
userName: this.$store.state.user.name
}
this.cleanPasteBarFlag = ''
@ -4422,12 +4421,18 @@ export default {
type: "warning"
}).then(() => {
let tempData = {
site: this.detailData.site,
site: this.$store.state.user.site, // 使site
partNo: this.detailData.partNo,
routingRevision: this.detailData.routingRevision,
routingType: this.detailData.routingType,
alternativeNo: this.detailData.alternativeNo,
informationList: this.checkedPasteBar,
// sitesite
informationList: this.checkedPasteBar.map(item => {
return {
...item,
site: this.$store.state.user.site
}
}),
updateBy: this.$store.state.user.name,
cleanPasteBarFlag: this.cleanPasteBarFlag
}

Loading…
Cancel
Save