-
+
@@ -132,7 +132,7 @@
resize='none'
maxlength="120"
show-word-limit
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('customerRemark') === 'N'"
+ :disabled="plmTechnicalSpecificationSheetFlag('customerRemark') === 'N'"
style="height: 60px">
@@ -150,7 +150,7 @@
resize='none'
maxlength="120"
show-word-limit
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('projectRemark') === 'N'"
+ :disabled="plmTechnicalSpecificationSheetFlag('projectRemark') === 'N'"
style="height: 60px">
@@ -161,7 +161,7 @@
-
+
附加客户图纸/Attach Customer Drawing(点击跳转)
@@ -247,7 +247,7 @@
maxlength="120"
show-word-limit
style="height: 60px"
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('remark') === 'N'">
+ :disabled="plmTechnicalSpecificationSheetFlag('remark') === 'N'">
@@ -581,25 +581,20 @@
this.superAdmin = data.superAdmin
if (data.superAdmin) {
this.ifDisableFlag = false
- return false
+ } else if (data.status === '已完成' || data.status === '已升版' || data.status === 'Dead') {
+ this.ifDisableFlag = true
}
- if (data.status === '已完成' || data.status === '已升版' || data.status === 'Dead') {
- this.ifDisableFlag = true
- return false
+ let tempData = {
+ site: row.site,
+ stepId: row.stepId,
+ menuId: '103002'
}
- if (data.status === '审批中') {
- let tempData = {
- site: row.site,
- stepId: row.stepId,
- menuId: '103002'
+ getNodeAuthority(tempData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.plmStepRoleBaseBmArr = data.rows.plm_stepRole_base_bm
+ this.plmTechnicalSpecificationSheetArr = data.rows.plm_technical_specification_sheet
}
- getNodeAuthority(tempData).then(({data}) => {
- if (data && data.code === 0) {
- this.plmStepRoleBaseBmArr = data.rows.plm_stepRole_base_bm
- this.plmTechnicalSpecificationSheetArr = data.rows.plm_technical_specification_sheet
- }
- })
- }
+ })
})
},
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
index bd9a661..9f5312e 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
@@ -313,7 +313,7 @@
this.ifDisableFlag = true
return false
}
- if (data.status === '审批中') {
+ if (data.status === '审批中' || data.status === '草稿') {
let tempData = {
site: row.site,
stepId: row.stepId,
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
index 3baebb7..73bc736 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
@@ -11,16 +11,16 @@
:use-default-value="false"
dict-type="bm_process"
style="width: 120px"
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('process') === 'N'">
+ :disabled="plmTechnicalSpecificationSheetFlag('process') === 'N'">
- 热转移打印人员/Technician
+ 热转移打印人员/Technician
热转移打印人员/Technician
- 印刷人员/Technician
+ 印刷人员/Technician
印刷人员/Technician
@@ -245,7 +245,7 @@
:use-default-value="false"
dict-type="bm_simplex_duplex"
style="width: 160px"
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('simplexDuplex') === 'N'">
+ :disabled="plmTechnicalSpecificationSheetFlag('simplexDuplex') === 'N'">
@@ -256,26 +256,26 @@
v-model="sheetData.repeat"
dict-type="bm_repeat"
style="width: 120px"
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('repeat') === 'N'">
+ :disabled="plmTechnicalSpecificationSheetFlag('repeat') === 'N'">
-
+
-
+
-
+
-
+
-
+
@@ -285,7 +285,7 @@
-
+
@@ -298,11 +298,11 @@
v-model="sheetData.printCopyPosition"
dict-type="bm_print_copy_position"
style="width: 170px"
- :disabled="ifDisableFlag || plmTechnicalSpecificationSheetFlag('printCopyPosition') === 'N'">
+ :disabled="plmTechnicalSpecificationSheetFlag('printCopyPosition') === 'N'">
-
+
+ :disabled="plmTechnicalSpecificationSheetFlag('newCutter') === 'N'">
-
+
-
+
-
+
@@ -1765,24 +1765,19 @@
this.superAdmin = data.superAdmin
if (data.superAdmin) {
this.ifDisableFlag = false
- return false
- }
- if (data.status === '已完成' || data.status === '已升版' || data.status === 'Dead') {
+ } else if (data.status === '已完成' || data.status === '已升版' || data.status === 'Dead') {
this.ifDisableFlag = true
- return false
}
- if (data.status === '审批中') {
- let tempData = {
- site: row.site,
- stepId: row.stepId,
- menuId: '103002'
- }
- getNodeAuthority(tempData).then(({data}) => {
- if (data && data.code === 0) {
- this.plmTechnicalSpecificationSheetArr = data.rows.plm_technical_specification_sheet
- }
- })
+ let tempData = {
+ site: row.site,
+ stepId: row.stepId,
+ menuId: '103002'
}
+ getNodeAuthority(tempData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.plmTechnicalSpecificationSheetArr = data.rows.plm_technical_specification_sheet
+ }
+ })
})
},
// 打开提交模态框
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
index b85d236..aefb1c3 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
@@ -94,7 +94,7 @@
-
+
@@ -103,7 +103,7 @@
-
+
@@ -130,21 +130,21 @@
-
+
-
-
+
+
-
-
+
+
@@ -153,7 +153,7 @@
- 客服人员/ CS
+ 客服人员/ CS
客服人员/ CS
@@ -162,7 +162,7 @@
- 工程人员/Engineer
+ 工程人员/Engineer
工程人员/Engineer
@@ -171,7 +171,7 @@
- 设计制图人员/Artwork
+ 设计制图人员/Artwork
设计制图人员/Artwork
@@ -188,7 +188,7 @@
- 技术员/Technician
+ 技术员/Technician
技术员/Technician
@@ -221,7 +221,7 @@
- 计划人员/Planner
+ 计划人员/Planner
计划人员/Planner
@@ -229,7 +229,7 @@
-
+
质检人员/CQC
@@ -241,7 +241,7 @@
-
+
首件检测/FAI
@@ -253,7 +253,7 @@
-
+
文件管控专员/DCC
@@ -269,7 +269,7 @@
-
+
@@ -278,7 +278,7 @@
-
+
@@ -1076,37 +1076,20 @@
this.superAdmin = data.superAdmin
if (data.superAdmin) {
this.ifDisableFlag = false
- return false
- }
- if (data.status === '已完成' || data.status === '已升版' || data.status === 'Dead') {
+ } else if (data.status === '已完成' || data.status === '已升版' || data.status === 'Dead') {
this.ifDisableFlag = true
- return false
}
- if (data.status === '审批中') {
- let tempData = {
- site: row.site,
- stepId: row.stepId,
- menuId: '103002'
- }
- getNodeAuthority(tempData).then(({data}) => {
- if (data && data.code === 0) {
- //this.ifDisableFlag = true
- this.plmTechnicalSpecificationSheetArr = data.rows.plm_technical_specification_sheet
- this.plmTechnicalSpecificationTeamArr = data.rows.plm_technicalSpecification_team
- // let plmStepRoleBaseBm = data.rows.plm_stepRole_base_bm
- // let arr = plmStepRoleBaseBm.filter(a => a.fieldId === 'basicInformation')
- // if (arr.length > 0) {
- // if (arr[0].updateFlag === 'N') {
- // this.ifDisableFlag = true
- // } else {
- // this.ifDisableFlag = false
- // }
- // } else {
- // this.ifDisableFlag = true
- // }
- }
- })
+ let tempData = {
+ site: row.site,
+ stepId: row.stepId,
+ menuId: '103002'
}
+ getNodeAuthority(tempData).then(({data}) => {
+ if (data && data.code === 0) {
+ this.plmTechnicalSpecificationSheetArr = data.rows.plm_technical_specification_sheet
+ this.plmTechnicalSpecificationTeamArr = data.rows.plm_technicalSpecification_team
+ }
+ })
})
},