@@ -94,6 +93,8 @@ export default {
page_size: 20,
type: 10,
},
+ ftestWork:'',
+ materialCate:'',
selection: [],
};
},
@@ -136,16 +137,8 @@ export default {
});
},
table_check(row) {
- debugger;
- console.log(row);
let that = this;
- let type = "";
- if (row.material_name.indexOf("棒") > -1) {
- type = "bang";
- } else {
- type = "guan";
- }
- that.product_type = type;
+ that.materialCate = row.material_cate;
that.ftestWork = row.id;
that.dialog.check = true;
this.$nextTick(() => {
diff --git a/src/views/qm/productCheck.vue b/src/views/qm/productCheck.vue
index 70ef8bf9..1a79c1f0 100644
--- a/src/views/qm/productCheck.vue
+++ b/src/views/qm/productCheck.vue
@@ -10,28 +10,37 @@
- {{
- workObj.test_date
+ {{
+ workObj.material_name
}}
{{
workObj.batch
}}
- {{
- workObj.material_name
+ {{
+ workObj.test_date
}}
{{
workObj.count
}}
+ {{
+ workObj.count_ok
+ }}
+ {{
+ workObj.count_notok
+ }}
+ {{
+ workObj.count_sampling
+ }}
+ 编辑
-
-
+ {{ftestitems[$index].field_type}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -155,136 +219,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 保存
- 编辑
- 删除
-
-
-
@@ -301,9 +235,16 @@
@closed="dialog.save = false"
>
+