+
工艺版本:{{ version }}
+
工艺版本:
-
+
镀金标识
- 涂色标
+ 涂色标
荧光检
- 热处理检验
- 喷码
@@ -311,33 +333,47 @@
/>
-
+
- {{
- this.craftData.craftList.length > 0
- ? this.craftData.craftList[0].craftInfo.prority
- : ''
- }}
+
+
+
- {{
- this.craftData.craftList.length > 0
- ? this.craftData.craftList[0].craftInfo.qualityGradeName
- : ''
- }}
+
+
+
- {{
- this.craftData.craftList.length > 0
- ? this.craftData.craftList[0].craftInfo.remarks
- : ''
- }}
+
@@ -348,7 +384,7 @@
-
+
@@ -361,7 +397,7 @@
-
+
@@ -400,7 +436,7 @@
-
+
@@ -411,7 +447,7 @@
-
+
@@ -451,19 +487,14 @@ export default {
processPlanning,
},
props: {
- partType: {
- type: String,
- default: '',
- },
+ // partType: {
+ // type: String,
+ // default: '',
+ // },
isOpen: {
type: Boolean,
default: false,
},
-
- dialogType: {
- type: String,
- default: '',
- },
rowData: {
type: Object,
default: () => ({}),
@@ -484,6 +515,7 @@ export default {
activeName: '1',
activeNameTab: '1',
craftData: {},
+ treeNodes: {},
formData: {},
form: {},
processLevel: '1',
@@ -648,6 +680,12 @@ export default {
this.getPartInfo();
this.getPlatingList();
this.getStandardList();
+ if (this.detailsType == 'processPlanning') {
+ console.log(9999,this.rowData)
+ // this.partChange()
+ }
+
+ //
},
methods: {
getStandardList() {
@@ -729,6 +767,7 @@ export default {
leavelChange(value) {
console.log('工艺级别', value);
this.getCcraftInfo();
+ this.getPartInfo();
},
// 获取工艺信息
getCcraftInfo() {
@@ -767,12 +806,29 @@ export default {
getPartManagementDetail(query).then(res => {
this.formData = res.data.data.dsPartEntity;
this.dataTable = res.data.data.dsPartEntities;
+ this.version = res.data.data.partVersion;
+ if (this.dataTable.length > 0) {
+ this.dataTable.forEach(item => {
+ item.totalArea = (item.quota * item.area).toFixed(5); // 保留5位小数(字符串)
+ });
+ }
+ if (this.formData.isSintering != '1') {
+ this.partType = '热表';
+ } else {
+ this.partType = '烧结';
+ }
});
} else if (this.detailsType === 'taskProcessing') {
getPartDetail(this.rowData.id).then(res => {
this.formData = res.data.data.dsPartEntity;
this.dataTable = res.data.data.dsPartEntities;
- this.partChange(this.formData.id);
+ this.version = res.data.data.partVersion;
+ if (this.formData.isSintering != '1') {
+ this.partType = '热表';
+ } else {
+ this.partType = '烧结';
+ }
+
if (this.dataTable.length > 0) {
this.dataTable.forEach(item => {
item.totalArea = (item.quota * item.area).toFixed(5); // 保留5位小数(字符串)
@@ -864,13 +920,13 @@ export default {
right: 0;
top: -5px;
/* 或者使用 flex: 0 0 200px; 根据需要调整宽度 */
- .version_select{
+ .version_select {
float: left;
- height:50px;
+ height: 50px;
display: flex;
line-height: 35px;
- .el-select{
- flex:1
+ .el-select {
+ flex: 1;
}
}
}
diff --git a/src/views/processManagement/components/processMainte/processPlanning.vue b/src/views/processManagement/components/processMainte/processPlanning.vue
index 789ba1b..f3f03b5 100644
--- a/src/views/processManagement/components/processMainte/processPlanning.vue
+++ b/src/views/processManagement/components/processMainte/processPlanning.vue
@@ -631,12 +631,12 @@ export default {
},
methods: {
// 获取检验项目名字
- projectChange() {
+ projectChange(row,index) {
let selectName = this.projectOptions.find(item => item.id == row.projecCode);
this.form2.tableData2[index].projectName = selectName.name;
},
// 获取检验标准名字
- standardChange() {
+ standardChange(row,index) {
let selectName = this.standardList.find(item => item.id == row.projectStandard);
this.form2.tableData2[index].projectStandardName = selectName.name;
},