From 7cf610d502b92349c789a2c9e42bba4855ff119d Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Sat, 7 Jun 2025 15:09:52 +0800
Subject: [PATCH] =?UTF-8?q?2025-06-07=20=E5=8E=9F=E6=9C=89=E5=B1=9E?=
=?UTF-8?q?=E6=80=A7=E4=B8=AD=E5=A2=9E=E5=8A=A0ShopOrder=EF=BC=8C=E4=BD=9C?=
=?UTF-8?q?=E4=B8=BA=E6=96=87=E6=9C=AC=E5=A1=AB=E5=86=99=20=E6=8A=80?=
=?UTF-8?q?=E6=9C=AF=E5=8F=82=E6=95=B0=E5=8D=A1=E5=A2=9E=E5=8A=A0Copy=20Fl?=
=?UTF-8?q?ag=E5=AD=97=E6=AE=B5=20=E5=A2=9E=E5=8A=A0Planner=20=E5=B0=86?=
=?UTF-8?q?=E8=AF=A5=E5=AD=97=E6=AE=B5=E6=94=BE=E5=9C=A8=E5=9F=BA=E6=9C=AC?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=B8=AD=EF=BC=88=E5=8F=AF=E9=80=89=EF=BC=8C?=
=?UTF-8?q?=E4=B8=8E=E6=98=AF=E5=90=A6=E9=9C=80=E8=A6=81Artwork=E4=B8=80?=
=?UTF-8?q?=E8=87=B4=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com_tsd_basicInformation.vue | 106 +++++++++++++++---
1 file changed, 93 insertions(+), 13 deletions(-)
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"
+ }
+ },
},
}