diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
index d840802..7a728d4 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
@@ -100,6 +100,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -113,17 +123,28 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -196,6 +217,14 @@
+
+
+
+
Select CQC
@@ -223,16 +252,6 @@
-
-
-
-
-
-
-
-
-
-
@@ -456,7 +475,14 @@
mpOperatorList: [],
cqcOperatorList: [],
faiOperatorList: [],
+ planOperatorList: [],
dccList: '',
+ ecnNeedChangeDrawing: '',
+ documentSource: '',
+ copyFlag: '',
+ shopOrder: '',
+ planOperator:'',
+ planOperatorName:'',
},
dataRole: {
partTypeDesc: [
@@ -489,7 +515,8 @@
mpOperatorList: [],
ecnNeedChangeDrawing: 'No',
plmTechnicalSpecificationSheetArr: [],
- plmTechnicalSpecificationTeamArr: []
+ plmTechnicalSpecificationTeamArr: [],
+ copyFlag: 'No'
}
},
methods: {
@@ -527,6 +554,10 @@
strVal = this.dataForm.technicianNo
roleId = 'R014'
}
+ if(type === 9) {
+ strVal = this.dataForm.planOperator
+ roleId = 'R023'
+ }
this.$refs.baseList.init(this.searchData.site,this.searchData.buNo, strVal,roleId)
})
},
@@ -589,6 +620,13 @@
// this.$triggerInputEvent(this.$refs.mpOperatorName);
// });
}
+ if (this.tagNo1 === 9) {
+ this.dataForm.planOperator = val.username
+ this.dataForm.planOperatorName = val.userDisplay
+ this.$nextTick(() => {
+ this.$triggerInputEvent(this.$refs.planOperatorName);
+ })
+ }
},
// 初始化组件的参数
@@ -625,6 +663,11 @@
} else {
this.ecnNeedChangeDrawing = 'No'
}
+ if (this.dataForm.copyFlag === 'Yes') {
+ this.copyFlag = 'Yes'
+ } else {
+ this.copyFlag = 'No'
+ }
// this.$message.success( '操作成功')
let inData = {
site: this.dataForm.site,
@@ -699,6 +742,14 @@
this.dataForm.faiOperatorList = data.rows
}
})
+ let planParams = {
+ site: this.dataForm.site,
+ codeNo: this.dataForm.codeNo,
+ type: 'plan',
+ }
+ searchTechnicalSpecificationTeamStr(planParams).then(({data}) => {
+ this.dataForm.planOperatorList = data.rows
+ })
} else {
this.dataList = ''
this.$alert('刷新失败请重新打开技术参数卡', '失败', {
@@ -719,6 +770,11 @@
} else {
this.ecnNeedChangeDrawing = 'No'
}
+ if (this.dataForm.copyFlag === 'Yes') {
+ this.copyFlag = 'Yes'
+ } else {
+ this.copyFlag = 'No'
+ }
this.getNodeAuthority(data.row)
let inData = {
site: this.dataForm.site,
@@ -793,6 +849,14 @@
this.dataForm.faiOperatorList = data.rows
}
})
+ let planParams = {
+ site: this.dataForm.site,
+ codeNo: this.dataForm.codeNo,
+ type: 'plan',
+ }
+ searchTechnicalSpecificationTeamStr(planParams).then(({data}) => {
+ this.dataForm.planOperatorList = data.rows
+ })
} else {
this.dataList = ''
}
@@ -889,6 +953,8 @@
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork
this.dataForm.csOperatorList = []
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS
+ this.dataForm.planOperatorList = []
+ this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner
this.$confirm("是否保存基本信息?", '保存提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -994,6 +1060,8 @@
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork
this.dataForm.csOperatorList = []
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS
+ this.dataForm.planOperatorList = []
+ this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner
let tempData = {
...this.dataForm,
site: this.searchData.site,
@@ -1019,6 +1087,8 @@
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork
this.dataForm.csOperatorList = []
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS
+ this.dataForm.planOperatorList = []
+ this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner
let tempData = {
...this.dataForm,
site: this.searchData.site,
@@ -1065,6 +1135,8 @@
this.dataForm.technicianList.push(this.dataForm.technicianNo) // Artwork
this.dataForm.csOperatorList = []
this.dataForm.csOperatorList.push(this.dataForm.csOperater) // CS
+ this.dataForm.planOperatorList = []
+ this.dataForm.planOperatorList.push(this.dataForm.planOperator) // Planner
let tempData = {
...this.dataForm,
site: this.searchData.site,
@@ -1251,6 +1323,14 @@
this.dataForm.ecnNeedChangeDrawing = "No"
}
},
+
+ copyFlag (newVal) {
+ if (newVal === 'Yes') {
+ this.dataForm.copyFlag = "Yes"
+ } else {
+ this.dataForm.copyFlag = "No"
+ }
+ },
},
}