|
|
@@ -236,6 +236,7 @@
|
|
|
<term
|
|
|
:qualityParam="qualityParam"
|
|
|
:isView="isView"
|
|
|
+ :isQualityInspection="false"
|
|
|
ref="qualityParamRef"
|
|
|
></term>
|
|
|
</el-tab-pane>
|
|
|
@@ -797,6 +798,13 @@
|
|
|
ref="userSettingMatterProcessRef"
|
|
|
></userSettingMatterProcess>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="首件两检" name="首件两检">
|
|
|
+ <term
|
|
|
+ :qualityParam="firstArticleDualInspectionParam"
|
|
|
+ :isView="isView"
|
|
|
+ ref="firstArticleDualInspectionParamRef"
|
|
|
+ ></term>
|
|
|
+ </el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</el-card>
|
|
|
<!-- 选择工艺参数 -->
|
|
|
@@ -1239,6 +1247,7 @@
|
|
|
},
|
|
|
|
|
|
qualityParam: [],
|
|
|
+ firstArticleDualInspectionParam:[],
|
|
|
qualityPointParam: [],
|
|
|
|
|
|
fileShow: false,
|
|
|
@@ -1602,7 +1611,10 @@
|
|
|
} else if (this.activeName === '质检项参数') {
|
|
|
this.qualityParam =
|
|
|
this.tableData.taskParam[this.currentIndex].qualityParam || [];
|
|
|
- } else if (this.activeName === '生产节拍') {
|
|
|
+ }else if (this.activeName === '首件两检') {
|
|
|
+ this.firstArticleDualInspectionParam =
|
|
|
+ this.tableData.taskParam[this.currentIndex].firstArticleDualInspectionParam || [];
|
|
|
+ } else if (this.activeName === '生产节拍') {
|
|
|
this.beatParam =
|
|
|
this.tableData.taskParam[this.currentIndex].beatParam ||
|
|
|
this.beatParam;
|
|
|
@@ -1876,6 +1888,10 @@
|
|
|
this.tableData.taskParam[this.currentIndex].qualityParam =
|
|
|
this.$refs.qualityParamRef.getDate() || [];
|
|
|
}
|
|
|
+ if (this.$refs.firstArticleDualInspectionParamRef) {
|
|
|
+ this.tableData.taskParam[this.currentIndex].firstArticleDualInspectionParam =
|
|
|
+ this.$refs.firstArticleDualInspectionParamRef.getDate() || [];
|
|
|
+ }
|
|
|
//工艺文件只传id
|
|
|
let fileParamArr = JSON.parse(
|
|
|
JSON.stringify(this.tableData.taskParam)
|