Browse Source

2024-12-20

接口更新
master
fengyuan_yang 1 year ago
parent
commit
4b77082d40
  1. 24
      src/views/modules/part/bomManagement.vue

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

@ -3688,7 +3688,8 @@ export default {
}).then(() => {
let tempData = {
informationList: this.checkedByProduct,
productFlag: 'byProduct'
productFlag: 'byProduct',
updateBy: this.$store.state.user.name,
}
deleteBomComponent(tempData).then(({data}) => {
if (data && data.code === 0) {
@ -3707,32 +3708,17 @@ export default {
})
}
})
}).catch(() => {
})
}
},
//
// componentPartClickRow (row) {
// this.$refs.componentPartTable.toggleRowSelection(row)
// },
componentClickRow (row) {
this.$refs.componentTable.toggleRowSelection(row)
},
byProductClickRow (row) {
this.$refs.byProductTable.toggleRowSelection(row)
},
// /**
// *
// * @param val
// */
// selectionComponentPart (val) {
// this.componentPartSelections = val
// },
// getRowKeys(row) {
// // id
// return row.partNo
// },
//
componentDataSave (isClose) {
if (this.componentData.lineSequence === '' || this.componentData.lineSequence == null) {
@ -4154,6 +4140,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.detailData.updateBy = this.$store.state.user.name
bomDetailDelete(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailData = data.rows.detailData
@ -4171,7 +4158,6 @@ export default {
})
}
})
}).catch(() => {
})
},
@ -4182,6 +4168,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.detailData.updateBy = this.$store.state.user.name
updateAlternativeStatus(this.detailData).then(({data}) => {
if (data && data.code === 0) {
this.detailDataList = data.rows.detailDataList
@ -4248,6 +4235,7 @@ export default {
// BomBom
toBecomeOfficialBom () {
this.detailData.updateBy = this.$store.state.user.name
this.toBecomeOfficialLoading = true
toBecomeOfficialBom(this.detailData).then(({data}) => {
if (data && data.code === 0) {

Loading…
Cancel
Save