Browse Source

2025/8/8

master
Aoi_Tori 5 months ago
parent
commit
c4af3f18c1
  1. 4
      src/views/modules/project/projectInfo/com_project_info_part.vue
  2. 35
      src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue

4
src/views/modules/project/projectInfo/com_project_info_part.vue

@ -3561,8 +3561,8 @@ import {downLoadFile, queryFileId, readPartFromFile} from "../../../../api/part/
fileName: ''
}
let tempData = {
orderRef1: this.pageData.site,
orderRef2: 'projectPart'
orderRef1: this.$store.state.user.site,
orderRef2: 'partImport'
}
await queryFileId(tempData).then(({data}) => {
if (data && data.code === 0) {

35
src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue

@ -171,6 +171,7 @@
import CNC from "./com_bm_cnc";
import Cut from "./com_bm_cut";
import {isAuth} from "../../../../utils";
export default {
name: "technicalSpecificationDetail",
props:{
@ -183,22 +184,24 @@
'activeName': {
deep: true,
handler: function (val, oldVal) {
if (oldVal === 'baseInfo') {
this.$refs.basicInformation.saveData1()
} else if (oldVal === 'customerInfo') {
this.$refs.customerInfo.saveData1()
} else if (oldVal === 'packageInfo') {
this.$refs.packageInfo.saveData()
} else if (oldVal === 'bom') {
this.$refs.bom.updateBMProcess()
} else if (oldVal === 'routing') {
this.$refs.routing.updateBMProcess()
} else if (oldVal === 'drawing') {
this.$refs.drawing.saveTable()
} else if (oldVal === 'fai') {
this.$refs.fai.saveTable()
} else if (oldVal === 'qualityDocument') {
this.$refs.qualityDocument.saveTable()
if (this.readonly===false&&isAuth('103002:bmSave')){
if (oldVal === 'baseInfo') {
this.$refs.basicInformation.saveData1()
} else if (oldVal === 'customerInfo') {
this.$refs.customerInfo.saveData1()
} else if (oldVal === 'packageInfo') {
this.$refs.packageInfo.saveData()
} else if (oldVal === 'bom') {
this.$refs.bom.updateBMProcess()
} else if (oldVal === 'routing') {
this.$refs.routing.updateBMProcess()
} else if (oldVal === 'drawing') {
this.$refs.drawing.saveTable()
} else if (oldVal === 'fai') {
this.$refs.fai.saveTable()
} else if (oldVal === 'qualityDocument') {
this.$refs.qualityDocument.saveTable()
}
}
}
}

Loading…
Cancel
Save