Browse Source

2025-06-19

技术参数卡404
master
fengyuan_yang 1 year ago
parent
commit
20140426e4
  1. 16
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue
  2. 42
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue
  3. 70
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
  4. 3
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue
  5. 52
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
  6. 14
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
  7. 92
      src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue

16
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue

@ -677,9 +677,9 @@
// //
init (inData) { init (inData) {
if (this.searchData.codeNo != null && this.searchData.codeNo != '') {
return false;
}
// if (this.searchData.codeNo != null && this.searchData.codeNo !== '') {
// return false;
// }
// //
this.searchData = JSON.parse(JSON.stringify(inData)) this.searchData = JSON.parse(JSON.stringify(inData))
if (this.searchData.ifDisableFlag) { if (this.searchData.ifDisableFlag) {
@ -706,7 +706,7 @@
} }
}) })
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row;
this.baseForm = data.row
this.bomData.site = data.row.site this.bomData.site = data.row.site
this.bomData.partNo = data.row.finalPartNo this.bomData.partNo = data.row.finalPartNo
this.bomData.urlFile = data.row.urlFile this.bomData.urlFile = data.row.urlFile
@ -782,7 +782,6 @@
site: row.site, site: row.site,
partNo: row.componentPart, partNo: row.componentPart,
bomType: 'Manufacturing', bomType: 'Manufacturing',
} }
localStorage.setItem('recipeData', JSON.stringify(inData)) localStorage.setItem('recipeData', JSON.stringify(inData))
window.open('#/part-recipeManagement') window.open('#/part-recipeManagement')
@ -879,12 +878,13 @@
this.submitData(tempData) this.submitData(tempData)
}) })
}, },
submitData (tempData) { submitData (tempData) {
submitChange(tempData).then(({data}) => { submitChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.submitModalFlag = false this.submitModalFlag = false
// this.searchTable();
window.location.reload();
this.searchTable()
// window.location.reload()
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})
} else { } else {
this.$alert(data.msg, '错误', { this.$alert(data.msg, '错误', {
@ -892,8 +892,8 @@
}) })
} }
}) })
}, },
// //
submitDataModal () { submitDataModal () {
this.rejectOpinion = '' this.rejectOpinion = ''

42
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue

@ -397,36 +397,38 @@
this.$nextTick(() => { this.$nextTick(() => {
let strVal = '' let strVal = ''
if (val === 1013) { if (val === 1013) {
if(type==1) {
if (type === 1) {
strVal = this.dataForm.partType strVal = this.dataForm.partType
} }
} }
this.$refs.baseList.init(val, strVal) this.$refs.baseList.init(val, strVal)
}) })
}, },
/* 列表方法的回调 */ /* 列表方法的回调 */
getBaseData (val) { getBaseData (val) {
if (this.tagNo === 1013) { if (this.tagNo === 1013) {
if(this.tagNo1==1) {
if (this.tagNo1 === 1) {
this.dataForm.partType = val.Base_id this.dataForm.partType = val.Base_id
this.dataForm.partTypeDesc = val.Base_desc this.dataForm.partTypeDesc = val.Base_desc
} }
} }
}, },
// //
init (inData) { init (inData) {
if(this.dataForm.codeNo!=null&&this.dataForm.codeNo!=''){
return false;
}
// if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
// return false;
// }
// //
this.searchData = JSON.parse(JSON.stringify(inData));
this.searchData = JSON.parse(JSON.stringify(inData))
if (this.searchData.ifDisableFlag) { if (this.searchData.ifDisableFlag) {
this.ifDisableFlag = true this.ifDisableFlag = true
} }
// //
this.searchTable();
this.searchTable()
}, },
refresh () { refresh () {
if (this.searchData.codeNo === '' || this.searchData.codeNo === null) { if (this.searchData.codeNo === '' || this.searchData.codeNo === null) {
this.$alert('刷新失败请重新打开技术参数卡', '失败', { this.$alert('刷新失败请重新打开技术参数卡', '失败', {
@ -436,7 +438,7 @@
} }
this.$clearHighLight() this.$clearHighLight()
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row;
this.baseForm = data.row
this.getNodeAuthority(data.row) this.getNodeAuthority(data.row)
}) })
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
@ -445,39 +447,37 @@
// console.log(''+this.spForm.sp) // console.log(''+this.spForm.sp)
// console.log(''+this.searchData.username) // console.log(''+this.searchData.username)
// console.log(this.spForm.sp.includes(this.searchData.username)) // console.log(this.spForm.sp.includes(this.searchData.username))
}) })
searchBMcustomerInfo(this.searchData).then(({data}) => { searchBMcustomerInfo(this.searchData).then(({data}) => {
if (data.rows.length > 0) { if (data.rows.length > 0) {
this.dataForm = data.rows[0];
this.dataForm = data.rows[0]
this.$message.success( '操作成功') this.$message.success( '操作成功')
}else { }else {
this.dataForm.site = this.searchData.site this.dataForm.site = this.searchData.site
this.dataForm.codeNo = this.searchData.codeNo this.dataForm.codeNo = this.searchData.codeNo
} }
});
})
}, },
searchTable () { searchTable () {
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp == null ? '' : data.row.sp this.spForm.sp = data.row.sp == null ? '' : data.row.sp
}) })
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row;
this.baseForm = data.row
this.getNodeAuthority(data.row) this.getNodeAuthority(data.row)
}) })
searchBMcustomerInfo(this.searchData).then(({data}) => { searchBMcustomerInfo(this.searchData).then(({data}) => {
if (data.rows.length > 0) { if (data.rows.length > 0) {
this.dataForm = data.rows[0];
this.dataForm = data.rows[0]
} else { } else {
this.dataForm.site = this.searchData.site this.dataForm.site = this.searchData.site
this.dataForm.codeNo = this.searchData.codeNo this.dataForm.codeNo = this.searchData.codeNo
} }
});
})
}, },
saveData(){ saveData(){
this.$confirm("是否保存信息?", '保存提示', { this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
@ -580,7 +580,7 @@
openNewPage (url) { openNewPage (url) {
// window.open(this.$store.state.user.bmPicUrl +url); // window.open(this.$store.state.user.bmPicUrl +url);
let urlIn = url.replaceAll('\\','/') let urlIn = url.replaceAll('\\','/')
if(url==null||url===''){
if (url === '') {
this.$alert("链接没有数据!", '错误', { this.$alert("链接没有数据!", '错误', {
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
@ -607,8 +607,8 @@
if (data && data.code === 0) { if (data && data.code === 0) {
submitChange(tempData).then(({data}) => { submitChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
// this.searchTable()
window.location.reload();
this.searchTable()
// window.location.reload();
this.submitModalFlag = false this.submitModalFlag = false
this.submitLoading = false this.submitLoading = false
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})

70
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

@ -181,14 +181,14 @@
}) })
}, },
methods: { methods: {
// //
init (inData) { init (inData) {
if(this.searchData.codeNo!=null&&this.searchData.codeNo!=''){
return false;
}
// if (this.searchData.codeNo != null && this.searchData.codeNo !== '') {
// return false;
// }
// //
this.searchData = JSON.parse(JSON.stringify(inData));
this.searchData = JSON.parse(JSON.stringify(inData))
if (this.searchData.ifDisableFlag) { if (this.searchData.ifDisableFlag) {
this.ifDisableFlag = true this.ifDisableFlag = true
} }
@ -201,55 +201,45 @@
this.spForm.sp = data.row.sp == null ? '' : data.row.sp this.spForm.sp = data.row.sp == null ? '' : data.row.sp
}) })
searchBMPropertiesValue(this.searchData).then(({data}) => { searchBMPropertiesValue(this.searchData).then(({data}) => {
this.tableData = data.rows;
// this.$message({
// message: '',
// type: 'success',
// duration: 1500,
// onClose: () => {
// }
// })
});
this.tableData = data.rows
})
searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => { searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => {
// this.searchData.propertiesCodeNo = data.row.propertiesCodeNo; // this.searchData.propertiesCodeNo = data.row.propertiesCodeNo;
this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo);
});
this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo)
})
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row;
this.baseForm = data.row
this.getNodeAuthority(data.row) this.getNodeAuthority(data.row)
}) })
this.$clearHighLight() this.$clearHighLight()
}) })
}, },
searchTable () { searchTable () {
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp == null ? '' : data.row.sp this.spForm.sp = data.row.sp == null ? '' : data.row.sp
}) })
searchBMPropertiesValue(this.searchData).then(({data}) => { searchBMPropertiesValue(this.searchData).then(({data}) => {
this.tableData = data.rows;
this.tableData = data.rows
this.$message({ this.$message({
message: '操作成功', message: '操作成功',
type: 'success', type: 'success',
duration: 1500, duration: 1500,
onClose: () => {
}
onClose: () => {}
})
}) })
});
searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => { searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => {
// this.searchData.propertiesCodeNo = data.row.propertiesCodeNo; // this.searchData.propertiesCodeNo = data.row.propertiesCodeNo;
this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo);
});
this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo)
})
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row;
this.baseForm = data.row
this.getNodeAuthority(data.row) this.getNodeAuthority(data.row)
}) })
this.$clearHighLight() this.$clearHighLight()
}, },
refreshBMPageModal () { refreshBMPageModal () {
this.$confirm(`是否刷新至最新模板界面,已填数据会更新到新模板中,若旧属性在新模板中被删除,该条数据会消失。`, '提示', { this.$confirm(`是否刷新至最新模板界面,已填数据会更新到新模板中,若旧属性在新模板中被删除,该条数据会消失。`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
@ -258,23 +248,16 @@
}).then(() => { }).then(() => {
refreshBMPageModal(this.searchData).then(({data}) => { refreshBMPageModal(this.searchData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.searchTable();
// this.$message({
// message: '',
// type: 'success',
// duration: 1500,
// onClose: () => {
// }
// })
this.searchTable()
} else { } else {
this.$alert(data.msg, '错误', { this.$alert(data.msg, '错误', {
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
}) })
}).catch(() => {
}) })
}, },
saveTable () { saveTable () {
saveBMPropertiesValue(this.tableData).then(({data}) => { saveBMPropertiesValue(this.tableData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
@ -292,12 +275,13 @@
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
});
})
}, },
openNewPage(url){ openNewPage(url){
// window.open(this.$store.state.user.bmPicUrl +url); // window.open(this.$store.state.user.bmPicUrl +url);
let urlIn=url.replaceAll('\\','/') let urlIn=url.replaceAll('\\','/')
if(url==null||url===''){
if (url === '') {
this.$alert("链接没有数据!", '错误', { this.$alert("链接没有数据!", '错误', {
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
@ -315,9 +299,9 @@
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
});
})
}, },
// //
getNodeAuthority (row) { getNodeAuthority (row) {
getBMStatusDesc(this.searchData).then(({data}) => { getBMStatusDesc(this.searchData).then(({data}) => {
@ -405,8 +389,8 @@
if (data && data.code === 0) { if (data && data.code === 0) {
submitChange(tempData).then(({data}) => { submitChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
// this.searchTable()
window.location.reload();
this.searchTable()
// window.location.reload();
this.submitModalFlag = false this.submitModalFlag = false
this.submitLoading = false this.submitLoading = false
this.$emit("closeModel") this.$emit("closeModel")

3
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue

@ -66,10 +66,11 @@ export default {
} }
} }
}, },
// //
init (inData) { init (inData) {
// //
this.searchData = JSON.parse(JSON.stringify(inData));
this.searchData = JSON.parse(JSON.stringify(inData))
if (this.searchData.ifDisableFlag) { if (this.searchData.ifDisableFlag) {
this.ifDisableFlag = true this.ifDisableFlag = true
} }

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

@ -1103,56 +1103,52 @@
this.$nextTick(() => { this.$nextTick(() => {
let strVal = '' let strVal = ''
let roleId = '' let roleId = ''
if(type==1) {
if (type === 1) {
strVal = this.sheetData.overPrintOperator strVal = this.sheetData.overPrintOperator
roleId = 'R018' roleId = 'R018'
} }
if(type==2) {
if (type===2) {
strVal = this.sheetData.printOperator strVal = this.sheetData.printOperator
roleId = 'R019' roleId = 'R019'
} }
this.$refs.baseList.init(this.searchData.site,this.searchData.buNo, strVal,roleId) this.$refs.baseList.init(this.searchData.site,this.searchData.buNo, strVal,roleId)
}) })
}, },
/* 列表方法的回调 */ /* 列表方法的回调 */
getBaseData (val) { getBaseData (val) {
if(this.tagNo1==1) {
if (this.tagNo1 === 1) {
this.sheetData.overPrintOperator = val.username this.sheetData.overPrintOperator = val.username
this.sheetData.overPrintOperatorName = val.userDisplay this.sheetData.overPrintOperatorName = val.userDisplay
this.$nextTick(() => { this.$nextTick(() => {
this.$triggerInputEvent(this.$refs.overPrintOperatorName);
});
this.$triggerInputEvent(this.$refs.overPrintOperatorName)
})
} }
if(this.tagNo1==2) {
if (this.tagNo1 === 2) {
this.sheetData.printOperator = val.username this.sheetData.printOperator = val.username
this.sheetData.printOperatorName = val.userDisplay this.sheetData.printOperatorName = val.userDisplay
this.$nextTick(() => { this.$nextTick(() => {
this.$triggerInputEvent(this.$refs.printOperatorName);
});
this.$triggerInputEvent(this.$refs.printOperatorName)
})
} }
}, },
// //
init (inData) { init (inData) {
if(this.dataForm.codeNo!=null&&this.dataForm.codeNo!=''){
return false;
}
// if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
// return false;
// }
// //
this.searchData = JSON.parse(JSON.stringify(inData));
this.searchData = JSON.parse(JSON.stringify(inData))
// //
this.searchTable();
this.searchTable()
}, },
searchTable (type) { searchTable (type) {
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
if (data&& data.code === 0) { if (data&& data.code === 0) {
this.sheetData = data.row this.sheetData = data.row
this.baseForm=data.row;
this.baseForm = data.row
this.routeData.site = data.row.site this.routeData.site = data.row.site
this.routeData.partNo = data.row.finalPartNo this.routeData.partNo = data.row.finalPartNo
this.getNodeAuthority(data.row) this.getNodeAuthority(data.row)
@ -1162,8 +1158,7 @@
} else { } else {
this.$message.error(data.msg) this.$message.error(data.msg)
} }
});
})
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp == null ? '' : data.row.sp this.spForm.sp = data.row.sp == null ? '' : data.row.sp
@ -1180,7 +1175,7 @@
} else { } else {
this.$message.error(data.msg) this.$message.error(data.msg)
} }
});
})
let inData = { let inData = {
site: this.searchData.site, site: this.searchData.site,
codeNo: this.searchData.codeNo, codeNo: this.searchData.codeNo,
@ -1205,16 +1200,15 @@
searchTechnicalSpecificationTeamStr(inData3).then(({data}) => { searchTechnicalSpecificationTeamStr(inData3).then(({data}) => {
this.dataForm.peEngineerList = data.rows this.dataForm.peEngineerList = data.rows
}) })
} else { } else {
searchBMRoute(this.searchData).then(({data}) => { searchBMRoute(this.searchData).then(({data}) => {
if (data&& data.code === 0) { if (data&& data.code === 0) {
this.tableData = data.rows;
this.routeData = data.row;
this.tableData = data.rows
this.routeData = data.row
} else { } else {
this.$message.error(data.msg) this.$message.error(data.msg)
} }
});
})
} }
}, },
@ -1791,9 +1785,9 @@
this.submitLoading = true this.submitLoading = true
await submitChange(tempData).then(({data}) => { await submitChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
// this.searchTable();
this.searchTable()
// 2025-05-31 // 2025-05-31
window.location.reload();
//window.location.reload();
this.submitModalFlag = false this.submitModalFlag = false
this.submitLoading = false this.submitLoading = false
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})

14
src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

@ -632,9 +632,9 @@
// //
init (inData) { init (inData) {
if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
return false;
}
// if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
// return false;
// }
// //
this.searchData = JSON.parse(JSON.stringify(inData)); this.searchData = JSON.parse(JSON.stringify(inData));
if (this.searchData.ifDisableFlag) { if (this.searchData.ifDisableFlag) {
@ -1125,8 +1125,8 @@
if (data && data.code === 0) { if (data && data.code === 0) {
issueChange(tempData).then(({data}) => { issueChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
//this.searchTable()
window.location.reload();
this.searchTable()
// window.location.reload();
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})
} else { } else {
this.$alert(data.msg, '错误', { this.$alert(data.msg, '错误', {
@ -1205,8 +1205,8 @@
if (data && data.code === 0) { if (data && data.code === 0) {
submitChange(tempData).then(({data}) => { submitChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
//this.searchTable()
window.location.reload();
this.searchTable()
// window.location.reload();
this.submitModalFlag = false this.submitModalFlag = false
this.submitLoading = false this.submitLoading = false
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})

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

@ -165,104 +165,128 @@
} }
}, },
methods: { methods: {
refreshCurrentTabTable () { refreshCurrentTabTable () {
this.dataForm.fieldId = this.activeName this.dataForm.fieldId = this.activeName
// //
this.changeHeightAuto() this.changeHeightAuto()
if (this.activeName == 'baseInfo') {
this.getBaseInfoData();
if (this.activeName === 'baseInfo') {
this.getBaseInfoData()
// }else if (this.activeName == 'remarkPage') { // }else if (this.activeName == 'remarkPage') {
// this.changeHeight(800); // this.changeHeight(800);
// this.getRemarkSlot(); // this.getRemarkSlot();
}else if(this.activeName == 'customerInfo'){
} else if (this.activeName === 'customerInfo') {
// //
this.changeHeight(800);
this.getCustomerInfo();
}else if(this.activeName == 'packageInfo'){
this.getPackageInfo();
}else if(this.activeName == 'bom'){
this.getBom();
}else if(this.activeName == 'routing'){
this.changeHeight(2000);
this.getRouting();
}else if(this.activeName == 'technicalRequirement'){
this.getTechnicalRequirement();
}else if(this.activeName == 'PEConfirm'){
this.getPEConfirm();
}else if(this.activeName == 'drawing'){
this.getDrawing();
}else if(this.activeName == 'qualityDocument'){
this.getQualityDocument();
}else if(this.activeName == 'documentControl'){
this.getDocumentControl();
}else if(this.activeName == 'peReviewed'){
this.getPeReviewed();
}else if(this.activeName == 'queteConfirm'){
this.getQueteConfirm();
}else if(this.activeName == 'fai'){
this.getFai();
}else if(this.activeName == 'cqeComfirm'){
this.getCqeComfirm();
}else if(this.activeName == 'tpInfo'){
this.changeHeight(800);
this.getTpInfo();
this.changeHeight(800)
this.getCustomerInfo()
} else if (this.activeName === 'packageInfo') {
this.getPackageInfo()
} else if (this.activeName === 'bom') {
this.getBom()
} else if (this.activeName === 'routing') {
this.changeHeight(2000)
this.getRouting()
} else if (this.activeName === 'technicalRequirement') {
this.getTechnicalRequirement()
} else if (this.activeName === 'PEConfirm') {
this.getPEConfirm()
} else if (this.activeName === 'drawing') {
this.getDrawing()
} else if (this.activeName === 'qualityDocument') {
this.getQualityDocument()
} else if (this.activeName === 'documentControl') {
this.getDocumentControl()
} else if (this.activeName === 'peReviewed') {
this.getPeReviewed()
} else if (this.activeName === 'queteConfirm') {
this.getQueteConfirm()
} else if (this.activeName === 'fai') {
this.getFai()
} else if (this.activeName === 'cqeComfirm') {
this.getCqeComfirm()
} else if (this.activeName === 'tpInfo') {
this.changeHeight(800)
this.getTpInfo()
} }
}, },
//
getBaseInfoData () { getBaseInfoData () {
this.$refs.basicInformation.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.basicInformation.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getRemarkSlot () { getRemarkSlot () {
this.$refs.remarkPage.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.remarkPage.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
//
getCustomerInfo () { getCustomerInfo () {
this.$refs.customerInfo.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.customerInfo.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
//
getPackageInfo () { getPackageInfo () {
this.$refs.packageInfo.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.packageInfo.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
// BOM
getBom () { getBom () {
this.$refs.bom.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.bom.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
// Routing
getRouting () { getRouting () {
this.$refs.routing.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.routing.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getTechnicalRequirement () { getTechnicalRequirement () {
this.dataForm.type = 'technicalRequirement' this.dataForm.type = 'technicalRequirement'
this.$refs.technicalRequirement.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.technicalRequirement.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getPEConfirm () { getPEConfirm () {
this.dataForm.type = 'PEConfirm' this.dataForm.type = 'PEConfirm'
this.$refs.PEConfirm.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.PEConfirm.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
// 稿
getDrawing () { getDrawing () {
this.dataForm.type = 'drawing' this.dataForm.type = 'drawing'
this.$refs.drawing.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.drawing.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
//
getQualityDocument () { getQualityDocument () {
this.dataForm.type = 'qualityDocument' this.dataForm.type = 'qualityDocument'
this.$refs.qualityDocument.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.qualityDocument.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getDocumentControl () { getDocumentControl () {
this.dataForm.type = 'documentControl' this.dataForm.type = 'documentControl'
this.$refs.documentControl.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.documentControl.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getPeReviewed () { getPeReviewed () {
this.dataForm.type='peReviewed' this.dataForm.type='peReviewed'
this.$refs.peReviewed.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.peReviewed.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getQueteConfirm () { getQueteConfirm () {
this.dataForm.type = 'queteConfirm' this.dataForm.type = 'queteConfirm'
this.$refs.queteConfirm.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.queteConfirm.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
// FAI
getFai () { getFai () {
this.dataForm.type = 'fai' this.dataForm.type = 'fai'
this.$refs.fai.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.fai.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getCqeComfirm () { getCqeComfirm () {
this.dataForm.type = 'cqeComfirm' this.dataForm.type = 'cqeComfirm'
this.$refs.cqeComfirm.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.cqeComfirm.init(JSON.parse(JSON.stringify(this.dataForm)))
}, },
getTpInfo () { getTpInfo () {
this.dataForm.type = 'tpInfo' this.dataForm.type = 'tpInfo'
this.$refs.tpInfo.init(JSON.parse(JSON.stringify(this.dataForm))) this.$refs.tpInfo.init(JSON.parse(JSON.stringify(this.dataForm)))

Loading…
Cancel
Save