|
|
@@ -502,7 +502,7 @@
|
|
|
// activeName: '2',
|
|
|
|
|
|
packingList: [],
|
|
|
- // 样品清单,处置,批量处置,批量质检,质检的操作
|
|
|
+ // 样品清单,处置,批量处置,批量检测,检测的操作
|
|
|
sampleList: [],
|
|
|
schemeList: [],
|
|
|
inventoryList: [],
|
|
|
@@ -535,7 +535,7 @@
|
|
|
return;
|
|
|
}
|
|
|
console.log(newVal, 'newVal 12');
|
|
|
- // 默认赋值质检结果
|
|
|
+ // 默认赋值检测结果
|
|
|
this.setInspectionResults(newVal);
|
|
|
},
|
|
|
deep: true,
|
|
|
@@ -610,7 +610,7 @@
|
|
|
this.$set(this.form, 'qualityResults', 1);
|
|
|
// this.$set(this.form, 'status', 1);
|
|
|
console.log(list, 'list');
|
|
|
- console.log(this.form.qualityResults, '质检结果');
|
|
|
+ console.log(this.form.qualityResults, '检测结果');
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -708,7 +708,7 @@
|
|
|
this.$set(this.form, 'qualificationRate', '100%');
|
|
|
this.$set(this.form, 'noQualificationRate', '0');
|
|
|
this.$set(this.form, 'qualityResults', 1);
|
|
|
- //样品数量和样品合格数相等 默认合格率100% 不合格率0% 质检结果合格
|
|
|
+ //样品数量和样品合格数相等 默认合格率100% 不合格率0% 检测结果合格
|
|
|
this.$set(this.form, 'qualifiedNumber', this.form.total);
|
|
|
this.$set(this.form, 'noQualifiedNumber', 0);
|
|
|
} else {
|
|
|
@@ -973,7 +973,7 @@
|
|
|
this.calculate(this.sampleList);
|
|
|
this.sampleNumber = this.sampleList.length;
|
|
|
},
|
|
|
- //质检项报工
|
|
|
+ //检测项报工
|
|
|
inspectionProjectReport({ index, list }) {
|
|
|
this.$nextTick(() => {
|
|
|
if (this.form.taskMonadInfo) {
|
|
|
@@ -1009,7 +1009,7 @@
|
|
|
);
|
|
|
});
|
|
|
},
|
|
|
- //质检项报工回调
|
|
|
+ //检测项报工回调
|
|
|
inspectionProjectReportSuccess({ data, tableData }) {
|
|
|
this.schemeList = [
|
|
|
...tableData,
|
|
|
@@ -1221,7 +1221,7 @@
|
|
|
});
|
|
|
|
|
|
// await this.queryQualityInventory()
|
|
|
- // 质检方案
|
|
|
+ // 检测方案
|
|
|
await this.queryQualityTempleContent();
|
|
|
// 样品清单
|
|
|
await this.queryQualitySamplContent();
|
|
|
@@ -1575,7 +1575,7 @@
|
|
|
// ***
|
|
|
|
|
|
if (this.form.qualityIdList.length == 0) {
|
|
|
- this.$message.error('请选择质检人');
|
|
|
+ this.$message.error('请选择检测人');
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
@@ -1726,13 +1726,13 @@
|
|
|
// 报工
|
|
|
handleReporting(index, row) {
|
|
|
if (this.form.qualityIdList.length == 0) {
|
|
|
- this.$message.error('请选择质检人');
|
|
|
+ this.$message.error('请选择检测人');
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (this.form.qualityMode == 2 && !this.form.qualityResults) {
|
|
|
this.$refs.baseInfoRefs.toggleExpand2();
|
|
|
- this.$message.error('请选择质检结果');
|
|
|
+ this.$message.error('请选择检测结果');
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
@@ -1760,7 +1760,7 @@
|
|
|
if (status != '1') {
|
|
|
this.loading = false;
|
|
|
this.$refs.tabsRef.tabsChange('2');
|
|
|
- this.$message.error('请完成以下样品质检!');
|
|
|
+ this.$message.error('请完成以下样品检测!');
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
@@ -1772,11 +1772,11 @@
|
|
|
}
|
|
|
});
|
|
|
if (is) {
|
|
|
- this.$message.error('有未完成质检项质检,请检查!');
|
|
|
+ this.$message.error('有未完成检测项检测,请检查!');
|
|
|
return;
|
|
|
}
|
|
|
if (!this.schemeList.length) {
|
|
|
- this.$message.error('质检方案不能为空,请检查!');
|
|
|
+ this.$message.error('检测方案不能为空,请检查!');
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
@@ -1846,7 +1846,7 @@
|
|
|
this.$set(this.sampleList, index, data);
|
|
|
}
|
|
|
},
|
|
|
- //确认质检
|
|
|
+ //确认检测
|
|
|
handleConfirm(list, index) {
|
|
|
// 检查有效性
|
|
|
// for (const item of list) {
|
|
|
@@ -1869,7 +1869,7 @@
|
|
|
(child) => child.qualityResults === 3
|
|
|
)
|
|
|
) {
|
|
|
- // 如果质检项只有一条而且结果为让步接收那么整个就是让步接收
|
|
|
+ // 如果检测项只有一条而且结果为让步接收那么整个就是让步接收
|
|
|
item.isValid = false;
|
|
|
item.qualityResults = 3;
|
|
|
} else if (
|
|
|
@@ -1917,15 +1917,15 @@
|
|
|
console.log(this.sampleList, 'this.sampleList');
|
|
|
}
|
|
|
this.activeName = '2';
|
|
|
- // *** 选完批量质检调用
|
|
|
+ // *** 选完批量检测调用
|
|
|
// this.countQualityResults();
|
|
|
// this.$refs.baseInfoRefs.quantityCalculation(
|
|
|
// 'noQualifiedNumber',
|
|
|
// 'noSetSampleList'
|
|
|
// );
|
|
|
- console.log('质检没有 2');
|
|
|
+ console.log('检测没有 2');
|
|
|
},
|
|
|
- // 批量质检
|
|
|
+ // 批量检测
|
|
|
batchQuality(index, row, type) {
|
|
|
if (this.sampleList.length == 0) {
|
|
|
this.$message.error('样品清单不能为空');
|