|
|
|
@ -165,104 +165,128 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
refreshCurrentTabTable () { |
|
|
|
this.dataForm.fieldId = this.activeName |
|
|
|
//先调整页面的高度 |
|
|
|
this.changeHeightAuto() |
|
|
|
if (this.activeName == 'baseInfo') { |
|
|
|
this.getBaseInfoData(); |
|
|
|
if (this.activeName === 'baseInfo') { |
|
|
|
this.getBaseInfoData() |
|
|
|
// }else if (this.activeName == 'remarkPage') { |
|
|
|
// this.changeHeight(800); |
|
|
|
// 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 () { |
|
|
|
this.$refs.basicInformation.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getRemarkSlot () { |
|
|
|
this.$refs.remarkPage.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// 客户信息 |
|
|
|
getCustomerInfo () { |
|
|
|
this.$refs.customerInfo.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// 包装信息 |
|
|
|
getPackageInfo () { |
|
|
|
this.$refs.packageInfo.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// BOM |
|
|
|
getBom () { |
|
|
|
this.$refs.bom.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// Routing |
|
|
|
getRouting () { |
|
|
|
this.$refs.routing.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getTechnicalRequirement () { |
|
|
|
this.dataForm.type = 'technicalRequirement' |
|
|
|
this.$refs.technicalRequirement.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getPEConfirm () { |
|
|
|
this.dataForm.type = 'PEConfirm' |
|
|
|
this.$refs.PEConfirm.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// 图稿信息 |
|
|
|
getDrawing () { |
|
|
|
this.dataForm.type = 'drawing' |
|
|
|
this.$refs.drawing.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// 品质文件 |
|
|
|
getQualityDocument () { |
|
|
|
this.dataForm.type = 'qualityDocument' |
|
|
|
this.$refs.qualityDocument.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getDocumentControl () { |
|
|
|
this.dataForm.type = 'documentControl' |
|
|
|
this.$refs.documentControl.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getPeReviewed () { |
|
|
|
this.dataForm.type='peReviewed' |
|
|
|
this.$refs.peReviewed.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getQueteConfirm () { |
|
|
|
this.dataForm.type = 'queteConfirm' |
|
|
|
this.$refs.queteConfirm.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
// FAI |
|
|
|
getFai () { |
|
|
|
this.dataForm.type = 'fai' |
|
|
|
this.$refs.fai.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getCqeComfirm () { |
|
|
|
this.dataForm.type = 'cqeComfirm' |
|
|
|
this.$refs.cqeComfirm.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
}, |
|
|
|
|
|
|
|
getTpInfo () { |
|
|
|
this.dataForm.type = 'tpInfo' |
|
|
|
this.$refs.tpInfo.init(JSON.parse(JSON.stringify(this.dataForm))) |
|
|
|
|