Browse Source

2025-07-30

master
fengyuan_yang 6 months ago
parent
commit
c12df63ca7
  1. 78
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue

78
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue

@ -1398,44 +1398,44 @@
this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp == null ? '' : data.row.sp
})
if (this.searchData.buNo === 'RDC') {
searchBMRoutingDetail(this.searchData).then(({data}) => {
if (data&& data.code === 0) {
if (data.rows.length > 0) {
this.dataForm = data.rows[0]
} else {
this.dataForm.site = this.searchData.site
this.dataForm.codeNo = this.searchData.codeNo
}
} else {
this.$message.error(data.msg)
}
})
let inData = {
site: this.searchData.site,
codeNo: this.searchData.codeNo,
type: 'reviewEngineer',
}
searchTechnicalSpecificationTeamStr(inData).then(({data}) => {
this.dataForm.reviewEngineerList = data.rows
})
let inData2 = {
site: this.searchData.site,
codeNo: this.searchData.codeNo,
type: 'cqe',
}
searchTechnicalSpecificationTeamStr(inData2).then(({data}) => {
this.dataForm.cqeList = data.rows
})
let inData3 = {
site: this.searchData.site,
codeNo: this.searchData.codeNo,
type: 'peEngineer',
}
searchTechnicalSpecificationTeamStr(inData3).then(({data}) => {
this.dataForm.peEngineerList = data.rows
})
} else {
// if (this.searchData.buNo === 'RDC') {
// searchBMRoutingDetail(this.searchData).then(({data}) => {
// if (data&& data.code === 0) {
// if (data.rows.length > 0) {
// this.dataForm = data.rows[0]
// } else {
// this.dataForm.site = this.searchData.site
// this.dataForm.codeNo = this.searchData.codeNo
// }
// } else {
// this.$message.error(data.msg)
// }
// })
// let inData = {
// site: this.searchData.site,
// codeNo: this.searchData.codeNo,
// type: 'reviewEngineer',
// }
// searchTechnicalSpecificationTeamStr(inData).then(({data}) => {
// this.dataForm.reviewEngineerList = data.rows
// })
// let inData2 = {
// site: this.searchData.site,
// codeNo: this.searchData.codeNo,
// type: 'cqe',
// }
// searchTechnicalSpecificationTeamStr(inData2).then(({data}) => {
// this.dataForm.cqeList = data.rows
// })
// let inData3 = {
// site: this.searchData.site,
// codeNo: this.searchData.codeNo,
// type: 'peEngineer',
// }
// searchTechnicalSpecificationTeamStr(inData3).then(({data}) => {
// this.dataForm.peEngineerList = data.rows
// })
// } else {
searchBMRoute(this.searchData).then(({data}) => {
if (data&& data.code === 0) {
this.tableData = data.rows
@ -1453,7 +1453,7 @@
this.$message.error(data.msg)
}
})
}
// }
},
closeModel () {

Loading…
Cancel
Save