diff --git a/src/views/qm/qctDetail.vue b/src/views/qm/qctDetail.vue
index 2e0700ed..8c63811a 100644
--- a/src/views/qm/qctDetail.vue
+++ b/src/views/qm/qctDetail.vue
@@ -46,27 +46,17 @@
@change="materialrowChange"
>
-
-
+
- {{ tracing_[scope.row.tracing] }}
-
-
-
+
+
+
+
+
+
@@ -133,6 +123,12 @@
+
+
+ {{ scope.row.testitem_type == 20 ? '操作项':'检测项' }}
+ {{ scope.row.type == 20 ? '操作项':'检测项' }}
+
+
{
- if (item.material&&(item.material == that.materialrow.id)) {
+ if (item.id&&(item.material == that.materialrow.id)) {
that.$message.warning("该物料已存在");
}
});
},
defectrowChange(){
let that = this;
- console.log('that.qctdefectlist',that.qctdefectlist);
that.qctdefectlist.forEach((item) => {
- if (item.defect&&(item.defect == that.defectrow.id)) {
+ if (item.id&&(item.defect == that.defectrow.id)) {
that.$message.warning("该缺陷项已存在");
}
});
},
testitemrowChange(){
let that = this;
- console.log('that.qcttestitemlist',that.qcttestitemlist);
that.qcttestitemlist.forEach((item) => {
- if (item.testitem&&item.testitem == that.testitemrow.id) {
+ if (item.id&&item.testitem == that.testitemrow.id) {
that.$message.warning("该检测项已存在");
}
});