diff --git a/src/views/quality/qcProduce/index.vue b/src/views/quality/qcProduce/index.vue
index 8bedf17..b5f40c8 100644
--- a/src/views/quality/qcProduce/index.vue
+++ b/src/views/quality/qcProduce/index.vue
@@ -196,7 +196,7 @@
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
@@ -332,9 +332,19 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -435,8 +445,6 @@ export default {
total: 0,
// 生产过程检验任务表格数据
qcProduceList: [],
- checkTypeList:[],
- defectTypeList: [],
// 弹出层标题
title: "",
// 是否显示弹出层
@@ -622,7 +630,7 @@ export default {
this.form.defects = this.defectTypeList;
this.open = true;
this.title = "添加生产过程检验任务";
-
+
},
/** 修改按钮操作 */
handleUpdate(row) {
@@ -630,6 +638,9 @@ export default {
const recordId = row.recordId || this.ids
getQcProduce(recordId).then(response => {
this.form = response.data;
+ if (this.form.defects == null) {
+ this.form.defects = this.defectTypeList;
+ }
this.open = true;
this.title = "修改生产过程检验任务";