diff --git a/src/api/sampleManagement/technicalSpecificationList.js b/src/api/sampleManagement/technicalSpecificationList.js index abfd36d..f8acfbd 100644 --- a/src/api/sampleManagement/technicalSpecificationList.js +++ b/src/api/sampleManagement/technicalSpecificationList.js @@ -123,3 +123,5 @@ export const getFinalPartData= data => createAPI(`/technicalSpecification/getFin export const getOADetailForBM= data => createAPI(`/technicalSpecification/getOADetailForBM`,'post',data) + +export const searchCopyPart= data => createAPI(`/technicalSpecification/searchCopyPart`,'post',data) diff --git a/src/views/modules/project/projectInfo/com_project_toolApplyCation.vue b/src/views/modules/project/projectInfo/com_project_toolApplyCation.vue index 747b7af..25b5766 100644 --- a/src/views/modules/project/projectInfo/com_project_toolApplyCation.vue +++ b/src/views/modules/project/projectInfo/com_project_toolApplyCation.vue @@ -36,7 +36,7 @@ :min-width="item.columnWidth" :label="item.columnLabel"> @@ -320,7 +321,79 @@ {{'关闭'}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -332,6 +405,7 @@ deleteTechnicalSpecificationList, upBMRevNo, issueChange, // 下达 + searchCopyPart, } from "@/api/sampleManagement/technicalSpecificationList.js" import Chooselist from '@/views/modules/common/Chooselist' import AddOrUpdate from './com_technical-add-or-update' @@ -357,6 +431,17 @@ addOrUpdateVisible:false, height:200, dataList1: [], + partList:[], + copyData:{ + site:'', + codeNo:'', + oriCodeNo:'', + testPartNo:'', + projectId:'', + revNo:'', + newPartNo:'', + }, + partModelFlag:false, searchData: { page: 1, limit: 100, @@ -819,6 +904,7 @@ if(this.dataList1.length>0){ this.$refs.mainTable.setCurrentRow(this.dataList1[0]); this.changeData(this.dataList1[0]) + this.jumpDetail(this.dataList1[0]) } } this.dataListLoading = false @@ -1064,6 +1150,24 @@ }) } }, + copyBM(row){ + this.copyData={ + site:row.site, + codeNo:row.codeNo, + oriCodeNo:row.oriCodeNo, + testPartNo:row.testPartNo, + projectId:row.projectId, + revNo:row.revNo, + newPartNo:'', + } + searchCopyPart(this.copyData).then(({data}) => { + if (data.code == 0) { + this.partList=data.rows + } + this.dataListLoading = false + }) + this.partModelFlag=true + }, }, } diff --git a/src/views/modules/tooling/searchToolApply.vue b/src/views/modules/tooling/searchToolApply.vue index 4048a3e..d30ea52 100644 --- a/src/views/modules/tooling/searchToolApply.vue +++ b/src/views/modules/tooling/searchToolApply.vue @@ -332,9 +332,9 @@ - - {{'保存'}} - {{'取消'}} + + {{'保存'}} + {{'取消'}} @@ -396,7 +396,7 @@ -
+
- + {{'取消'}} 同意 @@ -2068,36 +2068,8 @@ } -